Peel the potatoes and boil them in water for 5–6 minutes.
Thinly slice the onion.
Drain the potatoes and grate them using the large holes of a box grater.
Grate the cheese.
Sauté the onion in a pan with 1 tbsp olive oil until soft and lightly golden.
Add the grated potatoes and cook for 2 minutes, stirring to combine. Add the grated cheese and salt to taste. Stir over medium heat for 10–15 minutes, until the cheese melts and the mixture becomes creamy and stretchy.
Flatten the potato and cheese mixture into an even round cake and gently swirl the pan to prevent it from sticking. Cook over medium heat for about 5 minutes, until the bottom is golden and crisp.
Slide it onto a plate, carefully flip it over and return it to the pan. Cook the other side for about 5 minutes, until golden and crisp.
If needed, flip it once more to crisp up the first side. Serve hot.
