Applying a precursor material to the bonding area