Simple,
You need
1. 1 attic thermostat, they keep it near the attic vents and roofing supplies.
2. 1 5 Amp or better rated fan speed controller. In the ceiling fan section
3. 1 2 recepticle gang box
4. 1 Male plug
5. 1 switch/outlet cover combo
6. 1 duplex outlet rated at least 15 amps
7. A few...