dotdigital Engagement Cloud

The dotdigital Engagement Cloud developer hub

Official dotdigital Engagement Cloud APIs documentation

Setting up push notifications

A tutorial for setting up your app to receive push notifications from the Program Builder in Engagement Cloud

Understanding Push in Engagement Cloud

Engagement Cloud has the capability to send mobile push notifications to your app users using our Program Builder. It is important before we go over the steps on how to enable the push channel in Engagement Cloud that some key concepts are understood, and these are:

Users are addressed using email addresses

Engagement Cloud requires all users you want to send push notifications to have an email address, as this is used to create a contact in Engagement Cloud, and you target your pushes by sending to contacts!

If you have a requirement to send push to users without an email address this is possible via API only, please talk to your account manager about our CPaaS APIs.

You need to embed our App Messaging SDK into your app

Our App Messaging - Foundation SDK will need to be embedded in your app to enable us to register users as contacts in Engagement Cloud, and acquire the necessary push tokens automatically from your app in order for you to push to the users device.

Your app will pass our SDK a security token, which it validates, to register a user. The security token needs to be in the JWT format (JSON Web Token).

The following diagram illustrates the SDKs use:

You will need your mobile developers to help you configure push

In order for Engagement Cloud to send push messages via Apple or Google you must first push enable your app, which is usually done by your mobile development team in the app admin portals for Google and Apple. Once configured the team will need to configure various identifiers, certificates and tokens into Engagement Cloud in order to enable us to push to your app.

We strongly recommend having your mobile development team assist your with this configuration.

Setting Up Push Notifications

To send push notifications from Engagement Cloud to your app, you need to do the following to link Engagement Cloud to your app and users:

Enabling Engagement Cloud to push to your app

Enabling Engagement Cloud to push to your app

These steps ensure that Engagement Cloud has the necessary information to use Apple and Googles push channels to reach your app, and that the app passes the necessary information to send push to individual app users.

The steps are:

Create a push notification profile

In this step you will configure Engagement Cloud to be able to use Google's FCM and Apples APNS push services to send messages to your apps. This involves configuring tokens and certificates that are issued for Apple and Googles platforms when configuring push for your app, so it is recommended that you have someone will mobile development knowledge available to complete this step.

In addition to the push platform configuration we also need you to configure your security token values so that our SDK can recognise authenticate security tokens (JWTs) passed by your app to the SDK. Don't worry we explain how we use security tokens in more detail later.

To complete this step complete these instructions by clicking here.

Embed our SDK in your app

Now that Engagement Cloud knows how to use push with your app it is time to embed our SDK into your app so that it can pass back the necessary information to send messages to a specific user.

The SDK will communicate with our platform for you to:

  • Register your app users into Engagement Cloud as contacts
  • Collect the necessary push tokens from the users device to allow pushes to be sent

We need to ensure that it is your app registering users for push and this is done by your app passing a JWT (JSON Web Token) to the SDK. The passed JWT is verified using the authorisation information for the JWT you configured in your push notification profile in the previous step, and if valid the user is registered. Your app will need to provide a valid JWT to initialise the SDK, you can find out more about how to create a JWT by clicking here.

To complete this step select the links below for the technologies used to build your app:

Supported iOS and Android versions

Our mobile SDKs support the latest versions of Android and iOS, as well as the previous two versions.

Pass app user information to the SDK

Engagement Cloud requires you to pass the SDK an unique email address per user in order for it to create / update a contact, so that you can target these contacts for push sends. Once the user is registered after passing a valid JWT all your app needs to do is update the SDKs user profile with an email address and a contact will automatically be created in Engagement Cloud to allow you to push to this specific app user.

Click here to find out now to implement this in your app


If you have followed all the steps above you should now see your app users appearing as contacts in Engagement Cloud, and you can use program builder to send them push notifications!

Updated about 2 hours ago

Setting up push notifications

A tutorial for setting up your app to receive push notifications from the Program Builder in Engagement Cloud

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.