Step 6 · Connect Wiring at Switch
From the switch box, pull the electrical cable that runs to the light fixture. Strip about 3/4 inch of insulation from the black, white, and ground wires. Connect the black wire from the cable to one terminal on the switch. Connect the black wire coming from the power source (if applicable, or another cable if it's a multi-way switch) to the other terminal on the switch. Connect the white (neutral) wires together using a wire nut, and connect the ground wires to the ground screw on the switch and to the electrical box.