# Firebase-Chat

1. Open **Firebase Project Settings**
2. Go to: [Firebase Console](https://console.firebase.google.com/?utm_source=chatgpt.com)
3. Select your project
4. From the left sidebar, go to Product categories section , Click on Firestore Database / Storage
5. Now click on Firesotre <br>

   <figure><img src="https://3262632925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyCR4gWEaEkbxyLuIWVEE%2Fuploads%2FjSqASCpO74EUd9RxPhDv%2Fimage.png?alt=media&#x26;token=7489b027-bcdb-4cce-a0e1-183c6824126c" alt=""><figcaption></figcaption></figure>
6. Go to **Firestore Database → Indexes → Add Index**\\<br>

   <figure><img src="https://3262632925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyCR4gWEaEkbxyLuIWVEE%2Fuploads%2Feg1gd5qPaBhIJIzumkOT%2Fimage.png?alt=media&#x26;token=211f01c8-647e-445d-94ca-71892f9c0104" alt=""><figcaption></figcaption></figure>

**7.**&#x4E;ow, fill in all the fields exactly as shown in the image below while adding the index.\
After entering the details, click on **Create**.<br>

<figure><img src="https://3262632925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyCR4gWEaEkbxyLuIWVEE%2Fuploads%2FADZfK0HvaKN0rNYZJlnG%2Fdownload%20(10).png?alt=media&#x26;token=d05a9b30-9a62-48d7-9c96-524b1bc04bb9" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3262632925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyCR4gWEaEkbxyLuIWVEE%2Fuploads%2FEnQdBiq2ER5ocPTokID2%2Fdownload%20(11).png?alt=media&#x26;token=7613d60a-34b2-4b80-aa04-fee3619f6f4f" alt=""><figcaption></figcaption></figure>
