Quick Start
Install the plugin:corsair.ts
Authentication
Supported Auth Types
The HubSpot plugin supports both API key and OAuth 2.0 authentication methods.api_key- Private App API key authenticationoauth_2- OAuth 2.0 authentication
API Key Authentication (Private App)
Store credentials with the CLI:OAuth 2.0 Authentication
Store your OAuth app credentials, then start the flow:Webhook Secret
Store the webhook secret with the CLI:Options
The HubSpot plugin accepts the following configuration options:| Option | Type | Description |
|---|---|---|
authType | 'api_key' | 'oauth_2' | Authentication method |
credentials | object | Credentials object (apiKey for api_key, clientId/clientSecret for oauth_2) |
webhookSecret | string | Webhook signing secret (optional) |
hooks | object | Endpoint hooks for custom logic |
webhookHooks | object | Webhook hooks for event handling |
errorHandlers | object | Custom error handlers |