This section helps you with information on configurations that you need to do on Firebase.
In the Google Firebase, perform the following:
- Open Google Firebase and create the project. Refer to Firebase documentation.
- Set up cloud messaging. Refer to Cloud messaging documentation.
- Navigate to project settings and define a custom role with below permissions:
- fcmdata.deliverydata.list
- firebase.clients.get
- firebase.clients.list
- firebase.projects.get
- firebasenotifications.messages.create
- firebasenotifications.messages.delete
- firebasenotifications.messages.get
- firebasenotifications.messages.list
- firebasenotifications.messages.update
- iam.serviceAccounts.get
- cloudmessaging.messages.create
The role assigned to the service account determines the level of access and permissions it has within your Firebase project. Choosing the appropriate role ensures that the service account has the necessary privileges to perform required tasks. For information on how to create a custom role, refer to Custom role documentation.
- Create a service account with the newly created custom role permission. For information on service account creation, refer to Service account documentation. It is recommended to use a service account name that helps to identify the purpose and its role in the project.
-
Generate a new service account private key. This enables you to authenticate and authorize requests made by your SaaS platform.
It is recommended to use the key type as JSON. This provides the key in a structured and easily readable key file in JSON format. For information on how to create the service account private key, refer to
Service account key documentation.
Gateway Configuration
To enable mAPP SDK Channel and the push notifications, the team setting up the Firebase account for the brand must raise a ticket with the gateways team with details requested by them.