There is an automated procedure available. In the Marlin configuration files, you enable PROBE_OFFSET_WIZARD, LCD_BED_TRAMMING; also measure the offset from the nozzle to the probe with a caliper and put numbers here
#define NOZZLE_TO_PROBE_OFFSET { -46, -8, -2.9 }
(the meaning of the numbers is explained in the config file); then compile and upload the new firmware.
Then, from the menu, preheat the bed and nozzle; then activate the tramming wizard, and make sure that all four corners of the bed are ~ 0.1 mm from the nozzle.
Then, activate the probe wizard. The probe wizard will move the probe at the center of the bed, probe it, then move by the X and Y offset, so that the nozzle is at the center of the bed: then you can lower the nozzle and check the correct Z-offset (I recommend again leaving ~ 0.1 mm between the nozzle and the bed). (Move by small offsets, since Z can go negative, and the nozzle would crash on the bed if you move too low!) When the height is correct, hit Done and the Z-offset will be set to the correct value.
Repeat a few times until you are satisfied, then store the settings.
Just in case, copy the refined numbers in NOZZLE_TO_PROBE_OFFSET so they will be preset in the future.
The above procedure will disable automatic bed levelling; if you have a valid mesh, you can reenable ABL at the end; otherwise, build the mesh.
PS: the tramming wizard does not preheat the bed; the probe wizard does, and will wait until it is hot, but not tell you... so do not panic if it stops for a long time.
Note: ASSISTED_TRAMMING and ASSISTED_TRAMMING_WIZARD are to use the probe to do bed tramming, but this is not a good idea since we want to calibrate the probe against the nozzle; do not activate it