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:

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:

  1. Navigate to your HubSpot developer account

  2. Create a new app or select an existing app

  3. Configure OAuth settings with the required scopes

  4. 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.

  1. Copy the client ID and client secret

For detailed instructions, see HubSpot’s OAuth documentation.

Required OAuth scopes

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

  1. Navigate to Connectors & Tools in AI Studio
  2. Select the HubSpot connector
  3. Select who has access by default (all users or specific teams)
  4. 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)
  5. Select which tools to enable for your agents
  6. Enter your OAuth client ID and client secret (if using self-managed OAuth)
  7. Complete the OAuth authorization flow

Next steps