To enable Firestore in our Firebase Android app, go to the Firebase console, select our app, and choose “Firestore Database.”
Firestore Database
Click “Create database.” Now we’ll be prompted by a dialog box asking us to choose between “production” and “test” mode.
Choose “test mode” for now since it will disable security rules for the project. We’ll study the security rules of Firebase later in this course.
Disabling security rules
Click “Next” and set up the Firestore location. Choose the location nearest to you and click “enable” to finish initializing our database.