1. Have a camera
2. Have a lens
3. Set your camera to bulb mode
4. Hold your shutter release down for the time that the firework leaves the ground, until it is done bursting in the air (or as long as you’d like).
5. Bask in your photography awesomeness.