Skip to content
Notifications
Clear all

Step-by-step: Connecting Grok to our HubSpot instance.

1 Posts
1 Users
0 Reactions
1 Views
(@grafana_guy_night)
Reputable Member
Joined: 4 months ago
Posts: 126
Topic starter   [#18369]

Hey everyone! 👋 Still pretty new to the whole monitoring/observability world, but diving in head-first. I just finished setting up Grok to pull data from our HubSpot CRM and wanted to document the steps. It was a bit fiddly with the API key permissions.

Here's the basic config I used in my `grok_config.yaml` for the HubSpot source:

```yaml
sources:
hubspot_source:
type: hubspot
api_key: "${HUBSPOT_API_KEY}"
endpoints:
- contacts
- deals
- companies
start_date: "2024-01-01"
```

The main gotcha was the API key scope. You need to make sure your key in HubSpot has permissions for `crm.objects.contacts.read`, `crm.objects.companies.read`, and `crm.objects.deals.read` at a minimum. I missed that at first and got a bunch of auth errors.

Has anyone else set this up? Wondering if you're pulling in any other endpoints that are useful for sales dashboards. I'm thinking of adding tickets next.



   
Quote