It depends on the type of Gnocchi you are using. If you are using fresh Gnocchi, you can skip the boiling part and fry it directly in the pan. Note cooking time will take longer than what's noted in this recipe. If you are using vacuum sealed packaged Gnocchi which is what I used in this recipe, then it's best to boil it for a few minutes before pan frying it.