i need help with mach4 and connecting spindle at present time.

I have currently completed installed mach4 and MB3 profile,
board communicates with MB3 ESS,
I can send spindle start command in mach 4 and get a reading 0-10v reading on AG & AO PINS.but that's as far as i've gotten.

Im having a hard time figuring out what wire hooks up where. in the software to my equipment.