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

# Firebase Setup

## Setting up your Firebase account

First, you’ll need to have a Google account. If you don’t have one, or want to create one specifically for Firebase you can go to the Google landing page and make an account for free.

1\. Once you’ve made an account, go to [Firebase Console](https://console.firebase.google.com/u/0/) and click the **`Create a project`**&#x20;

<figure><img src="https://3319500722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McTnNLRtNdragDlAvxs%2Fuploads%2FS2ap67kfGBONfFdzgz4P%2FScreenshot%202024-11-26%20at%2009.40.10.png?alt=media&amp;token=0cd1c7ae-ad65-4129-b3a5-754890ebdc76" alt=""><figcaption></figcaption></figure>

2\. Continue to click **`Create a project`**.

![](https://3319500722-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-McTnNLRtNdragDlAvxs%2F-MfK80p22_PNmkXH09Wp%2F-MfKCfpaElYgfXv-Mcnb%2F1__yR73GqXEV-CMUR85F9L_g.png?alt=media\&token=f7a4d5e0-7e9b-4f19-8f68-9cb311df17f1)

3\. From here you’ll be prompted for setting up a project.

<figure><img src="https://3319500722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McTnNLRtNdragDlAvxs%2Fuploads%2FanBmJAD8fPpfrTDJw0kN%2FScreenshot%202024-11-26%20at%2009.42.27.png?alt=media&amp;token=32e5e139-526e-4d5f-9a2a-6e2082686ad3" alt=""><figcaption></figcaption></figure>

4\. Accept the terms, select the Google account you’d like to associate it with, allow the analytics, and then click **`Create project`**.

![](https://3319500722-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-McTnNLRtNdragDlAvxs%2F-MfK80p22_PNmkXH09Wp%2F-MfKCvt3JVmmm1QToJkT%2F1_2WjoVeVVrmat3JE6-rgM_Q.png?alt=media\&token=6b6b97fd-1525-4a9b-afdf-7d7a0a81e8aa)

Firebase will then create the project and direct you to the project’s overview.

## Android Firebase application

1\. Now to add **`android`**  app click on **`android symbol`**

<figure><img src="https://3319500722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McTnNLRtNdragDlAvxs%2Fuploads%2Fo14r97KLGJzUav10LiLm%2F1.png?alt=media&amp;token=4e865172-fe2a-4ff1-a907-69a762755ad7" alt=""><figcaption></figcaption></figure>

2\. Enter android **`package name`**. This should be matched your flutter app package name. and click on **`Register app`**.

<figure><img src="https://3319500722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McTnNLRtNdragDlAvxs%2Fuploads%2FN4sD9MUhEx0ftuLbloPU%2F5.png?alt=media&amp;token=d27f3f08-89b4-468c-858d-8aebacfa904c" alt=""><figcaption></figcaption></figure>

3\. Now click on **`Download google-service.json`** button.&#x20;

<figure><img src="https://3319500722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McTnNLRtNdragDlAvxs%2Fuploads%2FBWUYC6uUXVHQaHXOuqp2%2FScreenshot%202024-11-26%20at%2009.57.41.png?alt=media&amp;token=b84de914-1abd-44aa-bbc3-33972e36c90c" alt=""><figcaption></figcaption></figure>

4\. This file stored in Downloads folder of your system. and then click on next button.

![](https://3319500722-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-McTnNLRtNdragDlAvxs%2F-MfK80p22_PNmkXH09Wp%2F-MfKG1YPmrN3wHXxJdTX%2F1_snDQoZbjh16UpxNqTDQaHg.png?alt=media\&token=63dad736-a8a4-4e30-8ea5-9c67b2705a86)

5\. Copy this file under **`FlyWeb_Flutter->android->app`** folder

## iOS Firebase application

1\. Now to add **`iOS`**  app click on **`iOS symbol`**

<figure><img src="https://3319500722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McTnNLRtNdragDlAvxs%2Fuploads%2Fep4nzFSyGY7Lu39ppofS%2F6.png?alt=media&amp;token=e402f06d-bf97-4f70-8f76-7d5bcec8fa8e" alt=""><figcaption></figcaption></figure>

2\. Enter iOS **`package name`**. This should be matched your flutter app package name in iOS project. and click on **`Register app`**.

<figure><img src="https://3319500722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McTnNLRtNdragDlAvxs%2Fuploads%2FqZfw80WONe6FrwQ4lC0P%2F7.png?alt=media&amp;token=361753b0-5131-4ae1-8a05-9228be17e40a" alt=""><figcaption></figcaption></figure>

3\. Now click on **`Download google-service.json`** button.&#x20;

<figure><img src="https://3319500722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McTnNLRtNdragDlAvxs%2Fuploads%2FL610hkZXDz0KhobhWbLx%2FScreenshot%202024-11-26%20at%2010.01.20.png?alt=media&amp;token=12b41b9c-8972-4061-bb3a-d9aa46663280" alt=""><figcaption></figcaption></figure>

4\. Copy this file under iOS project **`Runner->Runner`** folder

![](https://3319500722-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-McTnNLRtNdragDlAvxs%2F-MfK80p22_PNmkXH09Wp%2F-MfKITCXc2Jeit7vWVyj%2F15.png?alt=media\&token=97b30cdc-cb83-48e5-be3c-7dd5ca082c44)

5\. Clean iOS project&#x20;

6\. Done!
