Is the box that the light came down from rated for ceiling fan installation? This is as important as the wiring. The black wire will go to the black and the blue, the white to the white and the green from the fan will go to the bare copper ground wire in the box. The fan and light will both be switched at the same time so you will have to use the pullchains on the fan for control. Also be sure that the switch is NOT a dimmer switch.