01 - In a large bowl, mix flour, yeast, salt, and sugar. Add warm water and olive oil. Stir until a shaggy dough forms.
02 - Knead for 6–8 minutes by hand or with a stand mixer until smooth and elastic.
03 - Transfer to a greased bowl, cover, and let rise in a warm spot for 1 hour or until doubled in size.
04 - Grease a 9x13 inch (23x33 cm) baking pan with olive oil. Press the dough into the pan, stretching to fit. Let rest uncovered for 30 minutes.
05 - Preheat oven to 220°C (425°F). Use your fingers to dimple the dough. Drizzle with olive oil.
06 - Evenly sprinkle Gruyère, thyme leaves, and shallots (if using) over the surface. Finish with a sprinkle of flaky salt.
07 - Bake for 22–25 minutes, or until golden brown and crisp on the edges. Let cool slightly before slicing.