---
title: Integrate Salesforce Marketing Cloud Campaign Data Sync
slug: data-platform/docs/integrate-salesforce-marketing-cloud-campaign-data-sync
docTags: 
createdAt: 2026-08-10T12:05:21.000Z
---

Sync your Salesforce Marketing Cloud (SFMC) email campaign data to Optimizely Data Platform (ODP) to enrich customer profiles and power segmentation, AI, and reporting.

## Configure the integration in SFMC

### Create an FTP user

In your SFMC account:

1. Expand the username drop-down list and select **Setup**.
2. Go to **Data Management > FTP Accounts**.
3. Click **Create User**.

   :::hint{type="info"}
   **Note**
   Make note of your **FTP Username**, you need it later.
   :::
4. The **E-mail Address** defaults to the one you use for your SFMC account. You can enter a different email if desired.
5. Enter a **Password**, and verify that password in the **Repeat Password** field.

   :::hint{type="info"}
   **Note**
   Make note of your **Password**, you need it later.
   :::
6. Under **User Permissions**, ensure **Read Only** is selected.
7. Enter the following IP addresses for your region in the **Allowlist IPs** field, clicking **Add** after each one:
   - **US** – 34.237.255.156, 3.217.239.28, 3.221.234.17
   - **EU** – 176.34.174.196, 108.129.67.69, 54.228.188.40
   - **AU** – 13.211.220.224, 13.238.6.193, 52.65.240.0
8. Click **Next**.
9. Under **Authentication Options**, ensure **Password** is selected.
10. Click **Save**.

Now, ensure that your FTP user password is not set to expire:

1. Go to **Security > Security Settings**.
2. In the **Password Policies** section, ensure the **Exclude FTP Users From Password Expiration** field is set to **Yes**.

   ::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/9t28IMZaqMyqgyKv2E-nu-20260720-145739.png" size="100" isUploading="false" showCaption="false" width="777" height="739" darkWidth="777" darkHeight="739"}
3. If the **Exclude FTP Users From Password Expiration** field is set to **No**, click **Edit**, select that checkbox, and click **Save**.

### Create an installed package

In your SFMC account:

1. Expand the username drop-down list and select **Setup**.
2. Go to **Apps > Installed Packages**.
3. Click **New**.
4. Enter **ODP Email Data Sync** for the **Name** and click **Save**.
5. Under **Components**, click **Add Component**.
6. Select **API Integration** and click **Next**.
7. Select **Sever to Server** as your integration type and click **Next**.
8. On the **Scope** page, make the following selections:
   - **Channels > Email** – Read
   - **Provisioning > Accounts** – Read
   - **Contacts > Audiences** – Read
   - **Contacts > Contact to Business Unit Mapping** – View
   - **Contacts > List and Subscribers** – Read
   - **Hub > Campaign** – Read
   - **Data > Tracking Events** – Read
9. Click **Save**.
10. On the **Access** tab, enable the business units you want the app to target for your ODP account.
11. Click **Save**.
12. Go back to the **Details** tab and keep this window open because you need information from it for the next steps in ODP.

    ::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/tXS7UmsZ-LoGZlIFqHMOV-20260720-145739.png" size="100" isUploading="false" showCaption="false" width="1118" height="899" darkWidth="1118" darkHeight="899"}

## Enable the integration in ODP

In your ODP account:

1. Go to **Data Setup >** **App Directory**.
2. Select the **Salesforce Marketing Cloud Campaign Data Sync** app.
3. Click **Install App**.
4. Click the **Settings** tab.
5. Complete the following fields:
   - **Sub Domain** – Enter the **Authentication Base URI** from SFMC (see [step 12](docId\:pl7DPiUEA9VMNBier1qjo)).
   - **Client ID** – Enter the **Client Id** from SFMC (see [step 12](docId\:pl7DPiUEA9VMNBier1qjo)).
   - **Client Secret** – Enter the **Client Secret** from SFMC (see [step 12](docId\:pl7DPiUEA9VMNBier1qjo)).
   - **Account ID** – In SFMC, expand your account name drop-down list. The account ID is the number that displays after the account name (see [step 12](docId\:pl7DPiUEA9VMNBier1qjo)).
   - **Business Unit** – Select your desired business unit from SFMC.
6. Enter your SFMC FTP **Username** and **Password** (from the [Create an FTP user section](docId\:pl7DPiUEA9VMNBier1qjo)).

   :::hint{type="info"}
   **Note**
   Leave the **Port** as the default value, which is **22**.
   :::
7. Select the identifier to sync from Salesforce to ODP by toggling on either the **Email** or **SFMC Subscriber Key**. Ensure at least one identifier is enabled for the sync to function properly. 
8. Click **Verify** and then **Save**.

:::hint{type="info"}
**Note**
The data sync is not real-time, so expect a delay for data syncing from SFMC to ODP.
:::

## View SFMC data in ODP

Now you can view your SFMC campaign data on customer profiles in ODP. If SFMC email activity syncs to ODP with an email address that already exists, the data is added to the corresponding customer profile.

These events are factored into ODP data science for churn prevention and order likelihood. They are also available in segmentation and reporting.
