> For the complete documentation index, see [llms.txt](https://material-wallpaper.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://material-wallpaper.gitbook.io/docs/android-studio/firebase-configuration.md).

# Generate google-services.json

Before you do step change the package name, you must do this step for firebase project configuration

Please note : this step is mandatory to generate **google-services.json** file

<div align="left"><img src="https://3798566067-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LfFVQY3CX74uDtAM518%2F-LjQPH2xZvMO_2t9msI2%2F-LjQQCSmxq6ZFykliyX4%2Ffcm1.png?alt=media&amp;token=a0538515-b00c-4bc6-a7f9-bb128b78d601" alt=""></div>

Visit [Firebase Console](https://console.firebase.google.com/)​

Please register or log in first and then select create new project. In the dialog window enter the name of the project that will be created and the contents of the state and then click the create project to continue.

<div align="left"><img src="https://3798566067-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LfFVQY3CX74uDtAM518%2F-LjQPH2xZvMO_2t9msI2%2F-LjQQF0PirHlNvHadoVM%2Ffcm2.png?alt=media&amp;token=af167644-d125-47f1-abd5-3aa49c1761cf" alt=""></div>

After successfully creating a project on Firebase then the page will be redirected to the dashboard project that has been made.

<div align="left"><img src="https://3798566067-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LfFVQY3CX74uDtAM518%2F-LjQPH2xZvMO_2t9msI2%2F-LjQQHC_6PhQx3gzvvbZ%2Ffcm3.png?alt=media&amp;token=f34f7cb7-28e1-4b46-9ff9-6f9f3c5b3c97" alt=""></div>

Then on the dashboard Firebase select Add Firebase to your Android app. In the next dialog window enter the name of the Android application package and SHA1 of fingerprints Certificate (optional).

<div align="left"><img src="https://3798566067-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LfFVQY3CX74uDtAM518%2F-LjQPH2xZvMO_2t9msI2%2F-LjQQJ2nOOV5vNcl1cMV%2Ffcm4.jpg?alt=media&amp;token=e1eac997-8dfb-473a-aa30-329a0f93199f" alt=""></div>

Next will download the configuration file json **google-services.json** automatically, which will be added in the directory app in the Android project.

<div align="left"><img src="https://3798566067-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LfFVQY3CX74uDtAM518%2F-LjQPH2xZvMO_2t9msI2%2F-LjQQKgRUaGclHzLpqmF%2Ffcm5.png?alt=media&amp;token=375cea50-c184-4669-af88-c00278832726" alt=""></div>

<div align="left"><img src="https://3798566067-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LfFVQY3CX74uDtAM518%2F-MP6Ex2S063micBV35mO%2F-MP6GsX-moHs6LrIgIcq%2Fimage.png?alt=media&amp;token=fcdfcac6-42db-4775-8b5d-0e6b7753c5d6" alt=""></div>
