In order to become an exchange student at KTH, you have to be enrolled at a partner university, i.e. one with which KTH has an exchange agreement. You must also have completed at least two years of the educational programme at your home university, with grades above average.
More about the application process