Walkthrough: Linking Sitecore data to the Salesforce data extensions

Current version: 7.0

To use the Sitecore data in Salesforce Marketing Cloud (SFMC) for marketing purposes, you need to link the Sitecore data to the data extensions in Salesforce.

Important

Before you do this, you must run the pipeline batches Setup - SFMC Account Infrastructure, Push xConnect Contacts, and Push Marketing Lists once. These pipeline batches install the necessary folders in SFMC and push contact and marketing data from Sitecore to SFMC.

To link the contacts, you must create a primary/foreign key relationship in SFMC.

This walkthrough describes how to:

  • Create a link for the contact data.

  • Extend the contact data to the membership data.

To create a link for the contact data from xDB in SFMC:

  1. Open your SFMC site.

  2. In the top navigation bar, click Audience Builder, then click Contact Builder.

    Contact Builder in SFMC
  3. In the Data Designer tab, create an attribute group for Sitecore. Give it a name, for example, Sitecore.

    Note

    You should only have one Sitecore attribute group. If you have previously created a Sitecore attribute group, use that group instead of creating a new group.

  4. Click the Sitecore attribute group. Click Link Data Extension.

  5. In the new window, go to /Data Extensions/Sitecore and click the xDB Contact data extension.

    Select the xDB Contact data extension
  6. Create a link from Customer Data to xDB Contact. For example, you can link the Contact Key attribute from Customer Data to the contactKey attribute from xDB Contact. Make the link a one-to-one link by clicking One in the drop-down box on the right side.

    Link Customer Data to xDB Contact
  7. Click Save.

Extend the contact data to the membership data

To extend the contact data from Sitecore to the marketing lists:

  1. In SFMC, open the Sitecore attribute group.

  2. On the Contacts link definition, on the xDB Contact table, click the Extend icon to add an extension.

    The extend icon on the xDB Contact table
  3. In the Link Data Extension dialogue, on the right side, go to /Data Extensions/Sitecore/Journeys and select the Audience Membership extension.

    Select the Audience Membership extension
  4. Create a link from xDB Contact to Audience Membership. For example, you can link the contactkey attribute from xDB Contact to the Contact Key attribute from Audience Membership. Make the link a one-to-many link by clicking Many in the drop-down box on the right side. Click Save.

    Link xDB Contact to Audience Membership
  5. On the Audience membership table, click the Extend icon to add an extension.

  6. In the Link Data Extension dialogue, on the right side, go to /Data Extensions/Sitecore/Journeys and select the Audience Definition extension.

  7. Create a link from Audience Membership to Audience Definition. For example, you can link the Segment Id attribute from Audience Membership to the Segment Id attribute from Audience Definition. Make the link a many-to-many link by clicking Many in the drop-down boxes on both sides. Click Save.

    Link Audience Membership to Audience Definition

Do you have some feedback for us?

If you have suggestions for improving this article,