You can buy a thermostat to regulate the heat. I personally don’t use one since my cable seems to remain at an okay temperature, but it would definitely help in keeping the temperature consistent and stable, preventing your ants from being cooked.
Would I need to do anything about humidity? I read that it was needed for reptiles.