Firebase Cloud Messaging

This page shows you how to receive Stream Video push notifications using Firebase Cloud Messaging.

Configuring Notifications on the Stream Dashboard

To be able to receive notifications from Stream, you need to provide your Firebase credentials to Stream.

Go to the Firebase Console, and select the project your app belongs to.

If you don’t have a Firebase project yet, you’ll have to create a new one.

Click on the gear icon next to Project Overview and navigate to Project settings:

Opening Firebase's Project settings

Navigate to the Service Accounts tab. Under Firebase Admin SDK section, click on Generate new private key button that will generate a json file with the Firebase Credentials.

Generate your Firebase Credentials json file

Next, you need to visit your app’s Stream Dashboard page. From there, select the Push Notifications menu option as you can see in the image below:

Selecting Push Notifications menu in Stream Dashboard

From there you can create a new configuration by clicking the New Configuration button. After selecting the Firebase Provider, you will be asked to provide the following information:

Field NameUsage description
NameUsed to select this configuration in SDK or API calls.
DescriptionAllows you to set a description on the configuration to help identify its usage in your app’s context.
Credentials JSONThe firebase credentials that will be used to send the push notification.

For our example, we are using firebase as name and we are filling the remaining information as you can see in the image below:

Setting up your Firebase Credentials on the Stream Dashboard

© Getstream.io, Inc. All Rights Reserved.