Quick Setup Guide for CData HubSpot Drivers



Introduction: Overview

CData Driver set up guide: Power BI Connector

Step 1: Installation

Analyzing HubSpot data in Power BI is a very popular use-case of CData Drivers for Hubspot. Here is the step-by-step guide on how to use CData Driver for HubSpot taking Power BI as an example. You can connect to HubSpot data directly from Power BI Desktop without any ETL tool or database in the middle, or any coding effort.

  1. Navigate to the CData website for CData Power BI Connector for HubSpot.
  2. Click “Download A Free Trial” button.
  3. Fill the Trial Request form and click the “Download” button.
  4. “HubSpotPowerBIConnector.exe” will be downloaded. Run the installer, read and agree on the EULA, and navigate to complete the installation.
  5. Once the installation is complete, Check the “Configure Power BI Data Source” (checked by default), and click “Finish” button.

Step 2: DSN Configuration, Connecting to HubSpot

  1. After the installation finished, the DSN (Data Source Name) Configuration window will open. Here are the basic settings required to connect to HubSpot from CData Power BI Connector for HubSpot. For customization, please look at the Help documentation.
    • Auth Scheme: OAuth
    • Initiate OAuth: GETANDREFRESH
    • Schema: HubSpotV3
    • Expand Associations: False
    • Include Custom Tables: True
  2. Click “Test Connection”. The browser will open for you to authorize the access to your HubSpot account.
  3. Authorization Success status is shown.
  4. You can go back to the DSN Configuration Window. Success message is shown and close it by clicking “OK”.
  5. Close the DSN Configuration Window by clicking “OK”.

Connecting to HubSpot from Power BI

  1. Now, open Power BI Desktop. “Get data” → “More”.
  2. Select “CData HubSpot (Custom) from Others and click “Connect” button.
  3. Confirmation for connecting to a third-party service may show up, click “Continue” to proceed.
  4. Set the data source information
    • Data Source Name: CData PBI HubSpot Source (or the name you set when configuring DSN)
    • Advance Connection Properties: optional
    • SQL statement: optional. You can use custom SQL with clauses like JOIN, WHERE, GROUP BY, ORDER BY etc. See the Documentation for more details.
    • Data Connectivity mode: choose from Import / DirectQuery. Import mode (default) imports the data to Power BI Desktop, while DirectQuery mode executes live queries to HubSpot for each refresh.
  5. Click “Connect” to proceed.
  6. The navigator opens and displays the HubSpot objects you can use in Power BI. Objects are modeled as tables so that you can use from Power BI easily. Select the objects you wish to analyze in Power BI. Click “Load” to import the data to Power BI.
  7. Now your HubSpot data is available in Power BI.
  8. You can create your report and analyze HubSpot data.

How to disconnect CData Drivers and Connectors from HubSpot

Disconnecting an established connection to HubSpot is easy. Open ConfigureODBC.exe in the installation location for CData Power BI Connector for HubSpot directory and click [Reset Connection].

How to Uninstall CData Drivers: Power BI Connector

Go to the CData Power BI Connector for HubSpot directory and double click Uninstall.exe and click [Uninstall] button and the product will be uninstalled from your machine.