Use a 2-core cable to wire up our regular microswitches
Make sure to set $5=7 to use Normally Open switches with grblHAL on the BlackBox X32
If you need a more EMI proof solution, consider upgrading to OpenBuilds Xtension Limit Switches
Micro Limit Switches
Lever Micro Limit Switches