How to Wire an Electrical Circuit Breaker Panel

This overview describes how a professional electrician connects a residential electrical circuit breaker panel to the main service wires coming into the home, and to the individual branch circuits in your home. In almost every situation, this will be done by a licensed professional rather than a DIYer.
Our example assumes that the electrical panel is installed on the wall of a utility area near the point where the main feeder wires come into the home and that all branch circuit cables and conduit runs are already installed. In a new home construction or a major rewiring project, the last step will be connecting all the wires to the circuit breaker box, as described here. Learn here the steps professionals go through to wire a breaker box.
Safety Considerations
This is not a DIY project for most homeowners. Connecting a breaker panel is dangerous work if you are not an expert , and in most communities, the building codes may not even allow you to do this kind of major electrical work yourself. It requires coordination with the electrical utility company.
Source: https://www.thespruce.com/how-to-wire-an-electrical-panel-1152762