The pergola is attached to the joists of the roof, then flashing was used to protect from water then shingled. It is an open air pergola and is flat.
One Specialty Landscape Design, Pools & Hardscape