# Firestore database

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

<figure><img src="/files/5sWKbVKaLB115cEbgJeC" alt=""><figcaption></figcaption></figure>

Select 'Create database'

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

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

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

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

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

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


---

# 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://flignats.gitbook.io/full-stack-typescript/environment-setup/firestore-database.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.
