The power goes into the relay on one side, spindle hooks up to relay.  Then on the switch side,  a wire from the BOB (what ever pin number) goes to the relay and a wire goes back to the ground on the BOB.  Computer sends 5 volts to the Pin, triggers relay, spindle gets power.
Jeff