Platform docs
Auth, users, webhooks & more

Firebase Cloud Messaging

Configure Stream Video push notifications using Firebase Cloud Messaging.

Get the Firebase Credentials

Provide your Firebase credentials to Stream to enable push notifications.

  1. Go to the Firebase Console and select your project (or create one if needed).

  2. Open Service accounts in the Google Cloud console for the same project, and click Create service account. Grant it only the Firebase Cloud Messaging API Admin role.

  3. Open the service account, go to Keys, and click Add key > Create new key > JSON to download the credentials JSON file.

Stream only sends messages, so the service account needs no other role. Don't use Generate new private key under Firebase Admin SDK in the Firebase console: that service account can read and change your whole Firebase project.

Upload the credentials and create a push provider

In the Stream Dashboard, select Push Notifications:

Selecting Push Notifications menu in Stream Dashboard

Click New Configuration and select the Firebase provider. Configure these fields:

Field Name Description
Name Provider identifier used in SDK/API calls
Description Optional description for identifying this configuration
Credentials JSON Firebase credentials for sending push notifications

Configuration steps:

  1. Enter a name in the Name field (referenced in your code)
  2. Upload the Firebase credentials JSON file
  3. Enable the provider using the toggle
  4. Click Create

Example configuration using firebase as the name:

Setting up your Firebase Credentials on the Stream Dashboard