Making an appointment at SEF
The SEF is an organization that deals with the legalization of migrants in Portugal. To apply there, you have to make an appointment in advance. And here you can have options.
If you apply NOT in Portugal, you have to go to the Portuguese consulate in the country where you live (it is assumed that you are either a citizen of that country or have a residence permit). Most likely, you will need to make an appointment there. You need to bring them the documents, they will review them and give you a type D visa. This visa entitles you to enter Portugal for further legalization. The visa is valid for 180 days. Along with this visa, you will have a appointment at SEF. However, you should keep in mind that the list of required documents includes a rental agreement for a year and an account in a Portuguese bank. It turns out that to apply to the consulate, you need to go to Portugal, open an account there, find a place to live, come back and go to the consulate. Therefore, we do not recommend applying to the consulate with a declaration. It is better to apply for a tourist Schengen visa and go to Portugal to apply for a residence permit.
If applying in Portugal. For example, you entered the country on a Schengen visa. In that case, you can also get a startup residence permit with IAPMEI approval. Only you need to make an appointment with the SEF on your own. You have to call 217 115 000 to do it. It's not easy to make an appointment with SEF, but for startups the terms of the call and appointment are easier than the other legalization methods. And don't forget to record the legality of your entry into the country. If you are coming to Portugal by plane, it is enough to keep the tickets. If you enter by car through another Schengen country, you can check into a hotel in the first 3 days after arrival and ask the reception to register you with the SEF and ask for a printout of the registration.