> ## Documentation Index
> Fetch the complete documentation index at: https://moengage-sdk-deprecated-versions-all-platforms.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Set up MoEngage activity in SFMC

> Install and configure MoEngage custom activities, CloudPages, and Data Extensions in Salesforce Marketing Cloud so you can use MoEngage Push and Event activities in Journey Builder.

## Introduction

This guide provides detailed instructions for setting up MoEngage Custom Activities in Salesforce Marketing Cloud (SFMC). Follow these steps to ensure a smooth integration and usage.

<Info>
  **Prerequisites**

  * Salesforce Marketing Cloud Access: Administrator and Marketing Cloud Administrator permissions are required.
  * MoEngage API Credentials: Ensure you have access to your MoEngage APIs (Settings > Accounts > APIs).
</Info>

## Step 1: Set up MoEngage custom activity

To set up the MoEngage custom activity, perform the following steps:

1. Log in to your Salesforce Marketing Cloud (SFMC).

   <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006441364.png?fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=bf8bd66bc4cb8234c346939fce91b74e" alt="Salesforce Marketing Cloud login screen" width="1720" height="1004" data-path="images/partner_36576006441364.png" />

2. Access SFMC settings.

   <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006441620.png?fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=67eae8e0feacc3b213bf26ed5b81195c" alt="Accessing SFMC settings from the dashboard" width="1624" height="502" data-path="images/partner_36576006441620.png" />

3. Once you click on "Installed Packages", this tab will be visible on the right side of the page.

   <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576013645972.png?fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=c84c43431a49ac28c4dc343b1d954262" alt="Installed Packages tab in SFMC settings" width="780" height="728" data-path="images/partner_36576013645972.png" />

4. Create a new package.

   <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576013646228.png?fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=daf08f9c09e2d4f04681c260edc3c7ea" alt="Creating a new package in SFMC Installed Packages" width="1812" height="708" data-path="images/partner_36576013646228.png" />

5. Add package details. You can name it "MoEngage Custom Activity" and add description as "Used to send one-time push notifications and run Event Trigger campaigns".

   <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576013646484.png?fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=45070d4b007b5062d89a6242a4bfe643" alt="Entering name and description for the MoEngage Custom Activity package" width="1838" height="740" data-path="images/partner_36576013646484.png" />

6. Add MoEngage Components.

   <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006447124.png?fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=6935c518c096862cff174aa60c90f9d6" alt="Adding MoEngage Components to the package" width="1692" height="596" data-path="images/partner_36576006447124.png" />

7. Click Add Component.

   <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006447636.png?fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=2b8ecf5c40ad7bd2effb8b5845b4aa40" alt="Add Component button in SFMC package configuration" width="1916" height="650" data-path="images/partner_36576006447636.png" />

8. Select "Journey Builder Activity" and click on "Next".

   <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006447764.png?fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=f9afb39adaad189f83ab1962effeed2a" alt="Selecting Journey Builder Activity as the component type" width="1684" height="1078" data-path="images/partner_36576006447764.png" />

9. Click Save.

10. Repeat the same steps for MoEngage Event Destination.

    <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576013650708.png?fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=ec4eecbb7d37d2cb7ad3e56b4fa8596c" alt="Adding MoEngage Event Destination component" width="1022" height="934" data-path="images/partner_36576013650708.png" />

## Step 2: Set up the Cloud Page and the Data Extension

You need to set up a cloud page along with a data extension to capture the MoEngage workspace details. These can then be used while configuring a MoEngage destination in Journey Builder:

1. Navigate to the SFMC Home page.

2. Click "Platform" > "Package Manager".

   <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006448404.png?fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=8adcb1c7beec6c434ab0e6d30613b172" alt="Navigating to Platform > Package Manager in SFMC" data-og-width="1518" width="1518" data-og-height="818" height="818" data-path="images/partner_36576006448404.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006448404.png?w=280&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=7c5db574d995c33d7e5a72c027cc87e8 280w, https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006448404.png?w=560&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=79e1e00defb098be2deacdb1b503a01d 560w, https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006448404.png?w=840&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=1a4e1d24738b2b60359d0b96fea9e97c 840w, https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006448404.png?w=1100&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=adbda5d6c6b980c5884f418805adeab1 1100w, https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006448404.png?w=1650&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=da013434a74689693aa02846dd233b5d 1650w, https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006448404.png?w=2500&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=fd636c256425006e4fec57368edbbedc 2500w" />

   Once you click on the "Package Manager", it will be redirected to the Package Manager page.

3. Click on the "Deployment" tab.

4. Click "Deploy".

   <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576013651476.png?fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=9a6b7f00f3762697081870c43e43b4ab" alt="Deployment tab and Deploy button in Package Manager" width="1728" height="742" data-path="images/partner_36576013651476.png" />

5. Upload the MoEngage solution package [JSON file](https://partners.moengage.com/hc/en-us/article_attachments/45740967830932).

   <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576013651860.png?fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=de202833bfe85f8141adc510bdfc29ed" alt="Uploading the MoEngage solution package JSON" width="1842" height="826" data-path="images/partner_36576013651860.png" />

   \[Optional] If applicable, select a "CloudPages Domain" and click "Next".

   <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006449428.png?fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=f8d01395d5b5af1bfb089e6a25017b3a" alt="Selecting an optional CloudPages Domain during deployment" width="1802" height="670" data-path="images/partner_36576006449428.png" />

6. The system will validate the setup and check for any issues. Once validated, click Deploy.

   <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006449556.png?fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=2acff46dd84d9987c8461ff2d5f7453c" alt="Validating and clicking Deploy in Package Manager" width="1746" height="678" data-path="images/partner_36576006449556.png" />

### Publish Data Extensions and CloudPages

7. Go to the "Homepage".

8. Click on "Web Studio", and then click on "CloudPages".

   <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006449684.png?fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=6d31b55876ed5d3b212b576b2540f13f" alt="Navigating to Web Studio > CloudPages" data-og-width="1826" width="1826" data-og-height="868" height="868" data-path="images/partner_36576006449684.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006449684.png?w=280&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=be7e8cf337044f9ded57d0cc77b51470 280w, https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006449684.png?w=560&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=1cf0edc4d5de9508389e5aeb34fe4dad 560w, https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006449684.png?w=840&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=4f2be72634344047963586d39fee41f7 840w, https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006449684.png?w=1100&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=86ee21049cfed50990a50ce3d1fbec04 1100w, https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006449684.png?w=1650&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=db4297c34bbb988be6ea966b9680c9f6 1650w, https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006449684.png?w=2500&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=120627ef16ee1cea3507666e59a8c67c 2500w" />

9. Once you click "CloudPages", it will be directed to this page. Click on "CloudPages", then on "MoEngage Data Tracking" subfolder, and finally on "MoEngage Campaign Tracking CloudPage".

10. Click on the "arrow" to open the dropdown list and then click on "Edit".

    <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576013658644.png?fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=31be5e5c6ead59193ed411b05e6c4496" alt="Editing the MoEngage Campaign Tracking CloudPage" width="1560" height="890" data-path="images/partner_36576013658644.png" />

11. Click on "Save" and then on "Schedule/Publish".

    <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576013658900.png?fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=8881afffb6f5b4fa370434d21c17f16d" alt="Saving and publishing the MoEngage Campaign Tracking CloudPage" width="1530" height="872" data-path="images/partner_36576013658900.png" />

12. Return to the "CloudPages" page, click on "MoEngage Credentials" subfolder and then on "User Authentication Page".

13. Click on the "arrow" to open the dropdown list and then click on "Edit".

    <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006451220.png?fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=d9725cf5e1c43ab9dfc1f3c360c16863" alt="Editing the User Authentication Page CloudPage" width="1586" height="844" data-path="images/partner_36576006451220.png" />

14. Click on "Save" and then on "Schedule/Publish".

    <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576013659540.png?fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=bb05312d2a9cec0231c63d7aa0d01be1" alt="Saving and publishing the User Authentication Page" width="1508" height="842" data-path="images/partner_36576013659540.png" />

## Verify Data Extension and external keys

Ensure the following Data Extensions (DEs) are properly named and configured:

### A. MoEngage Tracking Data

It stores campaign tracking information.

1. Go to the "Homepage".

2. Click on "Audience Builder", and then click on "Contact Builder".

   <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006452372.png?fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=645bf3ff1bb447e518065bc5fdd63598" alt="Navigating to Audience Builder > Contact Builder" data-og-width="1812" width="1812" data-og-height="792" height="792" data-path="images/partner_36576006452372.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006452372.png?w=280&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=b7f84a587f9ab73f1384578b50d3e4a7 280w, https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006452372.png?w=560&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=d2c4753f66c14ae5eff946080b738b45 560w, https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006452372.png?w=840&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=3369913d43b5383a78b15a876794f8ed 840w, https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006452372.png?w=1100&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=d99b1864b2a7ee470af6cc037ad48e1e 1100w, https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006452372.png?w=1650&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=dcd009850bb95ac8f98f12dedd4944af 1650w, https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006452372.png?w=2500&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=086868e6ed19ae9ca4064c6fef774bde 2500w" />

3. Select "Data Extensions" tab.

4. Click on "Data Extensions" folder, and then click on "MoEngage Data Track" subfolder.

5. Select "MoEngage Tracking data" extension.

   <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576013660052.png?fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=2ec299ebc69411419b6e1f583d44fc8b" alt="MoEngage Tracking data Data Extension details" width="1760" height="968" data-path="images/partner_36576013660052.png" />

   Here you can find the "External Key". Please ensure it is accurate. \[Optional] If external key needs to be entered or changed, click on "External Key" input field, paste or enter the external key and click on "Done".

### B. MoEngage Credentials

It stores the credentials for the Data Tracking CloudPage:

1. Go to the "Homepage".

2. Click on "Audience Builder", and then click on "Contact Builder".

   <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576013660564.png?fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=89ec861ee2182e36e7a4ca6725c420b9" alt="Navigating to Audience Builder > Contact Builder" data-og-width="1812" width="1812" data-og-height="812" height="812" data-path="images/partner_36576013660564.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576013660564.png?w=280&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=fd1da272dd0bf84ed6420d817898c83e 280w, https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576013660564.png?w=560&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=184d3747a05238ca5f90c617220aa42a 560w, https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576013660564.png?w=840&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=611da80fedd5e6adab2e5e4449d4f001 840w, https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576013660564.png?w=1100&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=d1669db77ebd808510b17f1d17c7c73c 1100w, https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576013660564.png?w=1650&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=16a211635859a797b6eebdeb69e554cf 1650w, https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576013660564.png?w=2500&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=e23e022f3a6e3d89dd1ca30178524a12 2500w" />

3. Select "Data Extensions" tab.

4. Click on "Data Extensions" folder, and then click on "MoEngage Data Track" subfolder.

5. Select "MoEngage Tracking Credential".

   <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576013660820.png?fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=d2d547c177e2472a1bfee7d751729714" alt="MoEngage Tracking Credential Data Extension details" width="1738" height="974" data-path="images/partner_36576013660820.png" />

   Here you can find the "External Key". Please ensure it is accurate. \[Optional] If external key needs to be entered or changed, click on "External Key" input field, paste or enter the external key and click on "Done".

### C. MoEngage Event Activity Log

It logs Event Custom Activity information.

1. Go to the "Homepage".

2. Click on "Audience Builder", and then click on "Contact Builder".

   <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006453524.png?fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=18db8c13640dd099717a8e5908500f67" alt="Navigating to Audience Builder > Contact Builder" data-og-width="1808" width="1808" data-og-height="810" height="810" data-path="images/partner_36576006453524.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006453524.png?w=280&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=66462f0c7b43fd9e68ba0e58447661af 280w, https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006453524.png?w=560&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=153ae6298e41d3a8c01f0353ee509ea3 560w, https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006453524.png?w=840&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=4fa00ac582a1f4416b56a275e563a65c 840w, https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006453524.png?w=1100&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=27e4431a92c1068b693f038578af6002 1100w, https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006453524.png?w=1650&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=eaf1eb5c35770bd8d1f4f52baddee6bd 1650w, https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006453524.png?w=2500&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=0ccebf75cc4f20d41d661be645aa5818 2500w" />

3. Select "Data Extensions" tab.

4. Click on "Data Extensions" folder, and then click on "MoEngage Event DE" subfolder.

5. Select "MoEngage Tracking Credential".

   <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006453908.png?fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=133c52ddeebea16d4a8dc12edc919388" alt="MoEngage Event DE folder with Data Extensions" width="1782" height="1030" data-path="images/partner_36576006453908.png" />

6. Select "MoEngage Event Activity Log".

   Here you can find the "External Key". Please ensure it is accurate. \[Optional] If external key needs to be entered or changed, click on "External Key" input field, paste or enter the external key and click on "Done".

   <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/rI8fwNv_nIoNEoXX/images/partner_43091841847828.png?fit=max&auto=format&n=rI8fwNv_nIoNEoXX&q=85&s=2795b43d935eca225e6e2c6f4e07cfa7" alt="MoEngage Event Activity Log External Key field" width="1004" height="536" data-path="images/partner_43091841847828.png" />

### D. MoEngage Push Activity Log

It logs Push Custom Activity information.

1. Go to the "Homepage".

2. Click on "Audience Builder", and then click on "Contact Builder".

   <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006453524.png?fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=18db8c13640dd099717a8e5908500f67" alt="Navigating to Audience Builder > Contact Builder" data-og-width="1808" width="1808" data-og-height="810" height="810" data-path="images/partner_36576006453524.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006453524.png?w=280&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=66462f0c7b43fd9e68ba0e58447661af 280w, https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006453524.png?w=560&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=153ae6298e41d3a8c01f0353ee509ea3 560w, https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006453524.png?w=840&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=4fa00ac582a1f4416b56a275e563a65c 840w, https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006453524.png?w=1100&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=27e4431a92c1068b693f038578af6002 1100w, https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006453524.png?w=1650&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=eaf1eb5c35770bd8d1f4f52baddee6bd 1650w, https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006453524.png?w=2500&fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=0ccebf75cc4f20d41d661be645aa5818 2500w" />

3. Select "Data Extensions" tab.

4. Click on "Data Extensions" folder, and then click on "MoEngage Push DE" subfolder.

5. Select "MoEngage Push Activity Log".

   <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006453908.png?fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=133c52ddeebea16d4a8dc12edc919388" alt="MoEngage Push DE folder with Data Extensions" width="1782" height="1030" data-path="images/partner_36576006453908.png" />

   Here you can find the "External Key". Please ensure it is accurate. \[Optional] If external key needs to be entered or changed, click on "External Key" input field, paste or enter the external key and click on "Done".

   <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/rI8fwNv_nIoNEoXX/images/partner_43091889316756.png?fit=max&auto=format&n=rI8fwNv_nIoNEoXX&q=85&s=773a5788dd43d16ab1870cdeff67ab1e" alt="MoEngage Push Activity Log External Key field" width="1136" height="478" data-path="images/partner_43091889316756.png" />

## Configure Data Extension

### A. Configure Data Extensions

1. Change the external key of the credentials data extension from the solution package to "MoEngage Credentials".

   <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/rI8fwNv_nIoNEoXX/images/partner_43091841852564.png?fit=max&auto=format&n=rI8fwNv_nIoNEoXX&q=85&s=ab4f8919ac3742800ce08d4309e5f479" alt="Changing external key of the Credentials Data Extension" width="918" height="432" data-path="images/partner_43091841852564.png" />

2. Change the external key of the "Sync Users to MoEngage" data extension from the solution package to "Sync Users to MoEngage".

   <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/rI8fwNv_nIoNEoXX/images/partner_43091889328020.png?fit=max&auto=format&n=rI8fwNv_nIoNEoXX&q=85&s=1fe42ae47be8a78ba28ef8fcb199684c" alt="Changing external key of the Sync Users to MoEngage Data Extension" width="926" height="438" data-path="images/partner_43091889328020.png" />

3. Change the external key of the "User Sync Automation Logs" data extension from the solution package to "User Sync Automation Logs".

   <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/rI8fwNv_nIoNEoXX/images/partner_43091841854484.png?fit=max&auto=format&n=rI8fwNv_nIoNEoXX&q=85&s=5fa71b1f66d5007fdd5e25148935a56f" alt="Changing external key of the User Sync Automation Logs Data Extension" width="916" height="410" data-path="images/partner_43091841854484.png" />

## Connect your MoEngage workspace

### A. Access the credentials cloud page

On your SFMC dashboard, perform the following steps:

1. Navigate to "Web Studio" > "CloudPages" > "MoEngage Credentials" subfolder. Finally click on "MoEngage Authentication Page". Click Edit.

2. Click on the "Page URL" to open the Authentication Page.

   <img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576013661716.png?fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=0c7adcf4d4a1deaf6a39678a5397045f" alt="Opening the MoEngage Authentication Page URL" width="1488" height="720" data-path="images/partner_36576013661716.png" />

3. Enter details of your MoEngage workspace and click Submit.

| Field                   | Value                                                                                                                                                                   |
| ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Data center             | Select your MoEngage data center. Refer to [Data Centers in MoEngage](https://www.moengage.com/docs/user-guide/data/key-concepts/data-centers-in-moengage) for details. |
| Workspace Name          | Enter your workspace name. It is present in the header on your MoEngage dashboard. See the screenshot below.                                                            |
| Workspace ID            | Navigate to Settings > Accounts > APIs.                                                                                                                                 |
| Data API key            | Navigate to Settings > Accounts > APIs.                                                                                                                                 |
| Campaign (Push) API Key | Navigate to Settings > Accounts > APIs.                                                                                                                                 |

<img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576013662100.png?fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=d4374eee92010ce41c649cb879a62689" alt="Workspace name displayed in the MoEngage dashboard header" width="2716" height="294" data-path="images/partner_36576013662100.png" />

<img src="https://mintcdn.com/moengage-sdk-deprecated-versions-all-platforms/FkOBTRJ9FEmhvji4/images/partner_36576006455316.png?fit=max&auto=format&n=FkOBTRJ9FEmhvji4&q=85&s=e46b0ff5414c6e97077efae35f7870ff" alt="Locating Workspace ID, Data API key, and Campaign API key in MoEngage Settings" width="1504" height="756" data-path="images/partner_36576006455316.png" />

\[Optional] After done, you can also validate if the newly added workspace is present in the Data Extension.
