Servo control from software

How do I hook up inputs( what pins) to the motor shield I have? The motor shield has 6 inputs ( enable A,B, A,a B,b)for control and I have two outputs(step/dir) what am I missing?