Ceiling fan with only pull string

Your best case scenario would be if you have 12/3 or 14/3 wire running to your fan. This would mean you had a neutral (typically white), a hot (typically black), a traveler (typically red), and usually a ground as well. Then, of course, you have a hot, neutral, and maybe a ground from the breaker.

Also in the best case scenario, your fan has a neutral, a fan hot, a light hot (could be blue or black), and maybe a ground.

If this perfect world is true for you, then you would split the hot from your breaker to a GE dimmer or switch, and to a GE fan controller. Then, the black wire to the fan goes on the dimmer or switch and connects to the light kit. Finally, the red wire to the fan goes to the fan motor itself. I then unscrewed my chain switches and tucked them into the fan so people didn’t mess with them, and Bob’s your uncle.