Salesforce Marketing Cloud (ExactTarget)

ExpandedToggleIcon        Connection Dialog

To connect to Salesforce Marketing Cloud, you need to select Authentication Type and enter the corresponding connection parameters.

 

The following connection options are required for the UserNamePassword authentication type:

1.Url - URL of an Salesforce Marketing Cloud instance for API UserNamePassword authentication. By default the S1 Instance address is used: https://webservice.Salesforce Marketing Cloud.com/Service.asmx ;
2.User Id - API User name to login using UserNamePassword authentication;
3.Password - The password for UserNamePassword authentication.

 

The following connection options are required for the ServerToServer authentication type:

1.Subdomain - your subdomain - a 28-character string starting with the letters "mc", for example, mc563885gzs27c5t9-63k636ttgm. You can find your subdomain in the url in your browser after logging in to Salesforce Marketing Cloud. For more information, see Marketing Cloud documentation.
2.Client Id - your app client ID from the App Center;
3.Client Secret - your app client Secret from the App Center.

You need to create a package with server-to-server integration type selected in the App Center in order to use this kind of authentiacation.

 

The following connection options are required for the AppCenterClient authentication type:

1.Client Id - your client ID from the App Center;
2.Client Secret - your client Secret from the App Center.

Note that AppCenterClient authentication is deprecated, and it is supported only for legacy packages. Since August 1, 2019, Marketing Cloud has removed the ability to create legacy packages, so any new packages are enhanced packages, not legacy packages, and they cannot use the App Center Client authentication.

You can use this authentication only if you have a legacy package, created before August 1, 2019.

 

 

In addition to the required options, Advanced connection options may be set for more fine connection tuning.

 

ExpandedToggleIcon        Advanced Connection Options

The following table describes the options that you can include in the Connection String using the Advanced Connection Editor dialog box:

 

Option

Description

AppClient Id

Specifies the application center client ID for AppCenterClient, ServerToServer, and RefreshToken authentication.

AppClient Secret

Specifies the application center client secret for AppCenterClient, ServerToServer, and RefreshToken authentication.

AppSandbox

Determines whether to use a sandbox account for AppCenterClient authentication.

AuthenticationType

Determines the authentication type to use. The following kinds are supported: AppCenterClient (deprecated), RefreshToken, ServerToServer, and UsernamePassword.

Client IDs

Specifies the list of specific partner accounts or business units for retrieve requests.

Connection Lifetime

Specifies the maximum lifetime (in seconds) of a connection. When a connection is returned to the pool, its creation time is compared with the current time, and the connection is destroyed if that time span exceeds the value specified by Connection Lifetime. The default value is 0 (connection always returns to pool).

Connection Timeout

Specifies the length of time (in seconds) to wait for a connection to the server before terminating the attempt and generating an error. The default value is 15.

Default Command Timeout

Specifies the time in seconds to wait while trying to execute a command before terminating the attempt and generating an error.

Failover Retries

Specifies the number of retry attempts to re-run a command in case when the command failed because of an exception, that indicates that the reason of the failure may be temporary.

Initialization Command

Specifies a data source-specific command to execute immediately after the connection is established.

Local SQL Engine

Determines whether to enable local SQL processing (enabled by default). Local SQL processing allows performing complex SELECT statements that cannot be directly compiled to Salesforce Marketing Cloud API calls. In this case ll the data from the mentioned cloud objects is queried to the local cache, and then the query is performed against the cache.

If local SQL processing is disabled, only simple SELECT statements that can be directly translated into Salesforce Marketing Cloud API calls can be used. More complex SELECT statements will fail.

Max Pool Size

Specifies the maximum number of connections allowed in the pool. Setting the Max Pool Size value in the connection string can affect performance. The default value is 100.

Min Pool Size

Specifies the minimum number of connections allowed in the pool. The default value is 0.

NormalizeDbNames

Determines whether database object names are normalized when retrieved from the database.

Password

Specifies the password for UserNamePassword authentication.

Persist Security Info

Indicates if security-sensitive information, such as the password, is not returned as part of the connection if the connection is open or has ever been in an open state.

Pooling

Specifies whether, by default, the connection is drawn from the appropriate pool or is created and added to the appropriate pool.

Proxy Host

Specifies the host name or IP address of the proxy server.

Proxy Password

Specifies the password for the proxy server account.

Proxy Port

Specifies the port number of the proxy server. The default value is 3128.

Proxy User

Specifies the proxy server account name.

Readonly

Indicates whether the connection is read-only (allows only SELECT statements).

Refresh Token

Stores an OAuth refresh token for Salesforce Marketing Cloud. Used for RefreshToken authentication.

Run Once Command

Specifies a command to execute immediately after establishing the connection. Unlike Initialization Command, it is not executed for connections obtained from the connection pool.

Subdomain

Specifies a tenant-specific subdomain of Marketing Cloud API endpoints. Used for RefreshToken and ServerToServer authentication.

Support Extensions Objects

Determines whether Salesforce Marketing Cloud Data Extensions are available via this connection, and whether their data can be viewed/edited.

Token Server

Is not used for Salesforce Marketing Cloud.

Url

Specifies the URL of a Salesforce Marketing Cloud instance for API UserNamePassword authentication. By default the S1 Instance address is used: https://webservice.ExactTarget.com/Service.asmx

User

Specifies the API user name to log in using UserNamePassword authentication.

UTC Dates

Converts dates to UTC format during import if set to True, and treats the date values entered by the user (in SELECT statements, etc.) as UTC dates when sending them to the data source.