Forum Discussion
Pull data from Hubspot into PBI via API
- Anonymous4 years ago
HI JordanPearson,
According to the error message, it seems like you directly input API key value into the data connector, right? AFAIK, this connector will require you to define what type of API key that sends to the API service. (normally they will be defined as 'key name' = 'key value' to use in the connector)
Here is the sample query:
let Source = OData.Feed( "<API URL>", null, [Headers = [ #"ApiKey" = "<YOUR API KEY>" ]] ) in SourceNotice: #"ApiKey" part can be changed, you can check the API document definition first.
Regards,
Xiaoxin Sheng
A HubSpot Certified App is available in the HubSpot App Marketplace for connecting HubSpot to Power BI. A free trial is available.
https://ecosystem.hubspot.com/marketplace/apps/marketing/analytics-data/powerbi
Here is a map of data flow from HubSpot to Power BI that the integration provides:
HubSpot Data Data Flow Power BI
| Companies | --> | Companies |
| Contacts | --> | Contacts |
| Deals | --> | Deals |
| Engagements | --> | Engagements |
| Email Events | --> | Email Events |
| Tickets | --> | Tickets |
| Owners | --> | Owners |
| Products | --> | Products |
| Forms | --> | Forms |
| Companies | --> | Company Properties |
| Contacts | --> | Contact Properties |
| Associations | --> | CRM Associations |
| Deal Pipelines | --> | Deal Pipelines |
| Deals | --> | Deal Properties |
| CampaignEmailEvents | --> | Marketing Email |
| Custom Objects | --> | CRM Associations |
| Quotes | --> | CRM Associations |
| Contact Lists | --> | Contact Lists |
| Website Pages | --> | Analytics |
| Workflows | --> | Workflows |
Here is a link to the documentation: https://support.datawarehouse.io/hc/en-us/articles/360006051874-Power-Bi-Connector-Manual
Your approach is mostly correct. The "API key name" is typically a header or parameter name required for authentication. For easier integration of HubSpot data into Power BI, consider using Skyvia. It provides a no-code solution to connect HubSpot with Power BI, bypassing the complexities of direct API integration.