You can submit an online application through the link below.
https://www.migrationsverket.se/English/Private-individuals/Moving-to-someone-in-Sweden.html
More information can be obtained from the Migration Agency's website:
Sweden has diplomatic relations with almost all states in the world, with embassies and consulates in around half of these. Sweden's foreign representation consists of approximately 100 missions abroad and 350 honorary consulates.