1. Create a new firebase project

https://firebase.google.com/

Screen Shot 2022-06-21 at 8.47.21 PM.png

2. Upgrade firebase project to blaze plan

Screen Shot 2022-06-21 at 8.52.21 PM.png

3. Create firestore database in your prefered region

Screen Shot 2022-06-21 at 8.53.39 PM.png

3.1 start in production and add the code snippet below to prevent unwanted access

rules_version = '2';
service cloud.firestore {
  match /databases/{database}/documents {
    match /{document=**} {
     allow read, write: if request.auth != null;
    }
  }
}

4. Enable Authentication

Screen Shot 2022-06-21 at 8.57.40 PM.png

4.1 Enable the providers below

Screen Shot 2022-06-21 at 8.59.18 PM.png