# Firebase Push Notification Configuration

* Go to [Google Cloud Console](https://console.cloud.google.com/).
* Select the project which is already created in Firebase before
* Open Dashboard
* Search for “Firebase Messaging” on the search box
* Select the “Firebase Cloud Messaging API” result
* Check the service is enabled. It is enabled by default. If it is not enabled, enable it.

![](https://3209134532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcLvbYKDk7En5o0Lfwh2V%2Fuploads%2FMyZzW8Z9vPHy36TCyy7h%2F0.jpeg?alt=media)

![](https://3209134532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcLvbYKDk7En5o0Lfwh2V%2Fuploads%2FTjLRJqT8VjAaAQgZQfcD%2F1.jpeg?alt=media)

* Open the Role section under IAM on the left menu
* Select “Create Role” on the top bar

![](https://3209134532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcLvbYKDk7En5o0Lfwh2V%2Fuploads%2FhI63D7kKvgCyzomTSrv2%2F2.png?alt=media)

![](https://3209134532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcLvbYKDk7En5o0Lfwh2V%2Fuploads%2F2AAt6BUrw5gDqRdjjHDI%2F3.jpeg?alt=media)

* Complete the required fields and select “Add Permissions”
* Use the “messing” in filter box and select “cloudmessaging.messages.create”
* Then select the checkbox and press the add button.

![](https://3209134532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcLvbYKDk7En5o0Lfwh2V%2Fuploads%2Fku3QXEGVYVnHHsonAG7V%2F4.jpeg?alt=media)

![](https://3209134532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcLvbYKDk7En5o0Lfwh2V%2Fuploads%2FyH2UvVaTM7I0w6ujkGK1%2F5.jpeg?alt=media)

![](https://3209134532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcLvbYKDk7En5o0Lfwh2V%2Fuploads%2F9pkGN0qyBvDuTq5aSFqb%2F6.jpeg?alt=media)

* Go to IAM section
* Select Grant Access
* Add the service account email which is created for play integrity as a new principals
* Select the created your for push notification
* Then press the save button

<figure><img src="https://3209134532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcLvbYKDk7En5o0Lfwh2V%2Fuploads%2Fzg0rIWazUYJA2RKB9VgZ%2F7.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3209134532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcLvbYKDk7En5o0Lfwh2V%2Fuploads%2FaF7HVpRgcRTbfbzbzM55%2F8.png?alt=media" alt=""><figcaption></figcaption></figure>

![](https://3209134532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcLvbYKDk7En5o0Lfwh2V%2Fuploads%2Fvm4toplt3Thddnx7YGLg%2F9.png?alt=media)
