The French resident hosting you will need to obtain this attestation d'accueil from their local Mayor's office, and send the original attestation before you enter France. You should also be prepared to show proof of funds of at least €32.50 per day, for the duration of your stay.