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

# Firebase project setup

Build powerful apps. Spin up your backend without managing servers. Effortlessly scale to support millions of users with Firebase databases, machine learning infrastructure, hosting and storage

Google reference: <https://firebase.google.com/docs/build>

**Setup Firebase project**

While signed in to the primary Google account that will manage your project, navigate to the Firebase console: <https://console.firebase.google.com/u/0/>

Click on 'Add project'

<figure><img src="https://1369457651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNVYJrd7kSXjRrTkPDUK6%2Fuploads%2FdeSHJOMOXRWrjS3e6NXo%2Fimage.png?alt=media&amp;token=48a5f45d-008a-49b1-8ddc-b42b59cbcb4e" alt=""><figcaption></figcaption></figure>

Enter your project name. This should be the same name that you will use for your application.

<figure><img src="https://1369457651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNVYJrd7kSXjRrTkPDUK6%2Fuploads%2F9fRjMAsawIquIEpliRFr%2Fimage.png?alt=media&amp;token=cf4a1bdf-5eb3-4990-bd7a-e2e60fe20912" alt=""><figcaption></figcaption></figure>

Continue with Google Analytics enabled.

<figure><img src="https://1369457651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNVYJrd7kSXjRrTkPDUK6%2Fuploads%2FkaV0D3iBURM0c7fbMTgT%2Fimage.png?alt=media&amp;token=27f32121-73d0-4f7b-a01b-e3ed7a4b391a" alt=""><figcaption></figcaption></figure>

Select a new Google Analytics account from the dropdown menu

<figure><img src="https://1369457651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNVYJrd7kSXjRrTkPDUK6%2Fuploads%2F2ISIiiHLRR4SamubPa0K%2Fimage.png?alt=media&amp;token=34be4e38-50e4-4927-8e19-a32486a5794a" alt=""><figcaption></figcaption></figure>

Use the default Google Analytics settings, Accept the Google Analytics Terms, and Create project.

<figure><img src="https://1369457651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNVYJrd7kSXjRrTkPDUK6%2Fuploads%2FwIhVavBvsGbUlhlIQOUu%2Fimage.png?alt=media&amp;token=4b0ab530-2c96-4120-b40f-74de698334db" alt=""><figcaption></figcaption></figure>

Google will then setup your new firebase project and redirect you to the project console.

This application requires your account to be setup on the Blaze plan or higher. There is no cost to use the Google services and a billing limit will be implemented to safely prevent unexpected charges.

From the sidebar menu, near the bottom, select 'Upgrade'.

<figure><img src="https://1369457651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNVYJrd7kSXjRrTkPDUK6%2Fuploads%2FxZ6YtADXxAzzv6skGPmy%2Fimage.png?alt=media&amp;token=e408a7fc-298d-4266-817a-680552393afd" alt=""><figcaption></figcaption></figure>

Select the 'Blaze' pay as you go plan.

<figure><img src="https://1369457651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNVYJrd7kSXjRrTkPDUK6%2Fuploads%2FkmEk6kvWgJjZZMOquSiC%2Fimage.png?alt=media&amp;token=40bb3c82-a217-4d98-990e-9024e54dbf20" alt=""><figcaption></figcaption></figure>

Select an existing billing account or 'Create a new billing account' if not already available.

<figure><img src="https://1369457651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNVYJrd7kSXjRrTkPDUK6%2Fuploads%2FpKl2xJvQ48DZtKCwDyF2%2Fimage.png?alt=media&amp;token=17c04e1b-c378-4524-9dbc-0c5041012ad5" alt=""><figcaption></figcaption></figure>

Set a billing budget and 'Continue'.

<figure><img src="https://1369457651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNVYJrd7kSXjRrTkPDUK6%2Fuploads%2FMYzCKqXUxCdgrcBjg6Bo%2Fimage.png?alt=media&amp;token=aac8f5c4-d29d-497e-bdfe-14c5240fa059" alt=""><figcaption></figcaption></figure>

Select 'Purchase' to complete the billing account setup.

<figure><img src="https://1369457651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNVYJrd7kSXjRrTkPDUK6%2Fuploads%2FqmRT4KeMdLIfeDfqqFoT%2Fimage.png?alt=media&amp;token=0862ab09-3533-406f-9c54-9fa5ebdd6a34" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1369457651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNVYJrd7kSXjRrTkPDUK6%2Fuploads%2FPY9hCi7PIzDHQGihgVti%2Fimage.png?alt=media&amp;token=237c2fdd-8ee6-417d-8184-f33ddc516892" alt=""><figcaption></figcaption></figure>

The Blaze plan includes generous quotas that will allow you to develop and scale the application before hitting payment requirements.

Blaze plan details, quotas, and limits: <https://firebase.google.com/docs/projects/billing/firebase-pricing-plans#included-with-blaze>

#### What's included with the Blaze plan? <a href="#included-with-blaze" id="included-with-blaze"></a>

The Blaze plan includes the following access to services:

* Full usage of the no-cost Firebase products and features (like social sign-in methods, FCM, and Crashlytics)
* No-cost usage quotas for paid Firebase products (like Cloud Firestore, Cloud Storage, and Hosting)
* Pay-as-you-go pricing for any additional usage of paid Firebase products
* No-cost usage quota for Cloud Functions for Firebase, then pay-as-you-go pricing
* Access to paid Google Cloud products and features (like Pub/Sub, Cloud Run, or BigQuery streaming for Analytics)

If your project stays within the Blaze plan's no-cost usage quotas for paid products, then you won't see any billing for those products (with the [exception of Cloud Functions](https://firebase.google.com/support/faq#storage-charge)). But if you do happen to exceed the no-cost usage quota, you only pay for the resources that you consume — this is why the Blaze plan is often called the "pay-as-you-go" plan.
