Wiring this type of electrical connection looks like this.
Electrical normal ceiling fan connection.
To connect your ceiling fan to existing wires make sure that you have the right fan hardware and cut off the electricity leading to those wires.
The ceiling mounted electrical junction box must be approved for the weight of the ceiling fan.
Ceiling fans should never be mounted to regular plastic or fiberglass light fixture boxes.
From the switches 3 wire cable runs to the ceiling outlet box.
Mount your bracket onto the ceiling and hang the fan on the bracket.
The source is at the switches and the input of each is spliced to the black source wire with a wire nut.
This wiring diagram illustrates the connections for a ceiling fan and light with two switches a speed controller for the fan and a dimmer for the lights.
Once you do that it s just a matter of connecting the right wires together and properly screwing your fan into the ceiling.
Connect the green wire to your household ground wire copper bare wire.
The ground and neutral wires simply get tied together as you d expect.
Taking your ground wire and wire nutting those together.
Connect the white wires neutral wires from your fan and ceiling together.
The following will assist you with your electrical question.
And you re going to hook this up to the ceiling fan by taking your neutral and wire nutting them together.
Ul approved ceiling fan boxes are required by code this is for your safety and protection.
Lastly connect the blue wires together or the blue wire to the black wire for lights.