it should definitely be outside the enclosure, hence the "under tank heater". If there was a short or power surge, there would be no protection for your snake. That said, check out the DIY forum because I know that there have been several others that have used melamine before and I read at least one thread that broke down the hole process. Sorry that I don't have the link handy but I'm sure you could find it easily.