> For the complete documentation index, see [llms.txt](https://docs.quizhour.mrb-lab.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.quizhour.mrb-lab.com/admin/3.-firebase-setup/3.4-push-notification-setup.md).

# 3.4 Push Notification Setup

* From your Firebase console, go to the **Project Settings > Service Accounts** Tab. You need to download your service account information. &#x20;
* **Firebase Admin SDK > Node.js > Generate new private key** and a JSON file will be downloaded.
* Open that JSON file in any text editor and copy the information inside the **{}** curly bracket.

<figure><img src="https://3767936052-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fcv8FlmekAQLXUn7f8PbK%2Fuploads%2FI8XKgJzGIsqtqLzgtvl3%2Fimage.png?alt=media&amp;token=605b6426-0fb9-4265-aed0-9bc76ff69a2a" alt=""><figcaption></figcaption></figure>

* Now go to your IDE and open **lib/configs/fcm\_config.dart** the file and paste the text you have just copied inside the curly bracket. That's it.

<figure><img src="https://3767936052-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fcv8FlmekAQLXUn7f8PbK%2Fuploads%2FmMiNfoCX5UwHvIabPlys%2Fimage.png?alt=media&amp;token=a1131a89-2267-4500-8d15-4bc73b91bf1e" alt=""><figcaption></figcaption></figure>
