> ## 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.

<Steps>
  <Step title="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.
  </Step>

  <Step title="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.
  </Step>

  <Step title="Generate a service-account JSON key">
    Go to **Project settings → Service Accounts** and generate a new private key. Save the downloaded JSON file securely.
  </Step>

  <Step title="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**.
  </Step>

  <Step title="Save the configuration">
    If prompted, select Firebase Cloud Messaging API (V1), then save and continue.
  </Step>
</Steps>

<Warning>
  The Firebase service-account JSON file is sensitive. Keep it private and do not commit it to source control.
</Warning>

<Tip>
  Confirm that the Firebase Sender ID matches the Sender ID shown in your OneSignal settings before saving.
</Tip>
