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. Click the gear icon next to Project Overview and navigate to Project settings:

Opening Firebase's Project settings

  1. Navigate to the Service Accounts tab. Under Firebase Admin SDK, click Generate new private key to download the credentials JSON file.

Generate your Firebase Credentials json file

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 NameDescription
NameProvider identifier used in SDK/API calls
DescriptionOptional description for identifying this configuration
Credentials JSONFirebase 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