The thermostat has 2 plugs that you plug in the light and heat pad in. And then the thermostat has a plug that you run to an outlet. Just make sure you put the probe from the thermometer next to the probe for the thermostat that way you get an accurate reading/setting.