# Configuration

Once the extension is installed successfully, go to **Stores > Configuration** to configure the extension for use.

<figure><img src="/files/F7azrcYALy9lnlJJPvxB" alt=""><figcaption></figcaption></figure>

* **Push Notification –** Enable the extension from here.
* **Messaging Sender Id –** Enter your sender ID for messaging.
* **API Key –** Enter the API key here.
* **Project Id –** Enter your project ID here.
* **App Id –** Enter your app ID here.
* **Upload json File –** Upload a json file of Firebase API generated from the firebase console.

**Note -** Check the guide for [**Firebase API**](https://magecomp.com/support/knowledgebase/firebase-api/).

**Note –** Check the guide for [**Firebase Console**](https://magecomp.com/support/knowledgebase/firebase-console/) to get your key and ID.

**Redirect to Category ID**

<figure><img src="/files/3Q47RTkdKaFYzGiMA2jh" alt=""><figcaption></figcaption></figure>

* **Status –** Enable or Disable particular Push Notification from here.
* **Name  –** Give a name to the Push Notification.
* **Content –** Enter your custom text for Push Notification.
* **Redirect To –** Select the Category ID option to redirect customers to category page with Push Notification on click.
* **Select Category Id –** Select the category for redirection of Push Notification.

**Redirect to Product ID**

<figure><img src="/files/yRScp51UD7RgOHAWTYNL" alt=""><figcaption></figcaption></figure>

* **Status –** Enable or Disable particular Push Notification from here.
* **Name  –** Give a name to the Push Notification.
* **Content –** Enter your custom text for Push Notification.
* **Redirect To –** Select the Product ID option to redirect customers to product page with Push Notification on click.
* **Product Id –** Enter the Product ID for redirection of Push Notification.

**Redirect to Custom URL**

<figure><img src="/files/dLDWR9UMjffMESyKHSXS" alt=""><figcaption></figcaption></figure>

* **Status –** Enable or Disable particular Push Notification from here.
* **Name  –** Give a name to the Push Notification.
* **Content –** Enter your custom text for Push Notification.
* **Redirect To –** Select the URL option to redirect customers to any custom URL with Push Notification on click.
* **Redirect Url –** Add the URL for redirection of Push Notification.

<figure><img src="/files/3a6BjWkMSVhssMY7LG0w" alt=""><figcaption></figcaption></figure>

* **Image –** Upload image for Push Notification.
* **Start Date –** Set the start date and time for Push Notification.
* **End Date –** Set the end date and time for Push Notification.


---

# 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://docs.magecomp.com/magento-2-web-push-notifications-extension/configuration.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.
