Remove the saucepan from the heat, wait about a minute, then add the egg. Keep mixing until the egg is completely integrated into the dough (you can use a mixer for this step). In the beginning, the dough will want to separate after adding the egg, but keep mixing until the ingredients are well combined and you have a smooth and soft dough that separates from the bottom of the pot. This step will take a few minutes.