Find Your GCM Sender ID & GCM API Server Key

Google Cloud Messaging is a service that allows you to send notifications to your applications and receive information from them. Your GCM Sender ID helps authenticate against CleverTap, allowing us to send push notifications on your behalf.

🚧

Firebase Cloud Messaging (FCM) is the new version of GCM.

Firebase Cloud Messaging (FCM) is the new version of GCM. It inherits the reliable and scalable GCM infrastructure, plus new features! If you are integrating messaging in a new app, start with FCM. GCM users are strongly recommended to upgrade to FCM, in order to benefit from new FCM features today and in the future.

Step 1: Find Your GCM Sender ID

Login to Google Developer Console and go to your Dashboard.

768768

If you have multiple projects on GDC, identify the applications whose GCM Sender ID you want to use.

Click on the project, the project number there is your GCM Sender ID.

328328

Step 2: Generate Your GCM Server API Key

Login to Google Developer Console and navigate to Enable and Manage APIs section.

768768

Select Cloud Messaging for Android under Mobile APIs.

768768

First, enable the API. Then go to the Credentials section and Add a new API Key.

768768

Create a new Server Key.

768768

Name the key and whitelist provided IP Addresses, after you create the key here, it can take up to 10 mins for the settings to take effect.

493493

Here is your API key! You’re now good to go.


Did this page help you?