Season the raw grated potato and shallot with salt.
Heat half of the ghee or clarified butter in a frying pan and when it is hot and shimmering, add a small, loose handful of grated potato to the pan.
Press down on the potato rosti with a spatula to flatten them, and once golden brown and crispy on one side, flip them over.
Once they are golden crispy on both sides, transfer immediately to a cupcake tray and press them gently into the mould using the end of a rolling pin to shape them into potato birds' nests. You shouldn't need to grease the cupcake tray, but you can.
Repeat each step, using more of the ghee as needed to ensure enough fat is in the frying pan.