Setting up a Salesforce Marketing Cloud Integration

The information on this page covers the details that you need to provide to Amplience in order to set up a Dynamic Content Salesforce Marketing Cloud (SFMC) integration.

Details you need to provide

You will need to provide Amplience with the following details in order to set up your integration with Dynamic Content.

Property                        Description
Dynamic Content hub Each integration is set up for a specific Dynamic Content hub. If you have multiple hubs on your account, then you need to let us know which hub to use.
SFMC Credentials The Authentication Base URI, Client ID and Secret. See the SMFC Credentials section below for more details.
Content type schemas The list of content type schemas supported by this integration. When a content item created from one of these schemas is published, the integration will create a corresponding HTML content block in SFMC Content Builder. See Supported content types schemas on this page.
Top level folder The folder in SFMC Content Builder in which the integration will store the content blocks created when a Dynamic Content item of one of your supported types is published.

SFMC credentials

In Salesforce Marketing Cloud create a package. When creating the package assign it with the following permissions:

Documents and Images

  • Read
  • Write

Saved Content

  • Read
  • Write

From the created package, provide us with the following:

  • Authentication Base URI
  • Client Id
  • Client Secret

Supported Content type schemas

To configure a SFMC integration you need to provide us with a list of content type schemas that your integration will support. When a content item created from one of these content type schemas is published, the webhook service will notify the integration and create a corresponding HTML content block in SFMC Content Builder.

You can provide this information in JSON format as shown below.

{  
"contentTypeSchemas":[  
      {  
         "htmlTemplate": "image",
         "id":"https://s3-eu-west-1.amazonaws.com/amp-product/sfcc/image.json"
      },
      {  
         "htmlTemplate": "text",
         "id":"https://s3-eu-west-1.amazonaws.com/amp-product/sfcc/text.json"
      },
      {  
         "htmlTemplate": "banner",
         "id":"https://s3-eu-west-1.amazonaws.com/amp-product/sfcc/banner.json"
      }
   ]
}

Handlebars templates

When an integration is configured, for each supported content type schema you specify the handlebars template that is used by the Content Rendering Service to convert content items to HTML format to create HTML content blocks in Salesforce Marketing Cloud Content Builder. The handlebars template is specified in the htmlTemplate property of the contentTypeSchemas JSON shown above.

This is the template that will be loaded when an item of the specified content type is published and the integration requests the content item in HTML format.

Note that all handlebars templates must be stored in Content Hub and published. When you specify the name of the template it should not be suffixed with ".html", although it will appear as an HTML file in Content Hub.

Salesforce Marketing Cloud integration

Content Rendering Service

results matching ""

    No results matching ""