Save Big on Cyber Monday! Up to 40% Off
ends in   {{days}}
Days
{{timeFormat.hours}}
:
{{timeFormat.minutes}}
:
{{timeFormat.seconds}}

Getting started with Devart ODBC Driver for Salesforce Marketing Cloud

To connect ODBC-compatible applications to Salesforce Marketing Cloud (formerly ExactTarget), you need an ODBC driver and access to a Salesforce Marketing Cloud account.

Devart ODBC Driver for Salesforce Marketing Cloud enables connectivity to Salesforce Marketing Cloud on Windows, allowing BI and reporting tools, IDEs, spreadsheets, programming languages, and other ODBC-compatible applications to access its data using standard SQL. The Driver can connect directly via HTTPS or via a proxy, and it does not require additional client software.

This guide shows you how to install and activate the Driver, configure an ODBC data source (DSN), connect to Salesforce Marketing Cloud using a DSN or connection string, and troubleshoot common connection issues.

Quick start: Connect to Salesforce Marketing Cloud with ODBC

To connect to Salesforce Marketing Cloud using the Devart ODBC Driver:

  1. Download and install the Driver for Windows.
  2. Activate the Driver using your activation key, or continue with the 30-day trial.
  3. Create an ODBC data source (DSN) and select Devart ODBC Driver for Salesforce Marketing Cloud.
  4. Configure the connection by selecting an authentication method — user ID and password, App Center Client, or Server to Server — and entering the corresponding credentials.
  5. Use the DSN in your ODBC-compatible application to connect to Salesforce Marketing Cloud and work with its data.

The following sections provide detailed installation and configuration instructions.

Prerequisites

Before you begin, make sure your environment meets the following requirements:

  • Operating system: 32-bit or 64-bit Windows (including Windows Terminal Server). The Driver is compatible with all Windows versions (Windows Vista and later) that support .NET Framework 4.5.
  • .NET Framework: Version 4.5 or later.
  • ODBC driver manager: Included with Windows.
  • Connection details: An active Salesforce Marketing Cloud account and the credentials for your authentication method:
    • User ID and password — your Salesforce Marketing Cloud user ID and password.
    • App Center Client — the client ID and client secret of your App Center application.
    • Server to Server — your subdomain, and the client ID and client secret of your installed package.
  • Activation key: A purchased version of the Driver requires an activation key. For evaluation purposes, you can use the trial version, which is valid for 30 days from installation.
  • Administrator rights: Required to install the Driver.
Note
Only one version of Devart ODBC Driver for Salesforce Marketing Cloud can be installed on a computer at a time.

For a list of supported platforms and third-party tools, see the compatibility page for ODBC Driver for Salesforce Marketing Cloud.

Install the ODBC Driver

Installing the Devart ODBC Driver for Salesforce Marketing Cloud is straightforward. All you need to do is download the package for your operating system (Windows) and follow the installation instructions.

Note
The installer for Devart ODBC Driver for Salesforce Marketing Cloud is available in two formats: .exe and .msi.
  • Use the .exe installer for manual installation on individual computers.
  • Use the .msi installer for enterprise deployments and automated installation.
You can deploy the .msi package to domain computers through Group Policy and activate the Driver without user interaction. For more information, see Remote installation using Group Policy.

1. Download the Driver for Salesforce Marketing Cloud from the Devart website, open it, and click Next.

Install Devart ODBC Driver for Salesforce Marketing Cloud on Windows

2. Read the License Agreement, select I accept the agreement, and click Next.

Read and accept the license agreement

3. On the Select Destination Location page, keep the default folder or click Browse to choose another one, and click Next.

We recommend that you uninstall any previous version of the Driver before installing a new one. If the installation folder already exists or another version is installed, a warning appears; click Yes to overwrite the existing files.

Select a folder for the installation

4. On the Select Components page, select Driver for Win32, Driver for Win64, or both, depending on the bitness of your applications. To skip the documentation, clear Help and Manual. Click Next.

Note
Install the Driver version that matches your application bitness, not your operating system bitness. For example, a 32-bit application, such as 32-bit Microsoft Office, requires a Driver for Win32 even on 64-bit Windows.

Choose the required ODBC Driver version

5. On the Select Start Menu Folder page, specify the folder for the Driver shortcuts. To skip creating a Start Menu folder, select Don't create a Start Menu folder. Click Next, then click Install.

Select the Start Menu folder

6. On the License Information page, select Input activation key and enter your key. You can find it in the registration email or your Customer Portal. To open the Customer Portal, click Get Activation Key.

If the activation key is saved on your computer, click Load Activation Key and select the corresponding file.

To evaluate the Driver without a purchased key, select Trial evaluation.

Activate Devart ODBC Driver for Salesforce Marketing Cloud

7. Click Next, then click Finish to complete the installation.

Configure an ODBC data source

In this guide, you create a Data Source Name (DSN) for the ODBC connection and verify the connection details. A DSN stores connection settings, such as the authentication method and credentials that applications use to connect to Salesforce Marketing Cloud. Applications can also connect without a DSN by passing the same parameters in a connection string.

To configure an ODBC data source, follow the steps outlined below.

1. In Windows Search, enter ODBC Data Sources, and open the ODBC Data Source Administrator that matches the bitness of your application.

2. Go to the User DSN or System DSN tab, and click Add:

  • User DSN — Available only to the user who creates it.
  • System DSN — Available to all users on the computer.
Note
Most applications support all DSN types. However, some applications require a specific DSN type.

3. In the Create New Data Source dialog, select Devart ODBC Driver for Salesforce Marketing Cloud, and click Finish.

Create a new data source as the ODBC Driver for Salesforce Marketing Cloud

4. In the Devart ODBC Driver for Salesforce Marketing Cloud Configuration dialog, enter a Data Source Name and an optional Description.

5. In the Authentication list, select the authentication method and enter the corresponding connection details. The Driver supports three authentication methods: User and Password (the default method), App Center Client, and Server to Server.

Note
This tutorial assumes that you already have an active account with Salesforce Marketing Cloud and the necessary credentials to log in and authenticate using your preferred method.

Authenticating with user ID and password

  • Select User and Password in the Authentication field.
  • In the Server field, enter the address of your Salesforce Marketing Cloud server.
  • Enter your User ID and Password. To store the password in the DSN, select Save Password.

Authentication to Salesforce Marketing Cloud with a user ID and password

Authenticating via App Center Client

  • Select App Center Client in the Authentication field.
  • To connect to a sandbox account instead of a production account, select Sandbox.
  • Enter the Client ID and Client Secret of your App Center application. To store the client secret in the DSN, select Save Secret.

App Center Client authentication to Salesforce Marketing Cloud

Server to Server authentication

  • Select Server to Server in the Authentication field.
  • In the Subdomain field, enter your Salesforce Marketing Cloud subdomain — a 28-character string that starts with mc.
  • Enter the Client ID and Client Secret of your installed package. To store the client secret in the DSN, select Save Secret.

Server-to-server authentication to Salesforce Marketing Cloud

Optionally, in the Partner IDs field, specify the partner accounts or business units for retrieve requests. If you connect through a proxy server, enter the Proxy Server, Port, Proxy User ID (the proxy username), and Proxy Password.

6. Optional: Click Test Connection to verify the connection settings. Click OK to save the DSN settings.

To fine-tune metadata, timeout, and compatibility behavior, use the Advanced Settings tab of the same dialog.

Connect to Salesforce Marketing Cloud using a connection string

In addition to using a DSN, you can connect to Salesforce Marketing Cloud by specifying the connection parameters directly in an ODBC connection string. This type of connection is known as a DSN-less connection.

The following table summarizes when to use each connection method:

Connection method How it works Best for
DSN Stores the connection settings in a configured ODBC data source. Applications connect by specifying the DSN name. Desktop applications, BI and reporting tools, and reusable connections configured on a client computer.
DSN-less Specifies the Driver and connection parameters directly in a connection string. No DSN needs to be created beforehand. Applications, scripts, and automated deployments where connection settings are managed programmatically.

For user ID and password authentication, use the following connection string configuration.

DRIVER={Devart ODBC Driver for Salesforce Marketing Cloud};Authentication=UserandPassword;Server=https://webservice.s7.exacttarget.com/Service.asmx;User ID=your_user_id;Password=your_password

For App Center Client authentication, use the following connection string configuration.

DRIVER={Devart ODBC Driver for Salesforce Marketing Cloud};Authentication=AppCenterClient;App Client ID=your_client_id;App Client Secret=your_client_secret

For Server to Server authentication, use the following connection string configuration.

DRIVER={Devart ODBC Driver for Salesforce Marketing Cloud};Authentication=ServerToServer;Subdomain=your_subdomain;App Client ID=your_client_id;App Client Secret=your_client_secret

Replace the placeholder values with your connection details.

To connect through a proxy server, add the Proxy Server, Proxy Port, Proxy User, and Proxy Password parameters to the connection string. For the complete list of supported options, see the Salesforce Marketing Cloud ODBC connection string parameters page.

Troubleshooting

If you cannot connect to Salesforce Marketing Cloud through the Devart ODBC Driver, refer to the following list of common connection issues and their solutions.

You get a "Product is not activated or has been deactivated" error

This error occurs when the Driver has not been activated or its activation is no longer valid. Activation is required for both purchased and trial versions.

Open the DSN configuration dialog, go to the License tab, click Input Activation Key, and enter your activation key. After activation, test the connection again.

The ODBC data source is not found or the Driver is not available

If your application cannot find the DSN or the required Devart ODBC Driver, check the application and Driver bitness.

A 32-bit application cannot use a DSN created in the 64-bit ODBC Data Source Administrator, and a 64-bit application cannot use a DSN created in the 32-bit administrator.

Make sure that:

  • The DSN is created in the ODBC administrator that matches your application's bitness.
  • The corresponding 32-bit or 64-bit version of the Driver is installed.
  • The application is configured to use the correct DSN.

Authentication fails

If Salesforce Marketing Cloud is reachable but authentication fails, check the connection settings:

  • Make sure the value selected in the Authentication field matches the credentials you provide.
  • For User and Password authentication, verify the Server address, User ID, and Password.
  • For App Center Client authentication, verify the Client ID and Client Secret, and check whether the Sandbox option matches your account type.
  • For Server to Server authentication, verify the Subdomain value, and the Client ID and Client Secret of your installed package.
  • If Save Password or Save Secret is cleared, the application must provide the value at runtime. Applications that cannot display a prompt may fail to connect.

Salesforce Marketing Cloud connection times out

If the connection to Salesforce Marketing Cloud takes too long to establish, increase Connection Timeout on the Advanced Settings tab. The default connection timeout is 60 seconds. Also, check the network connection and proxy settings.

Additional resources

After you install and configure Devart ODBC Driver for Salesforce Marketing Cloud, use the following resources to continue setting up and working with your connections:

ODBC Drivers

Reliable and easy-to-use ODBC connectors for popular data sources. Compatible with multiple third-party tools.