> For the complete documentation index, see [llms.txt](https://cyclone-nepal.gitbook.io/digitalhr-flutter/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cyclone-nepal.gitbook.io/digitalhr-flutter/admin-panel/setup-firebase.md).

# Setup Firebase

You need an additional json file for push notification to work. Please follow the following steps to activate the push notification service.&#x20;

1. Login to your firebase console
2. Click on project setting and then Service accounts

<figure><img src="https://2794514790-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmmjJuk8j1ruVTJbUPyXz%2Fuploads%2FDgiYIrKwlw6Y4yUxizr9%2Fimage.png?alt=media&amp;token=aa112d5f-df8b-4494-ade8-10411d667f3f" alt=""><figcaption></figcaption></figure>

3. Click on Node.js
4. Click on Generate New private key
5. Once you click this button a json file will be downloaded to your local computer

<figure><img src="https://2794514790-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmmjJuk8j1ruVTJbUPyXz%2Fuploads%2FinT3IlekPchW6KMA85oI%2Fimage.png?alt=media&amp;token=cf87d32b-c28a-4e67-bc44-4e813bcf7440" alt=""><figcaption></figcaption></figure>

6. Find the downloaded file and rename it to "**firebase-adminsdk.json**". Please remember that renaming this file is very important.&#x20;
7. Now open your cPanel
8. Navigate to the folder where you have installed our script, Find the folder named "storage" and upload the file to this folder.&#x20;
9. That's it.&#x20;
