Initialize and Configure Firestore Instance

Learn how to create and initialize a Cloud Firestore instance.

Creating a Firestore instance

We have already created a Firestore Instance in the chapter: Initialize the Firebase CLI.

Important: Firebase offers two database modes.

  • Datastore
  • Native

When we created the Firebase project initially, Datastore was selected automatically when we chose a GCP Resource Location. But after creating a Firestore instance, it automatically shifted to Native mode. You can see it by going to the GCP console and then selecting “Firestore” under the “Databases” section from the navigation. Make sure your project is selected in the console.

Get hands-on with 1200+ tech skills courses.