First of all, you need to register at an initial reception centre (Erstaufnahmeeinrichtung) or foreigners authority (Ausländerbehörde). You will then receive a document that will enable you to apply for benefits at your local job centre or social benefits office. To receive assistance, you will also need to apply for a residence permit later when you have a permanent place to stay.