> ## Documentation Index
> Fetch the complete documentation index at: https://moengage-doc-2298-s2s-type-case-sensitive.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Configure FCM Authentication for Receiving Push Notifications?

> Configure Firebase Cloud Messaging (FCM) authentication to fix push notification delivery on Android. Resolve sender ID mismatches in MoEngage.

## Problem

Push notifications from the MoEngage dashboard are not received on Android devices due to a sender ID mismatch.

## Instructions

Perform the following steps to configure Firebase Cloud Messaging (FCM) authentication:

1. Open the Firebase console and go to the **Projects settings** section.
2. On the **Service accounts** tab, click **Generate new private key** to download the private key in JSON format, regardless of the selected language.
   <img alt="generate new private key.png" src="https://mintcdn.com/moengage-doc-2298-s2s-type-case-sensitive/r9esWJAG8HqSa0_4/images/moengage_9f36c9.png?fit=max&auto=format&n=r9esWJAG8HqSa0_4&q=85&s=5c29027cb6aa189dc2954295df29f7f1" width="1024" height="715" data-path="images/moengage_9f36c9.png" />
3. Open the downloaded private key JSON file and verify that the project\_id matches the one in your google-services.json file in the root directory of your Android project. <img alt="project id google services.png" src="https://mintcdn.com/moengage-doc-2298-s2s-type-case-sensitive/yddM2Gw9NzXwsWtt/images/moengage_57c032.png?fit=max&auto=format&n=yddM2Gw9NzXwsWtt&q=85&s=814702b815f8753237e6cd1566bd9748" width="1024" height="256" data-path="images/moengage_57c032.png" />
   <img alt="project id.png" src="https://mintcdn.com/moengage-doc-2298-s2s-type-case-sensitive/TqrHr6IEs-i-_dIm/images/moengage_f89e6f.png?fit=max&auto=format&n=TqrHr6IEs-i-_dIm&q=85&s=0ddd129fb52eb0a9b58db74fed0c3f6a" width="1024" height="310" data-path="images/moengage_f89e6f.png" />
4. On the left navigation menu in the MoEngage dashboard, go to **Settings** > **Channels** > **Push**.
5. On the Push page, click the **App push** tab, and then click **Android (FCM)** tab.
6. Click **Private key file (Recommended)**.
7. Use the **Choose file** button to upload the private key JSON file and click **Save**.   <img alt="choose file.png" src="https://mintcdn.com/moengage-doc-2298-s2s-type-case-sensitive/sXShQsUMW-YS9j0C/images/moengage_b4ed21.png?fit=max&auto=format&n=sXShQsUMW-YS9j0C&q=85&s=5e98ae87ada00fef5dd3aed5a4f57c8f" width="1024" height="406" data-path="images/moengage_b4ed21.png" />\
   Now you will see the request body of the report call with the push\_id in the Logcat window of your integrated development environment (IDE), registering the device and project on the MoEngage dashboard.
   <img src="https://mintcdn.com/moengage-doc-2298-s2s-type-case-sensitive/17XTUocHUM8RvM8_/images/moengage_ec19ed.png?fit=max&auto=format&n=17XTUocHUM8RvM8_&q=85&s=8cce984f300c8df8bf145a79ebe929a6" alt="register.png" width="1024" height="307" data-path="images/moengage_ec19ed.png" />
8. In the MoEngage dashboard, navigate to **User Profile** > **User Info** > **Reachability** > **Push.** A green tick mark will confirm that the Android device can receive push notifications. <img alt="push reachability edited.png" src="https://mintcdn.com/moengage-doc-2298-s2s-type-case-sensitive/2juJZAT1rO-n85t1/images/moengage_35ff1e.png?fit=max&auto=format&n=2juJZAT1rO-n85t1&q=85&s=2a6a047c5288e436322a2c60642b1397" width="1024" height="536" data-path="images/moengage_35ff1e.png" />
9. Click **TEST PUSH**. You will see the **STATUS : SENT** indicating that the device was reachable and the notification was received.
   <img alt="test push edited.png" src="https://mintcdn.com/moengage-doc-2298-s2s-type-case-sensitive/17XTUocHUM8RvM8_/images/moengage_ec111b.png?fit=max&auto=format&n=17XTUocHUM8RvM8_&q=85&s=31aa35f8b297b7e7fc1bc9bd4ed3b7b5" width="1024" height="584" data-path="images/moengage_ec111b.png" />
   <img alt="test push 2.png" src="https://mintcdn.com/moengage-doc-2298-s2s-type-case-sensitive/8OaIYgvqt-4jw66X/images/moengage_6c92f4.png?fit=max&auto=format&n=8OaIYgvqt-4jw66X&q=85&s=e461b787084ead9e8ef5671442e100b4" width="640" height="1429" data-path="images/moengage_6c92f4.png" />
