There must be a solid surface under the pergola so that the pergola can be screwed to the surface. By solid surface is a terrace made of wood or concrete.