Provisioning ensures that users receive push messages from your app. The first step in provisioning is to retrieve the Legacy server key and Sender ID for your app so that you can put this information into Marketing Cloud.

Existing Project

  1. Log in to Firebase.

  2. Select your project.

  3. Navigate to Cloud Messaging under Project Settings.

  4. Make note of the Sender ID and server key under Cloud Messaging API (Legacy) section. Follow Google intructions on generating a Server Key(if not exists already).

  5. Use the Legacy server key your app in Marketing Cloud.

  6. Provide the Sender ID to the SDK during initialization via the setSenderId method.

New Project

  1. Create a new project for your app in Firebase

  2. Navigate to Cloud Messaging under Project Settings.

  3. Follow Google intructions on generating a Server Key. Make note of the Sender ID and server key under Cloud Messaging API (Legacy) section.

  4. Use the Legacy server key your app in Marketing Cloud.

  5. Provide the Sender ID to the SDK during initialization via the setSenderId method.


Next steps to register your app in Marketing Cloud: