> ## Documentation Index
> Fetch the complete documentation index at: https://moengage-user-guide.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Configure FCM Authentication for Receiving Push Notifications?

## 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-user-guide/FL-P7uwjwPpxTJrP/images/moengage_9f36c9.png?fit=max&auto=format&n=FL-P7uwjwPpxTJrP&q=85&s=60ed42c7adc8af406dc9a3491de33595" 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-user-guide/2PfbfD5dSGY7Pno5/images/moengage_57c032.png?fit=max&auto=format&n=2PfbfD5dSGY7Pno5&q=85&s=56e4fbd30fe485eac5bb3cd8879f2729" width="1024" height="256" data-path="images/moengage_57c032.png" />
   <img alt="project id.png" src="https://mintcdn.com/moengage-user-guide/WnxHNxVmb-EfNMzm/images/moengage_f89e6f.png?fit=max&auto=format&n=WnxHNxVmb-EfNMzm&q=85&s=2f3c2a2619e77be43679cd8ae363cefd" 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-user-guide/-3vSwXDB0-23wJct/images/moengage_b4ed21.png?fit=max&auto=format&n=-3vSwXDB0-23wJct&q=85&s=f9ec489aba42f96099e0d0851df7aff8" 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-user-guide/-cs4fx1HQbjS2bPk/images/moengage_ec19ed.png?fit=max&auto=format&n=-cs4fx1HQbjS2bPk&q=85&s=dae9f8940b07fc908a37ca458919ddd9" 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-user-guide/N366pTv9fuhgI-Im/images/moengage_35ff1e.png?fit=max&auto=format&n=N366pTv9fuhgI-Im&q=85&s=e647fdb6c3f5e111f1041d4b6d4270ab" 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-user-guide/-cs4fx1HQbjS2bPk/images/moengage_ec111b.png?fit=max&auto=format&n=-cs4fx1HQbjS2bPk&q=85&s=d2d1be6078fdaa633071ea2affcc932c" width="1024" height="584" data-path="images/moengage_ec111b.png" />
   <img alt="test push 2.png" src="https://mintcdn.com/moengage-user-guide/dli7Axk8_KnXeLex/images/moengage_6c92f4.png?fit=max&auto=format&n=dli7Axk8_KnXeLex&q=85&s=de59986f8070ee5b288e3496ff6e9eb9" width="640" height="1429" data-path="images/moengage_6c92f4.png" />
