To hook up a 3-way switch in a circuit, you need to connect the common terminal of one switch to the power source, the common terminal of the other switch to the light fixture, and the travelers of both switches together. This allows you to control the light from two different locations.