A squeaking part in or on the road bike does not bode well. Especially as it is extremely disruptive to an otherwise quiet ride. Unfortunately, almost any part can cause noise on a road bike. Localising them is one thing. Fixing them is another. However, both can be done quickly once you know what to do. How to check the drivetrain and bottom bracket.
If the cracking occurs when sitting or standing, but not when rolling, then the cause is usually in the drive unit. Unfortunately, this is often the case, as there are many moving parts, but the search is correspondingly difficult. Turn the crank without the chain to check for possible bearing damage. If the bearing runs smoothly, it is best to proceed from the outside inwards.
The first tip is relatively simple, but often effective: mist the area around the front derailleur, cranks and chainrings with spray wax. After some time, check the tightening torques of all screw connections and retighten if necessary. Is it quiet for a while, but the noise comes back? Then it helps to clean the crank mount, chainring bolts and the contact surfaces of the chainrings and apply a thin layer of grease.
If it continues to crack, unscrew the pedals, clean and grease the threads. The pedal bearings are also a possibility: If possible, try other pedals first before dismantling the bottom bracket. Creaking cleats can be stabilised with a little silicone spray.
If you have ruled out the chainrings, crank mount and pedals, check the sprocket set and axles first. If nothing helps, you will have to remove the bottom bracket. Clean the threads thoroughly and apply a thin layer of grease. Pressed bearings are best replaced immediately and fitted with grease. If the bearing seats are already widened, gluing with Loctite can help.

Editor