Connect magnetic sensor to Arduino

Ok thank you, apparently we missed this link.

And for the piece it will have magnet in it.

But I guess we should be ok now with the link, thanks.