Note that a stepper is not a good choice for driving the index to mimic a spindle.
The gear ratio of the index is usually high and stepper torque drops off as the motor rpm increases.
Also if rpm indication is wanted, you will find that it is not linear over the range.
Just something to be aware of. Depends on range of desired index rpm.
FWIW,
RICH