Buy a gazebo kit for the pool. A gazebo kit has the floor and roof sections pre-assembled and includes all of the hardware, such as nuts, bolts and screws that you'll need when building the gazebo. You can purchase a kit at a home improvement store or from an online retailer.
Choose the location for the gazebo. If the pool deck isn't large enough for the gazebo, you'll need to construct a base for the gazebo adjacent to the deck. Your options include setting concrete piers into the ground or pouring a concrete slab.
Place the pre-assembled floor sections upside-down on the ground, then fit them together, and connect them with the provided hardware. Read the manufacturer's instructions for the precise installation method for the kit you purchased.
Flip over the assembled floor, and move it onto the deck or base that you built. Have an assistant help you with this.
Slide the roof support beams into the holes around the edge of the floor, but do not attach them to the floor.
Slide the wall panels in between the roof support beams, and screw them into the beams.
Connect the roof support beams to the floor using the hardware included with the kit.
Install the roof trusses, with one end connecting to the roof support beam and the other end meeting the other roof trusses over the middle of the gazebo. Secure them with the hardware provided with the kit. Have an assistant help you with this.
Lift the roof panels into place on top of the roof trusses with your assistant's help, and screw or bolt them to the trusses.
Install the screens to the side of the gazebo, if they were included with the kit.