Setup MoEngage App on Salesforce

Introduction 

To use the integration, you need to install MoEngage App from the Salesforce App Exchange. Follow these steps depending on your integration use-cases.  

 

Integration steps  Use-case

Install MoEngage App 

Needed for both Salesforce to MoEngage and vice versa integrations. 

Create a connected App 

Only for MoEngage to Salesforce integration. Not needed for Salesforce to MoEngage data flow. 

Install MoEngage App 

  1. Access Salesforce AppExchange: Open your web browser and go to the Salesforce AppExchange website.
  2. Log In: If you're not already logged in, click on the Log In button and enter your Salesforce credentials.
  3. Search for MoEngage: In the search bar, type MoEngage and press Enter. Click on the MoEngage app to open its details page.
  4. Initiate the Installation: Click the Get It Now button on the MoEngage app page.
  5. Select Salesforce Organization: Choose the appropriate Salesforce org (e.g., Production). •
  6. Click Install in Production to proceed.
  7. Confirm Installation Details:
    - Review the installation details provided.
    - Agree to the terms and conditions by checking the appropriate box.
  8. Complete the Installation: Click on Confirm and Install to begin the installation process

If you do not see MoEngage in the listed apps, please reach out to your dedicated customer success manager. They will share the app-build separately. 

 

Create a Connected App  

Skip these steps if you only wish to send data from Salesforce to MoEngage. These steps are mandatory only for your bi-directional integration i.e.sending events data from MoEngage, back to Salesforce.

Step 1: Fetch Domain URL

  1. Click on the “Gear icon” in the top right corner and select “Setup”. Screenshot 2024-09-25 at 2.27.26 PM.png
  2. In the Quick Find box, type "My Domain" and select “My Domain”.
    Screenshot 2024-09-25 at 2.28.47 PM.png
  3. Save the domain URL. This is important while setting up data flow from MoEngage to Salesforce 
    Screenshot 2024-09-25 at 2.32.03 PM.png

Step 2: Create a new connected App 

  1. Click on the “Gear icon” in the top right corner and select “Setup”. Screenshot 2024-09-25 at 2.27.26 PM.png
  2. In the Quick Find box, type "App Manager" and select “App Manager”.
    Screenshot 2024-09-25 at 2.39.12 PM.png
  3. Click on “New Connected App”.
    Screenshot 2024-09-25 at 2.39.59 PM.png
  4. Enter a name and all the other details for your “Connected App”.
    Screenshot 2024-09-25 at 2.40.57 PM.png
  5. Scroll down to the “API (Enable OAuth Settings)” section, and check the box labeled “Enable OAuth Settings”.
  6. In the “Callback URL” field, enter the api-0X.moengage.com
  7. Move the “Manage user data via APIs(api)” scope from the “Available OAuth Scopes” to “Selected OAuth Scopes”.
    Screenshot 2024-09-25 at 2.41.38 PM.png
  8. Check these two boxes- Require PKCE, and Enable Client Credentials flow 
  9. Click “Save” at the bottom of the page.

After saving, you'll see a confirmation page, and the app may take around 10 minutes to process after that to manage your app, return to the App Manager.

Step 3: Fetch Consumer Key and Consumer Secret

Once the app is created, you’ll have access to the “Consumer Key” and “Consumer Secret” in the “API (Enable OAuth Settings)” section. This is essential to setup data flow from MoEngage to Salesforce. 

  1. Return to the “App Manager".
  2. Click on the “Dropdown Arrow” next to your app and then click “View”.
    Screenshot 2024-09-25 at 2.46.21 PM.png
  3. Scroll down to the “API (Enable OAuth Settings)” section and click on “Manage Consumer Details”. 
    Screenshot 2024-09-25 at 2.47.33 PM.png
  4. Click on “Copy” button below the “Consumer Key” field and the “Consumer Secret” field to copy them.
    Screenshot 2024-09-25 at 2.47.47 PM.png

Step 4: Add MoEngage Accession Permission Set

  1. Click on the “Gear icon” in the top right corner and select “Setup”. Screenshot 2024-09-25 at 2.27.26 PM.png
  2. In the Quick Find box, type "Users" and select “Users”.
    Screenshot 2024-09-25 at 2.50.23 PM.png
  3. Select the “Username” to which you want to assign permission.
    Screenshot 2024-09-25 at 2.52.01 PM.png
  4. Click on “Permission Set Assignments”.
    Screenshot 2024-09-25 at 2.52.18 PM.png
  5. The page will automatically scroll down to "Permission Set Assignments", and then click on "Edit Assignments".
    Screenshot 2024-09-25 at 2.52.23 PM.png
  6. Select “MoEngage Sync Configuration Permission” on the Available Permission Sets, then click on “Add”. Once you add the permission set it can be seen in the Enabled Permission Sets.
    Screenshot 2024-09-25 at 2.55.08 PM.png
  7. Finally click “Save”.

If no permission set is assigned, you will see the error below- 
Screenshot 2024-09-25 at 2.56.20 PM.png

 

Now, you should be good to proceed with the integration: 

  • Sync data from Salesforce to MoEngage:
    Follow the steps mentioned in the guide here to sync any Salesforce object to MoEngage as users or events. Newly created or updated recorded will be synced in real time.  
  • Send MoEngage campaign interaction data to Salesforce:
    Setup an outbound integration with Salesforce that lets you forward MoEngage Events to Salesforce as an Activity or any other Salesforce standard or custom object. With this, any campaign interaction data captured by MoEngage can be sent in real time via MoEngage Streams. 

 

 

Previous

Next

Was this article helpful?
0 out of 0 found this helpful

How can we improve this article?