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