For a residence permit, you will need-
An acceptance letter from your university
Financial proof that you can support yourself
Language proficiency in English, German, Danish, Swedish, or Norwegian
Passport
Photographs
It will take at least 30 days to process your application. So, it’s best to apply for your residence permit 3 months in advance.