8 steppers need 16 outputs. No problem for a Mega.
About connections... Use the "Search Forum" function up to the right in this window. More then plenty of projects like Yours have been done.
In a previous 48-motor project I replaced the ULN2003 drivers with TPIC6B595 chips.
Then you only need three pins to rule them all, and you can use a Nano v3.
Wise to get the experience with just one motor, before upscaling to eight.
Leo..
Thanks for your reply to me question re multi stepper motor controls.
Thats very helpful.
When I get more time Im going to study your coding and diagram.