The HubSpot connector provides read-only access to CRM data. It does not support creating or updating records.
Set up the HubSpot connector
Configure the HubSpot connector in AI Studio under Connectors & Tools. The HubSpot connector requires organization-managed OAuth authentication.The HubSpot connector only supports organization-managed OAuth. You must create your own HubSpot OAuth application. WRITER-managed OAuth is not available for HubSpot.
Create a HubSpot OAuth application
Create an OAuth 2.0 application in HubSpot:- Navigate to your HubSpot developer account
- Create a new app or select an existing app
- Configure OAuth settings with the required scopes
- Add the Writer redirect URI to Redirect URLs:
- Copy the client ID and client secret
Required OAuth scopes
oauth- Base OAuth accesscrm.objects.tickets.read- Read ticket datacrm.objects.users.read- Read user informationcrm.objects.products.read- Read product catalogcrm.objects.line_items.read- Read line item detailscrm.objects.carts.read- Read shopping cart datacrm.objects.subscriptions.read- Read subscription informationcrm.objects.owners.read- Read object ownership datacrm.objects.orders.read- Read order informationcrm.objects.invoices.read- Read invoice datacrm.objects.quotes.read- Read quote information
OAuth scopes are fixed per connector and cannot be customized based on enabled tools. When users authorize the HubSpot connector, they will grant all the scopes listed above, even if you disable certain tools in AI Studio.
Configure the connector in AI Studio
After creating your HubSpot OAuth application:- Navigate to Connectors & Tools in AI Studio
- Select the HubSpot connector
- Select who has access by default (all users or specific teams)
- Select the connection level: User level (each user authenticates their own account) or org level (shared connection to a single account)
- Select which tools to enable for your agents
- Enter your OAuth client ID and client secret
- Complete the OAuth authorization flow
Next steps
- Set up connectors: Learn how to configure and enable connectors in AI Studio
- Tool calling guide: Understand how AI agents use tools in conversations
- Action Agent guide: Learn how to use Action Agent with connected tools
- MCP gateway overview: Learn about Writer’s MCP gateway architecture