The 4 light controller is plugged into the dryer jack.
The 8 light controller will be wired to it's own 50 amp breaker.
If you're asking where does the main power go on the boxes, that is wired directly to terminals inside the box. You can see the main power wire going into the 4 light controller in the pic, it's the big fat wire coming out the bottom, next to the trigger wire.
8k on 50amps? Is that on 120 or 240?