Hi ,
You go to main immigration there is a form get it typed after paying Qr.5.Then go to Gate No:2 and take a token from reception and he will guide you for further action.
Documents Required: Photo copy of the passport and Qatar ID of your family members.