FCM Configuration for Web Push Notification
  • Documentation
  • /
  • FCM Sender ID and Key

Chrome currently uses Firebase Cloud Messaging (FCM) for web push notifications. By default we use our own FCM account for notifications, meaning that your subscribers are associated with our keys. Although not mandatory, a FCM account will help you get the subscribers end-point list.

How to get a FCM Sender ID and Server Key for Web Push?

  • Login to the Firebase Console and Create a New Project. Firebase New Project for Web Push
  • Next, give a name to the project (eg. Web Push) and select a country or region. Then hit Create Project. Firebase New Project Name, Region
  • Once you are inside the Project console, click on the gear icon next to Overview and then on Project settings. Firebase Project Settings Menu - PushAlert Web Push
  • Switch to the Cloud Messaging tab and here you will find the Sender ID and the Server key. Make a note of both as these will be required in the next step. Firebase Server Key and Sender ID

Configuring PushAlert with Firebase Cloud Messaging

  • For the next step, it is expected that you have FCM Server key and SenderID ready with you. Which you can get using the steps above. We recommend creating a separate FCM Project for PushAlert.
  • Now, login to the PushAlert Dashboard and head to Website Dashboard > Settings > Website.
  • Just scroll down to FCM/GCM Configuration and first add the Sender ID followed by the Server Key. Then hit Submit. Website Settings for FCM/CGM Configuration
  • That's it, your new configuration is now live.