Connect to Salesforce CRM Analytics Data in DBArtisan

Jerod Johnson
Jerod Johnson
Director, Technology Evangelism
Use wizards in DBArtisan to configure Salesforce CRM Analytics data as a data source.

The CData ODBC Driver for Salesforce CRM Analytics seamlessly integrates Salesforce CRM Analytics data into database management tools like DBArtisan by enabling you to access Salesforce CRM Analytics data as a database. This article shows how to create an data source for Salesforce CRM Analytics in DBArtisan and execute queries. You can then edit data visually and execute standard SQL.

Integrate Salesforce CRM Analytics Data into DBArtisan Projects

If you have not already, first specify connection properties in an ODBC DSN (data source name). This is the last step of the driver installation. You can use the Microsoft ODBC Data Source Administrator to create and configure ODBC DSNs.

Salesforce CRM Analytics uses the OAuth 2 authentication standard. Obtain the OAuthClientId and OAuthClientSecret by registering an app with Salesforce CRM Analytics.

See the Getting Started section of the Help documentation for an authentication guide.

Multi-Factor Authentication (MFA)

If the connected Salesforce org has MFA enforcement enabled, set MFACode to the time-based one-time passcode (TOTP) generated by your authenticator app (such as Salesforce Authenticator or Google Authenticator). MFACode applies alongside the standard OAuth flow.

You can then follow the steps below to register Salesforce CRM Analytics data as a database instance in your project:

  1. In DBArtisan, click Data Source -> Register Datasource.
  2. Select Generic ODBC.
  3. Enter a name for the data source and select the DSN. The DSN of the data source to be registered. (Salesforce is shown.)
  4. Finish the wizard to connect to Salesforce CRM Analytics data. Salesforce CRM Analytics entities are displayed in the Datasource Explorer. The Datasource Explorer. (Salesforce is shown.)

You can now work with Salesforce CRM Analytics data as you work with any other database. See the driver help documentation for more information on the queries supported by the Salesforce CRM Analytics API.

The results of a query. (Salesforce is shown.)

Ready to get started?

Download a free trial of the Salesforce CRM Analytics ODBC Driver to get started:

 Download Now

Learn more:

Salesforce CRM Analytics Icon Salesforce CRM Analytics ODBC Driver

The Salesforce CRM Analytics ODBC Driver is a powerful tool that allows you to connect with live data from Salesforce CRM Analytics, directly from any applications that support ODBC connectivity.

Access Salesforce CRM Analytics data like you would a database - read, write, and update Salesforce CRM Analytics Dataset, Lens, etc. through a standard ODBC Driver interface.