Firmware Retraction
Firmware retraction gives an advantage compared to Slicer retraction, it can be modified during a print (from Mainsail or KlipperScreen) and therefore the same gcode can be printed with different parameters without the need to be re-sliced.
Cura
Install Klipper Settings Plugin (available here: Klipper Settings Plugin) and enable Enable Firmware Retraction setting like that:

PrusaSclicer / SuperSlicer
You just need to enable Use firmware retraction setting like that:

Next move onto Calibration.