Skip to main content

Add an SFMC connection string to your Sitecore installation

Abstract

How to construct a Salesforce Marketing Cloud connection string to Sitecore

To enable Sitecore to push items to Salesforce Marketing Cloud (SFMC) you must configure a connection in Sitecore.

To add a Salesforce Marketing Cloud (SFMC) connection string to your Sitecore installation:

  1. In Salesforce, in the Components area of the component you created, make a note of the following values:

    • Client Id

    • Client Secret

    • Authentication Base URI

    • REST Base URI

    • SOAP Base URI

  2. Use the values to construct a connection string with this format:

    <add name="sfmc" connectionString="client id=<Client Id>;
                                        client secret=<Client Secret>;
                                        auth endpoint=<Authentication Base URI>;
                                        rest endpoint=<REST Base URI>;
                                        soap endpoint=<SOAP Base URI>" />
  3. Add the connection string to the App_config\connectionstrings.config file on your Sitecore instance.