To be registered in the Swedish Population Register you need to be able to show that you have a business in Sweden.
The required documents to bring to a service office (servicekontor) depend on whether you move by yourself or if you move in with your family member.