Generate and upload your certificate - Android

In this guide, we'll show you how to get your FCM certificate and upload it to the Pushologies portal so you can push to Android devices. If you've already sending push notifications via FCM, you can either skip the first step, or create a new project anyway to keep things separate.

Step 1 - Creating a Firebase project

The first step is to log into your Firebase console and sign in with the same account you're using for your Google Developer console.

New Firebase projectNew Firebase project

If you've got Firebase already integrated into your app, you can select it here. If you're new to Firebase, you can create a new app. It will ask if you want to enable Google Analytics - that's up to you. We don't need it "on" to do our analytics, but if you want use some of the more advanced features Firebase itself has to offer, you'll need to say yes.

Firebase project homeFirebase project home

Once you've got into your project, you'll need to generate a private key to enable us to send on your behalf.

Firebase admin SDK optionsFirebase admin SDK options

Keep this somewhere safe, as it potentially allows people to access your Firebase account.

Save admin keySave admin key

While you're here, you'll need to grab you sender ID. Click on the "Cloud Messaging" tab and note down the sender ID number:

Sender IDSender ID

You'll need this to initialise the SDK later on.

Step 3 - Upload the file to the Pushologies portal

Next, log into the Pushologies portal

Portal loginPortal login

and go to the Settings -> Credentials menu.

CredentialsCredentials

Under the Google Android configuration section, click "choose file" and select the file you just generated in the Firebase console. Save this, and the portal will validate the keys and you're ready to go!

Credentials saveCredentials save

Step 4 - Generate SDK API key

While still logged into the Pushologies portal, go to Settings->API Keys.

API keys saveAPI keys save

If you've already done an iOS integration, or already generated SDK keys, you should use the ones you've already generated.

SDK keysSDK keys

If not, click "Create API Key" and make sure "SDK" is selected from the dropdown. Add a description of you want (your app name works well here) and save the key somewhere safe - you'll need this to actually integrate our SDK into your app.