add accessories to the machine

Hello, I bought a neje 4 and I wanted to attach 1 limit switch to the y axis and another to the x axis, can anyone help me? And where can I make the connection, thank you very much in advance

The new machine motherboard does not have a limit switch. You need to replace the motherboard and the wiring harness at the same time.