Step 1: apply for a residence permit
Step 2: register your address and get a CPR number
Step 3: request NemID
Step 4: apply for a tax card