Where can I apply for a residence permit?
The agency responsible for issuing your residence permit is the local immigration authority (Ausländerbehörde) where you live.
Family members still living abroad must apply for a residence permit as a visa through German representation abroad (embassy or consulate general).