Setting up Firestore
If you are new to Google Cloud, first of all, go to Google Cloud Console (https://console.cloud.google.com/), select your organization, and create a new Google Cloud project with billing enabled.
You can follow the instructions here:
https://cloud.google.com/resource-manager/docs/creating-managing-projects
All the following steps can be done with Command Shell commands or in Google Cloud Console:
- In the Google Cloud Console, search for
Firestore
in the search bar. - From the Firestore Viewer page, in the Select a cloud Firestore mode screen, select Firestore in Native mode: https://console.cloud.google.com/firestore/.
- Select a location for your Firestore data. Remember that this choice is permanent.
- Click on Create database.
- When you create the Firestore project, the Firestore API is enabled.
- Once you set this up, you should be able to see the database, collection, and document view where you can add the collection, document,...