You can register your right of residence on grounds of work or studies in Sweden on our web site, see under Online registration in the left menu. Accompanying family members can in most cases register their right of residence on the same e-form as you.
If you wish to register right of residence on other grounds than work or studies in Sweden or if you do not which to apply via our web site, you can find the forms you need on the page Forms in the menu on the left.