Looking for MPCNC builders on the Mks robin nano v 3.1 board

Good time l!
Please feedback, those who have built MPCNC Primo on mks robin nano V 3.1 board.
I built the MPCNC and it has already started to move on display commands
I have a problem with connecting the X_MAX and Y_MAX sensors as I don’t know where to connect them on the board and how to set it up in the configuration file. Also, my HOME X and HOME Z menu commands don’t work correctly.
Only HOME Y works correctly. Why?
Tell me, please, where to look and what to do.
Thank you.