Overview
CrewAI supports integration with HubSpot CRM, enabling your crews to interact with contacts, companies, deals, tickets, and products.Prerequisites
- A HubSpot account (any tier)
- Access to the HubSpot Developer Portal
- Admin permissions in your HubSpot account to install apps
HubSpot App Setup
Step 1: Access the Developer Portal
- Navigate to the HubSpot Developer Portal
- Sign in with your HubSpot account
- If you don’t have a developer account, click Create a developer account
Step 2: Create a New App
- In the Developer Portal, click Apps in the top navigation
- Click Create app
- Fill in the app details:
- App name: Enter a name (e.g., “CrewAI Integration”)
- Description: Optional description of the integration
- Logo: Optional logo for the app
Step 3: Configure OAuth Settings
- In your app settings, navigate to the Auth tab
-
Under Redirect URLs, add:
Replace
<YOUR_APPLICATION_HOST>with your CrewAI application domain. - Under Scopes, select the scopes required for your use case (see Required Scopes below)
Step 4: Get Your Credentials
-
In the Auth tab, locate your credentials:
- Client ID: Your app’s unique identifier
- Client Secret: Click Show to reveal the secret
- Store these credentials securely for CrewAI configuration
Required Scopes
Select the scopes based on the HubSpot features you want to use with CrewAI:Contacts
| Scope | Description |
|---|---|
crm.objects.contacts.read | Read contact records |
crm.objects.contacts.write | Create and update contact records |
Deals
| Scope | Description |
|---|---|
crm.objects.deals.read | Read deal records |
crm.objects.deals.write | Create and update deal records |
Companies
| Scope | Description |
|---|---|
crm.objects.companies.read | Read company records |
crm.objects.companies.write | Create and update company records |
Tickets
| Scope | Description |
|---|---|
tickets | Full access to support tickets |
Products
| Scope | Description |
|---|---|
e-commerce | Access to products and e-commerce data |
Complete Scopes Summary
For full CRM integration, add all of the following scopes:| Scope | Purpose |
|---|---|
crm.objects.contacts.read | Read contacts |
crm.objects.contacts.write | Write contacts |
crm.objects.deals.read | Read deals |
crm.objects.deals.write | Write deals |
crm.objects.companies.read | Read companies |
crm.objects.companies.write | Write companies |
tickets | Access tickets |
e-commerce | Access products |
Configure CrewAI Helm Values
Add your HubSpot credentials to your CrewAI Helm values:Related Guides
- Google Workspace Integrations - Gmail, Calendar, Drive, Sheets, Slides, Docs, Contacts
- Microsoft 365 Integrations - Outlook, OneDrive, Teams, SharePoint, Excel, Word
- Notion Integration - Workspaces, databases, pages, and comments
