Getting GCM Credentials
On this page, how to get the essential Google Firebase credentials will be covered. These credentials will be used while setting up the RMC Web Push for both CHROME and FIREFOX browsers.
Getting Credentials with Creating a New Project
You can follow these steps to obtain credentals by creating a Google Project from a scratch.
If you are already have a Firebase Cloud Messaging (FCM) project, you may proceed to Getting GCM Project Number and API Key.
Creating a New Project
Log in to Firebase Console
Click on Add Project to create a new one.
Name your project and click on "CreateProject".
Getting GCM Project Number and API Key
On Firebase Console choose Cog. Icon > Project Settings.
On Settings screen, move to the Cloud Messaging tab.
On setting screen, move to the General Tab.
The value in the Sender ID field will be used in the FCM (GCM) Sender ID field while configuring Chrome & Firefox settings during Web Push setup.
The value in the Server Key field will be used in the FCM(GCM) API Key field while configuring Chrome & Firefox settings during Web Push setup.
The value in the Project ID field will be used in the Related App Alias field whilr congifuring Chrome & Firefox settings during Web Push setup.
Getting Credentials using Existing Google Project with GCM API enabled
If you are planning to use an existing Google Project with enabled GCM APIs, you can follow the these steps. Otherwise, you should read about creating new project.
Getting GCM Project Number
Choose IAM & admin from the left navigation panel on Google Project Console.
Choose your Project you wish to setup from the dropdown menu.
Click on Settings from the left hand panel.
The Project Number value will be used in the FCM (GCM) Sender ID field while configuring Chrome & Firefox settings during Web Push setup.
Getting GCM API Key
Choose APIs & services > Credentials from the sidebar on Google Project Console .
Copy the Server Key value or choose Create credentials > API Key to create a new one.
The Server Key value will be used in the FCM(GCM) API Key field while configuring Chrome & Firefox settings during Web Push setup.