# 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="/files/zHvX9xswNoofnFIltII3" 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="/files/IQqyN7ryXBmvSISyHcKF" 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;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cyclone-nepal.gitbook.io/digitalhr-flutter/admin-panel/setup-firebase.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
