There are three products available for this job.
FS365-good for spraying the bike before and after a salty ride.
Wurth corrosion inhibitor-my favourite as you spray it on and it leaves a wax coat does not matter if you catch the brakes.
ACF50--got three cans and rarely use it, it attracts crud and makes a pigs mess-chain lube might do the same job. Good on bolts and insde mudguards. Best painted on.