To apply for a residence permit, you need to go to the police station in your temporary residence area. When applying, you need to bring your ID card, work certificate or rental agreement and two one-inch bareheaded photos, and apply directly to the police station.