# Create a Firebase Project

{% embed url="<https://youtu.be/Sdqik2quOfg?si=dll6j3D5zTM6jWj9>" %}

For the following steps, you must have an account configured on Google Cloud or Google Firebase Console.

## <mark style="color:blue;">Add a new project</mark>

### 1- Access <https://console.firebase.google.com/>.

### 2- Click on "Add Project".

<figure><img src="/files/61MWOn0NNzFkl8fFd4Ds" alt=""><figcaption><p>Name your app (for reference only)</p></figcaption></figure>

### 3- Choose a name to your project (for your reference only), uncheck the Google Analytics optional feature (unless you want to use it) and wait for the process to finish.

<figure><img src="/files/mAeQ13gK7qCqCjDBE3qi" alt=""><figcaption></figcaption></figure>

## <mark style="color:blue;">Initialize services</mark>

### 4- Initialize the Authentication service, by click on the the menu "Build" >> "Authentication".

<figure><img src="/files/5ti3cEcmLqmIG0vqX7Uk" alt=""><figcaption><p>Click on "Authentication"</p></figcaption></figure>

<figure><img src="/files/zNkIvLhii4zHedqR4NFS" alt=""><figcaption><p>Click on Get Started</p></figcaption></figure>

On the "Sign-in method", you can choose and configure the "Email/Password" login, "Google" or "Facebook".

<figure><img src="/files/RMTdaePZkyM2sEtStD3O" alt=""><figcaption></figcaption></figure>

#### 4.1- Allow your app domain on the Authentication settings

On the Settings tab of the Authentication service, remember to always add the domains in which you'll use your authentication services.

<figure><img src="/files/G50TJteVHdM01w20BJ8N" alt=""><figcaption></figcaption></figure>

### 5- Initialize the Firestore Database service, clicking on "Build" >> "Firestore Database" and them on the "Create database" button.

When prompted to the region of your database, you can choose between "multi-region" options  or localized servers. The latter are faster if you choose one closer to your customers, and a bit cheaper, but the "multi-region" ones have a slightly higher guaranteed up-time (99.999% againts 99.99% - both are good, though).

It you're not sure which to choose, you can go with the "nam5" default option.

<figure><img src="/files/R0Z3JJtCfNMwiJ32naL1" alt=""><figcaption><p>Click on "Create database"</p></figcaption></figure>

<figure><img src="/files/32RcXyZYmkcEJky7LT8O" alt=""><figcaption><p>Choose a region for the database server.</p></figcaption></figure>

### 6- Last but now least, initialize the Storage service, by clicking on "Build" >> "Storage".

<figure><img src="/files/sQRo0DnuL3IcbDmiSNwx" alt=""><figcaption><p>Click on "Get started"</p></figcaption></figure>

There you go, now go to the next section to see how to configure your newly created project for it to be ready for use on Bubble and how to get the credentials you'll need to att to the plugin settings.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://estare.gitbook.io/firebase-auth-firestore-and-storage-plugin/setup/create-a-firebase-project.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
