How do I wire a ceiling fan with a light kit?
The manual for your fan should outline instructions for this type of wiring setup, but generally this will hold true:

Black in box goes to blue &amp; black in fan.

White in box goes to white in fan.

Connect all grounds together.

This will cause your switch on the wall to control both the fan motor and fan lights. You'll have to use your pull chains to control the two independently.