Need help wiring a bed leveling sensor..

I bought a sensor and a chip to bring the voltage down to 5v. But I have no idea how to wire it to the smoothie board. Are there any good guides that show this? Thanks for your help

amazon .com/gp/product/B01MRG3VV1/ref=oh_aui_detailpage_o01_s00?ie=UTF8&psc=1

amazon .com/gp/product/B01MRG3VV1/ref=oh_aui_detailpage_o01_s00?ie=UTF8&psc=1

Imported from wikidot

Simply wire the output of the driver, to the endstop input on the smoothieboard, it’s the same as any other sensor described in the documentation ( as long as you bring it down to 5V )