> ## Documentation Index
> Fetch the complete documentation index at: https://moengage-add-partner-guide-reddit-ads-conversions.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Send events from MoEngage to SFMC

> Use MoEngage Streams to send campaign interaction events to Salesforce Marketing Cloud Data Extensions for segmentation, personalization, and journey decisioning.

## Integration

<Info>
  **Prerequisites**

  * Follow the steps mentioned in [Set up MoEngage activity in SFMC](/partner-guide/message-orchestration/marketing-cloud/salesforce-marketing-cloud-sfmc/setup-moengage-activity) to set up the MoEngage Custom Activities on Salesforce Marketing Cloud.
  * This is a part of the Streams add-on. Please reach out to your dedicated MoEngage CSM (customer success manager) to get it enabled for your account.
</Info>

### Step 1: Set up Streams on SFMC

To set up streams on SFMC, perform the following steps:

1. Go to the "Homepage".

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

   <img src="https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/-5eUtW0gyIWeVK2C/images/partner_43084946697620.png?fit=max&auto=format&n=-5eUtW0gyIWeVK2C&q=85&s=07f90c6545a42d93533af6957e0b1673" alt="Navigating to Web Studio > CloudPages in SFMC" data-og-width="1146" width="1146" data-og-height="616" height="616" data-path="images/partner_43084946697620.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/-5eUtW0gyIWeVK2C/images/partner_43084946697620.png?w=280&fit=max&auto=format&n=-5eUtW0gyIWeVK2C&q=85&s=2705ab5f67a76c16d40a4d62dfd8dd7c 280w, https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/-5eUtW0gyIWeVK2C/images/partner_43084946697620.png?w=560&fit=max&auto=format&n=-5eUtW0gyIWeVK2C&q=85&s=f87dac35a0b93ff4370880f42f223c53 560w, https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/-5eUtW0gyIWeVK2C/images/partner_43084946697620.png?w=840&fit=max&auto=format&n=-5eUtW0gyIWeVK2C&q=85&s=2e957840bd67aa3844f7eead6a1eb39e 840w, https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/-5eUtW0gyIWeVK2C/images/partner_43084946697620.png?w=1100&fit=max&auto=format&n=-5eUtW0gyIWeVK2C&q=85&s=2872c2fdaf167d43629bda813a4ac1ce 1100w, https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/-5eUtW0gyIWeVK2C/images/partner_43084946697620.png?w=1650&fit=max&auto=format&n=-5eUtW0gyIWeVK2C&q=85&s=d6aafe984d048dcb41ed3d55bb72d9a2 1650w, https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/-5eUtW0gyIWeVK2C/images/partner_43084946697620.png?w=2500&fit=max&auto=format&n=-5eUtW0gyIWeVK2C&q=85&s=254894c8c620270e0620207892957c2e 2500w" />

3. Click on "CloudPages", then on "MoEngage Credentials" subfolder and finally on "MoEngage Workspace and Data Tracking Credentials".

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

   <img src="https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/-5eUtW0gyIWeVK2C/images/partner_43084946698644.png?fit=max&auto=format&n=-5eUtW0gyIWeVK2C&q=85&s=10d1a4e603caa0a4468769fd54e351c7" alt="Edit option from the dropdown list on the CloudPage" width="1150" height="670" data-path="images/partner_43084946698644.png" />

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

   <img src="https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/-5eUtW0gyIWeVK2C/images/partner_43084946699924.png?fit=max&auto=format&n=-5eUtW0gyIWeVK2C&q=85&s=454f0ac9fdaf364ed7b80b6065b16fef" alt="Opening the Page URL to access the Authentication Page" width="1050" height="584" data-path="images/partner_43084946699924.png" />

6. Select the "Data Center", then enter the "Workspace Name", "Workspace ID", "Data API Key", and "Campaign/Push API Key" from the MoEngage Platform.

7. Click on "Submit" once all the details are filled.

   <img src="https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/-5eUtW0gyIWeVK2C/images/partner_43084969575828.png?fit=max&auto=format&n=-5eUtW0gyIWeVK2C&q=85&s=074264d240804b6cd9cd7ecb428a4614" alt="Submitting MoEngage workspace credentials in SFMC CloudPage" width="1048" height="484" data-path="images/partner_43084969575828.png" />

8. After submitting the credentials, they will be validated with MoEngage and securely encrypted before being stored in the **Credentials Data Extension**.

9. The second part of the CloudPage focuses on **Data Tracking Credentials**.

10. Please enter your desired **Username** and **Password** for data tracking. This information will be required when raising a support ticket with MoEngage Streams.

    <img src="https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/-5eUtW0gyIWeVK2C/images/partner_43085147292308.png?fit=max&auto=format&n=-5eUtW0gyIWeVK2C&q=85&s=c14ff3780f4d4baee2e6cfdc515b8ad9" alt="Entering Username and Password for Data Tracking credentials" width="396" height="320" data-path="images/partner_43085147292308.png" />

11. Ensure you remember the password you enter, as it will be encrypted and stored in the **Data Tracking Data Extension** and cannot be retrieved in plain text later.

### Step 2: Set up Streams on MoEngage

To create a [support ticket](/user-guide/contact-support/raise-a-support-ticket-through-moengage-dashboard) with MoEngage, share the following details:

* **Username**: This is the unique identifier assigned to your MoEngage account, used for authentication purposes.
* **Password**: The unencrypted password entered in the **CloudPage**. Although the password is encrypted and stored in the **Data Extension** for security, the unencrypted version is required when raising the support ticket.
* **URL**: The URL of the published MoEngage Campaign Tracking **CloudPage**.

Ensure all information is accurate before sharing it with MoEngage Support.

### Step 3: Activate Streams Data Simplification Automation on SFMC

This process converts the raw event data MoEngage sends into a structured, usable format for SFMC segmentation, personalization, and journey creation.

#### Automation function

The automation performs the following key functions:

* It reads new rows from the Raw MoEngage Data Track Data Extension.
* It parses and simplifies the nested event data JSON.
* It writes the processed records into the final MoEngage Data Track Data Extension.
* It marks the original raw records as processed to prevent data duplication in subsequent runs.

#### Activation steps

To enable the data simplification process in SFMC, perform the following steps:

1. Go to "Automations" and navigate to the "MoEngage-SFMC" folder.

   <img src="https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/ll5RGABaMvyMt8FL/images/partner_43459030334996.png?fit=max&auto=format&n=ll5RGABaMvyMt8FL&q=85&s=869a478d4f669bee7f1164eb8c49abb8" alt="Navigating to Automations > MoEngage-SFMC folder in SFMC" data-og-width="1364" width="1364" data-og-height="726" height="726" data-path="images/partner_43459030334996.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/ll5RGABaMvyMt8FL/images/partner_43459030334996.png?w=280&fit=max&auto=format&n=ll5RGABaMvyMt8FL&q=85&s=467476719b4ac7814e9e2fc16c232e23 280w, https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/ll5RGABaMvyMt8FL/images/partner_43459030334996.png?w=560&fit=max&auto=format&n=ll5RGABaMvyMt8FL&q=85&s=0864f454e910b6f0e11d28eac1c0df73 560w, https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/ll5RGABaMvyMt8FL/images/partner_43459030334996.png?w=840&fit=max&auto=format&n=ll5RGABaMvyMt8FL&q=85&s=b05ee743fd4bdd7f3280841a73e20c34 840w, https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/ll5RGABaMvyMt8FL/images/partner_43459030334996.png?w=1100&fit=max&auto=format&n=ll5RGABaMvyMt8FL&q=85&s=4e5bbf7a925e91fc3713161d34e63be9 1100w, https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/ll5RGABaMvyMt8FL/images/partner_43459030334996.png?w=1650&fit=max&auto=format&n=ll5RGABaMvyMt8FL&q=85&s=ebcc84936582d10d0d9161fbdbad56d4 1650w, https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/ll5RGABaMvyMt8FL/images/partner_43459030334996.png?w=2500&fit=max&auto=format&n=ll5RGABaMvyMt8FL&q=85&s=cffbe6fe79703752cd2d2fe48a3c6a3b 2500w" />

2. Navigate to the Automations tab and open the designated "MoEngage-SFMC" folder.

3. Locate the automation named "MoEngage Streams Data Simplification".

   <Note>
     This automation must be scheduled no more frequently than once every 15 minutes to ensure optimal performance and avoid throttling SFMC resources. A 30-minute or hourly schedule is generally recommended. You can also run it on demand.
   </Note>

   <img src="https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/-5eUtW0gyIWeVK2C/images/partner_43459000846868.png?fit=max&auto=format&n=-5eUtW0gyIWeVK2C&q=85&s=c7aacd1868da3fc522a4d28bd908ae02" alt="MoEngage Streams Data Simplification automation in the folder" width="1578" height="552" data-path="images/partner_43459000846868.png" />

### Step 4: Verify configuration

To verify the configuration, perform the following steps:

1. Confirm all required fields are correctly filled in the **MoEngage Tracking Credentials Data Extension**.
2. Verify that the MoEngage Support team has received the required credentials and that the campaign tracking setup is complete.
3. After MoEngage Streams is configured, interaction data will be sent to the specified **CloudPage** if the **Event Name** is included in the Streams config.
4. Make sure the **Test MoEngage Data Track** Data Extension is set up, so it receives test tracking data from **Streams** via the **CloudPage**.
5. Ensure the **MoEngage Streams Data Simplification** automation is active.
6. Confirm that the **MoEngage Data Track Data Extension** is properly configured and accessible.

### Step 5: View Streams data in SFMC

This section helps you validate that events sent from MoEngage are successfully processed within your SFMC Data Extensions.

#### Simplified Data Target: MoEngage Data Track DE (Data Extension)

This Data Extension stores a simplified version of event data after it has been parsed and processed by the MoEngage Streams Data Simplification automation. Use this Data Extension in your Journey Builder for personalization, decision-making, and so on.

To access the MoEngage Data Track Data Extension, perform the following steps:

1. Go to "Data Extensions" and navigate to the "MoEngage Data Track" folder.

   <img src="https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/ll5RGABaMvyMt8FL/images/partner_43459030335380.png?fit=max&auto=format&n=ll5RGABaMvyMt8FL&q=85&s=482cc2601c91bc3340991a29f7197795" alt="Navigating to Data Extensions > MoEngage Data Track folder" data-og-width="1574" width="1574" data-og-height="754" height="754" data-path="images/partner_43459030335380.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/ll5RGABaMvyMt8FL/images/partner_43459030335380.png?w=280&fit=max&auto=format&n=ll5RGABaMvyMt8FL&q=85&s=2c353d19534663ae89f6dce738a32cc5 280w, https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/ll5RGABaMvyMt8FL/images/partner_43459030335380.png?w=560&fit=max&auto=format&n=ll5RGABaMvyMt8FL&q=85&s=32c9c852ca22f3f9a0720ec9c701b5d8 560w, https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/ll5RGABaMvyMt8FL/images/partner_43459030335380.png?w=840&fit=max&auto=format&n=ll5RGABaMvyMt8FL&q=85&s=b4a126bfad25b542ee36ae10a7d63c86 840w, https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/ll5RGABaMvyMt8FL/images/partner_43459030335380.png?w=1100&fit=max&auto=format&n=ll5RGABaMvyMt8FL&q=85&s=3abdf99fba5873f123b20194ab142611 1100w, https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/ll5RGABaMvyMt8FL/images/partner_43459030335380.png?w=1650&fit=max&auto=format&n=ll5RGABaMvyMt8FL&q=85&s=0a6d3d799f44802f93e63fe62e3e0d8e 1650w, https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/ll5RGABaMvyMt8FL/images/partner_43459030335380.png?w=2500&fit=max&auto=format&n=ll5RGABaMvyMt8FL&q=85&s=1d8386c7d6be8849d6fcd767fe08f236 2500w" />

2. Locate the Data Extension folder named "MoEngage Data Track".

   <img src="https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/-5eUtW0gyIWeVK2C/images/partner_43459000847636.png?fit=max&auto=format&n=-5eUtW0gyIWeVK2C&q=85&s=60ca5d0fa3e504d86c26ed2849d150df" alt="MoEngage Data Track Data Extension folder" width="1572" height="606" data-path="images/partner_43459000847636.png" />

#### Raw Event Storage: Test MoEngage Data Track DE (Data Extension)

This Data Extension stores the raw event data exactly as received from the MoEngage Streams HTTP POST payload captured in JSON format.

To test the MoEngage Data Track Data Extension (DE), perform the following steps:

1. Go to "Data Extensions", then select "MoEngage Data Track".

   <img src="https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/ll5RGABaMvyMt8FL/images/partner_43459030335892.png?fit=max&auto=format&n=ll5RGABaMvyMt8FL&q=85&s=06889327e0cdac9f73744e2895fb3dca" alt="Navigating to Data Extensions > MoEngage Data Track for testing" data-og-width="1366" width="1366" data-og-height="710" height="710" data-path="images/partner_43459030335892.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/ll5RGABaMvyMt8FL/images/partner_43459030335892.png?w=280&fit=max&auto=format&n=ll5RGABaMvyMt8FL&q=85&s=2260dd4ed019ae4168e70eafffa5ce07 280w, https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/ll5RGABaMvyMt8FL/images/partner_43459030335892.png?w=560&fit=max&auto=format&n=ll5RGABaMvyMt8FL&q=85&s=47f4c079aac6c5134562e88ff575f642 560w, https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/ll5RGABaMvyMt8FL/images/partner_43459030335892.png?w=840&fit=max&auto=format&n=ll5RGABaMvyMt8FL&q=85&s=900150da971e6733feed2937275cd498 840w, https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/ll5RGABaMvyMt8FL/images/partner_43459030335892.png?w=1100&fit=max&auto=format&n=ll5RGABaMvyMt8FL&q=85&s=55c87a07685b8fdbf65d572197ecb5fc 1100w, https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/ll5RGABaMvyMt8FL/images/partner_43459030335892.png?w=1650&fit=max&auto=format&n=ll5RGABaMvyMt8FL&q=85&s=6d009f72ea5c87108e95c18e3c83944c 1650w, https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/ll5RGABaMvyMt8FL/images/partner_43459030335892.png?w=2500&fit=max&auto=format&n=ll5RGABaMvyMt8FL&q=85&s=95d18d41637c4678197ca33b08196122 2500w" />

2. Locate the Data Extension folder named "Test MoEngage Data Track".

   <img src="https://mintcdn.com/moengage-add-partner-guide-reddit-ads-conversions/ll5RGABaMvyMt8FL/images/partner_43459000848916.png?fit=max&auto=format&n=ll5RGABaMvyMt8FL&q=85&s=8498c8ba3122d3d707839ab86e237d4a" alt="Test MoEngage Data Track Data Extension folder" width="1596" height="590" data-path="images/partner_43459000848916.png" />
