To connect the transistor as a switch in a circuit, we connect the output of the device that will switch on the transistor to the base of the transistor. The emitter will connect to ground of the circuit. And the collector will connect to the load that the transistor will turn on and the supply voltage of the circuit.