Connect arduino esplora to microstep driver

Hi there,

This is my first time using arduino, i got an arduino esplora and im trying to run a stepper motor with a
microstep driver ST-M5045. i found some information on wiring the motor to the driver but i cant
figure out how to wire the driver to the arduino esplora. can anyone help me.

Thanks.