You simply set up the spindle relays from Ports and Pins, Spindle Setup page. You then would go to outputs page and assign the port and pin number you are using to the output you assigned in the relays.
When you did a M3 the relay should switch on, a M5 it should switch off.
Hood