Pergolas can be attached to decks, patios, or concrete slabs. It’s best to use a solid and level foundation