Ready to get started?

Connect to live data from Drift with the API Driver

Connect to Drift

Drift Reporting and Star Schemas in OBIEE



Create a star schema that shows perspectives on Drift facts in real time.

The CData ODBC Driver for Drift is a standard database driver that can integrate real-time access to Drift data into your data warehouse or directly into your reporting tool. This article shows how to bypass the data warehouse and import operational Drift data into Oracle Business Intelligence Enterprise Edition (OBIEE).

See the knowledge base for ODBC integrations with ETL tools like Informatica PowerCenter. For an ETL solution into Oracle Warehouse Builder, use the driver with the Oracle ODBC Gateway to Access Drift Data as a Remote Oracle Database.

Connect to Drift as an ODBC Data Source

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.

Start by setting the Profile connection property to the location of the Drift Profile on disk (e.g. C:\profiles\Drift.apip). Next, set the ProfileSettings connection property to the connection string for Drift (see below).

Drift API Profile Settings

Drift uses OAuth-based authentication.

You must first register an application here: https://dev.drift.com. Your app will be assigned a client ID and a client secret. Set these in your connection string via the OAuthClientId and OAuthClientSecret properties. More information on setting up an OAuth application can be found at https://devdocs.drift.com/docs/.

After setting the following options in the ProfileSettings connection property, you are ready to connect:

  • AuthScheme: Set this to OAuth.
  • OAuthClientId: Set this to the Client Id that is specified in your app settings.
  • OAuthClientSecret: Set this to Client Secret that is specified in your app settings.
  • CallbackURL: Set this to the Redirect URI you specified in your app settings.
  • InitiateOAuth: Set this to GETANDREFRESH. You can use InitiateOAuth to manage the process to obtain the OAuthAccessToken.

When you configure the DSN, you may also want to set the Max Rows connection property. This will limit the number of rows returned, which is especially helpful for improving performance when designing reports and visualizations.

Import Drift Metadata

Follow the steps below to use the OBIEE Client Tools to import Drift metadata into an OBIEE repository. You can then integrate Drift data into your business models.

  1. Open the Administration Tool and click File -> New Repository.

  2. In the Connection Type menu, select ODBC 3.5 and select the CData DSN.
  3. Select the metadata types you want to import under the Relational Sources option and then select Drift tables.
You can now create star schemas based on Drift tables: