Bathroom Ceiling Fan Installation
What is the fan current rating make sure it doesn't trip the main circuit, use neon tester to identify the switched live feed for the light. Disconnect the supply at the circuit breaker then use the switched life and the neutral to connect to the fan, earth the unit. May be worth having a run on timer on the fan so that steam is removed after the light has been turned off.