> ## Documentation Index
> Fetch the complete documentation index at: https://docs.reyapp.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure Android push notifications

> Connect Firebase Cloud Messaging credentials to OneSignal so it can send push notifications to Android devices.

Configure Firebase Cloud Messaging (FCM) for your OneSignal app so it can send push notifications to Android devices.

**1. Create or select a Firebase project**

In the [Firebase console](https://console.firebase.google.com/), create or open the project associated with your Android app.

**2. Enable Firebase Cloud Messaging API v1**

Open **Project settings → Cloud Messaging**. If Firebase Cloud Messaging API (V1) is disabled, open it in Google Cloud Console and enable it.

**3. Generate a service-account JSON key**

Go to **Project settings → Service Accounts** and generate a new private key. Save the downloaded JSON file securely.

**4. Add the key in OneSignal**

In OneSignal, go to **Settings → Push & In-App → Push Platforms → Google Android (FCM)**. Activate the platform, then upload the JSON file under **Service Account JSON**.

**5. Save the configuration**

If prompted, select Firebase Cloud Messaging API (V1), then save and continue.

> [!WARNING]
>
> The Firebase service-account JSON file is sensitive. Keep it private and do not commit it to source control.

> [!TIP]
>
> Confirm that the Firebase Sender ID matches the Sender ID shown in your OneSignal settings before saving.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.