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

# Firebase Cloud Messaging (FCM)

> Step-by-step guide to integrate Firebase Cloud Messaging with Siren for push notifications

***Prerequisites:***

* A Firebase project
* Firebase Admin SDK credentials (service account key)
* Firebase Cloud Messaging API enabled

<img src="https://mintcdn.com/siren/7IpRt_YcaXDKVAtZ/docs/Images/Providers/Integrations/Push/fcm.png?fit=max&auto=format&n=7IpRt_YcaXDKVAtZ&q=85&s=c2d3ab43e83c8bd8d18ace60aebf3398" alt="FCM integration screenshot" width="1848" height="925" data-path="docs/Images/Providers/Integrations/Push/fcm.png" />

## Integration Setup

To integrate FCM with Siren for push notifications, follow these steps:

<Steps>
  <Step title="Navigate to Providers">
    Go to the **Providers** section in your Siren dashboard.
  </Step>

  <Step title="Select Push Notifications Channel">
    Choose the **Push Notifications** channel from the available options.
  </Step>

  <Step title="Choose Firebase Cloud Messaging">
    Locate **Firebase Cloud Messaging (FCM)** in the list of providers and click on **Add Account**.
  </Step>

  <Step title="Enter Account Details">
    In the pop-up window, enter the following details:

    * **Custom Name**: A name to identify this integration in Siren
    * **Service Account Key**:
      * Go to [Firebase Console](https://console.firebase.google.com/) > Project Settings > Service Accounts
      * Click **Generate New Private Key**
      * Upload the downloaded JSON file or paste its contents
    * **Default Notification Icon**: (Android) Resource name of the icon to use for notifications
    * **Default Notification Color**: (Android) Hex color code for the notification icon
  </Step>

  <Step title="Save Configuration">
    Click **Save** to complete the setup.
  </Step>
</Steps>
