Inside the enclosure, hanging about half-way down somewhere. Here's where I stuck mine, I used a zip-tie to hold it against the side of the tub better. If you're using a tank (can't remember) I think you can get suction cups and it'll stay in place that way against the glass.
https://ball-pythons.net/forums/cach...thouxt_500.jpg