> 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/firestore-database.md).

# Firestore database

Firestore database provides realtime updates, powerful queries, and automatic scaling

Select 'Firestore Database' from the 'Build' menu in the sidebar.

<figure><img src="https://1369457651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNVYJrd7kSXjRrTkPDUK6%2Fuploads%2FxM108GzjvzbRVVFh9Xrv%2Fimage.png?alt=media&amp;token=d59ae603-1f1c-49e5-bb58-255bffcf2439" alt=""><figcaption></figcaption></figure>

Select 'Create database'

<figure><img src="https://1369457651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNVYJrd7kSXjRrTkPDUK6%2Fuploads%2FTSfHmwwgRnM9PkLXZbKV%2Fimage.png?alt=media&amp;token=b3ec01f2-0018-4aae-b713-76c2a63fa0d4" alt=""><figcaption></figcaption></figure>

Select the 'Start in **test mode**' option and click 'Next'

<figure><img src="https://1369457651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNVYJrd7kSXjRrTkPDUK6%2Fuploads%2FQUilqjdksQG5GiDmqXtl%2Fimage.png?alt=media&amp;token=4539a084-e29a-48a4-9f98-162bc5f5a700" alt=""><figcaption></figcaption></figure>

Select the region closest to you or the majority of your users and click 'Enable'.

<figure><img src="https://1369457651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNVYJrd7kSXjRrTkPDUK6%2Fuploads%2FrcezwpuWcI03a7vlrKi0%2Fimage.png?alt=media&amp;token=d1118f01-1a95-4d35-b478-f3a4d0f90357" alt=""><figcaption></figcaption></figure>

You will then be redirected to your Firestore database and it will be ready for use.
