HubSpot connector - Writer AI Studio
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
This guide shows you how to configure the HubSpot connector for WRITER Agent. After setting up this connector, WRITER Agent can perform operations like retrieving and searching CRM records including contacts, companies, deals, tickets, engagements, and notes.
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 supports two authentication options:
- WRITER-managed OAuth (recommended): Writer provides the OAuth application. No setup required - just authorize access to your HubSpot account.
- Organization-managed OAuth: Create your own HubSpot OAuth application for custom branding and control.
Most users should choose WRITER-managed OAuth for faster setup. Only use organization-managed OAuth if you need custom branding or have specific security requirements.
Create a HubSpot OAuth application (organization-managed only)
If you choose to create a self-managed OAuth application to connect, 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:
https://app.writer.com/mcp/oauth/callback
If your organization is deployed in the EU, use https://app.eu2.writer.com/mcp/oauth/callback instead.
- Copy the client ID and client secret
For detailed instructions, see HubSpot’s OAuth documentation.
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
- 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 type:
- Level: User level (each user authenticates their own account) or org level (shared connection to a single account)
- Managed by: WRITER-managed or self-managed (your own OAuth app)
- Select which tools to enable for your agents
- Enter your OAuth client ID and client secret (if using self-managed OAuth)
- 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
- WRITER Agent guide: Learn how to use WRITER Agent with connected tools
- MCP gateway overview: Learn about Writer’s MCP gateway architecture