How to wire these end stops

image I’m trying to wire these end stops and i’m unsure which pins to use I understand to use Sand - but not sure what is right for these thanks

Bypass the connector and solder directly to the switch. That style switch is waaaay over complicated for an endstop.

Do you have a multimeter? Just use the two wires that read closed (GND =ground and NC = normally closed) so a broken wire would show up as an engaged endstop.