# Notifications

CustomerGlu supports *Firebase Messaging* and *Apple Push Notification service* (*APNs*) to send in-app/push notifications to the users. Following requirements have to be met for enabling notifications from CustomerGlu:

* Your FCM Server key/Apple Push Notification Authentication Key has to be shared with CustomerGlu
* firebaseToken/apnsDeviceToken, deviceType, deviceId has to be provided during device/user registration
* The tokens must be updated on refresh from device

## Firebase Cloud Messaging (FCM)

![](/files/hjhdFKVrAw5TdWQUcbSg)

#### Creating Private Key for Firebase Account

Go to Project Settings > service accounts > Generate new private key for Node.js

![](/files/DQzKnwvWDUEYv3JNsEFB)

## Apple Push Notification service (APNs)

#### Creating Authentication Key for APNS

When sending push notifications using an APNs Auth Key, we require the following information about your app:

* Auth Key file (.p8 format)
* Key ID
* Team ID
* Your app’s bundle ID

1. Visit the Apple [Developer Member Center](https://developer.apple.com/account/).
2. Click on “Certificates, Identifiers & Profiles”.
3. Go to Keys from the Left Menu.
4. Create a new Auth Key by clicking on the “+” button in the top right corner.

![](/files/Ime8xqwsvDroWdB82Nq0)

5\. On the following page, add a Key Name, and select APNs

![](/files/J3VQKP5n2oRat2FVW7dE)

6\. On this page, you will be able to download your auth key file.

![](/files/FiLDD0DmfTvrje3VFAJX)

7\. TeamID can be found in the "View Account" menu

![](/files/d0kCZwi4AzFjq31um20j)

8\. Your app’s bundle ID can be found in Xcode.


---

# 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.customerglu.com/miscellaneous-topics/notifications.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.
