I've not taken one apart but I'd say it should attach to the metal handle part as I have taken a few soldering irons apart (which are very similar things) and the earth wire goes to the metal around the heater to protect the user in case there's a short