Here are the relevant Duet wiki pages which are more up to date:
Wiring a z-probe: https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe
Using G32: https://duet3d.dozuki.com/Wiki/Setting_up_automatic_probing_of_the_print_bed
Using Mesh bed compensation: https://duet3d.dozuki.com/Wiki/Using_mesh_bed_compensation
...and where all the duet wiki pages live: https://duet3d.dozuki.com/