Assuming it is a steel box. Ksv utube channel diy science ledlight 9vbattery scienceexpirements.

How To Connect A 2 Way Switch With Circuit Diagram
How to connect switch to light. To connect a simple switch you will need a wire stripper a wire cutter a screwdriver a switch a light bulb and a bulb socket. Before any electrical intervention please turn off the power for the network concerned. There is the existing 3 wire cable to one switch. There are two basic wiring configurations for installation of a single pole light switch. Steps for wiring a single pole light switch. Whichever light switch project you need done if you are unsure or uncomfortable about handling a wiring project the better course is to find an electrician near you that will ensure that the job is done correctly.
If the light switch has a ground screw on it usually green and at the bottom of the switch connect it now. Second twist the two white wires together and screw on a wire nut. The switch will make it possible to turn on the power for a lightbulb at a distance. Three 2 wire lines from a light which may be the power source. The new line is attached to a three way switch in the original box where there is a red and white wire to the switch and black to the white from the 2 wire line from the appropriate light source. First of all we should connect the ground wires to the box.