Is it ok to use a desensitizing agent before applying a 4th- or 5th-generation bonding agent?

Yes, it is ok to apply a desensitizer such as Hema-Seal and Cide (Advantage Dental) after etching the dentin with phosphoric acid, followed by the bonding agent; however, some desensitizers may reduce the bond strength to tooth structure.