The exact details on how to find your probe offset using G30 S-1 can be found here: https://docs.duet3d.com/en/User_manual/Connecting_hardware/Z_probe_testing
Then you can use G30 to accurately home the Z axis to find the Z0 point using the probe.
G29 uses a series of G30 probes are various points to make the map.
If you're using an endstop at the high end of Z travel for homing, use that first for course homing, and then use a G30 at the center of the bed to establish the true Z0. If you use only the endstop at the high end you're likely to have an offset and inaccurate z position unless you measure the distance from the bed at z0 to the endstop at zmax very accurately.