40 gallon would be too big if you're looking at getting a hatchling. You can clutter the space real good though. Heating pad goes under the tank on the outside and is not meant to heat ambient but provide a hot spot on the enclosure floor. You can use the heat lamp to warm the air but it might dry out the enclosure and cause the humidity to be too low. Whichever route you go, make sure you have thermostats on the UTH (under tank heat/pad) and a dimmer on the heat lamp.