> For the complete documentation index, see [llms.txt](https://clone-app-solutions.gitbook.io/cabme/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://clone-app-solutions.gitbook.io/cabme/configulation/firebase.md).

# Firebase

Firebase service is used in the app for sending & receiving notifications from the backend/chat with user/driver.

## Create a Firebase project

You need to create a firebase project in order to connect the flutter app to firebase.

* Go to <https://firebase.google.com/>.
* Click on **Get started.**

{% embed url="<https://bakoambrose.gitbook.io/~/files/v0/b/gitbook-28427.appspot.com/o/assets%2F-MVNlKuUeCM_uD7sLQnM%2F-MVSv1vAiegJCL1zWn8d%2F-MVg4ipcmVkPOgkbLSLu%2Fimage.png?alt=media&token=c92dc9ce-7467-4d8b-84f5-e031532bc9bb>" %}

* Create a new project by tapping on the **Add project** box.

{% embed url="<https://bakoambrose.gitbook.io/~/files/v0/b/gitbook-28427.appspot.com/o/assets%2F-MVNlKuUeCM_uD7sLQnM%2F-MVSv1vAiegJCL1zWn8d%2F-MVg4x8QvSHstXJItcRU%2Fimage.png?alt=media&token=4eb56210-6669-4476-95bd-64af42a60575>" %}

* Enter the **Project name** & select **Analytics location.**\
  **Analytics location** represents the country/region of your organization and sets the currency for revenue reporting.

{% embed url="<https://bakoambrose.gitbook.io/~/files/v0/b/gitbook-28427.appspot.com/o/assets%2F-MVNlKuUeCM_uD7sLQnM%2F-MVSv1vAiegJCL1zWn8d%2F-MVg54-FzVn1Bqs1bveZ%2Fimage.png?alt=media&token=b29774fb-8dbf-49eb-bad4-047aa30abdb6>" %}

* Tap on **Create project**. Following this, Firebase will set up a new project for you. This will take just a minute.

{% embed url="<https://bakoambrose.gitbook.io/~/files/v0/b/gitbook-28427.appspot.com/o/assets%2F-MVNlKuUeCM_uD7sLQnM%2F-MVSv1vAiegJCL1zWn8d%2F-MVg5g0cCDX34RmJRAHC%2Fimage.png?alt=media&token=d7a4b14d-1108-49f0-8089-7629e8b9be88>" %}

{% embed url="<https://bakoambrose.gitbook.io/~/files/v0/b/gitbook-28427.appspot.com/o/assets%2F-MVNlKuUeCM_uD7sLQnM%2F-MVSv1vAiegJCL1zWn8d%2F-MVg5jd1rs_5tX0B-3Oi%2Fimage.png?alt=media&token=a46df665-9036-428d-ba71-ab97fd54f4eb>" %}

After the project is created successfully, Firebase will show a prompt saying **`Your new project is ready.`** Click on **Continue** to complete the flow.

{% embed url="<https://bakoambrose.gitbook.io/~/files/v0/b/gitbook-28427.appspot.com/o/assets%2F-MVNlKuUeCM_uD7sLQnM%2F-MVg60eiC0JiMvp2O8Cr%2F-MVg69nBkgqsDZQ-leKR%2Fimage.png?alt=media&token=4fae842d-8d5e-4f72-a362-cf17932f0a83>" %}

**NOTE:** Ensure that you use a new copy of **google\_service.json** after every firebase feature related configurations.
