What size wire do I use?
The wire size depends on the breaker. Since you did not provide the size of the heater I would suggest 20 amp breaker with #12 wire. #14 with a 15 amp breaker may be large enough if the heater is a small one under 1000w. You should use a GFCI outlet or breaker.