- 225 typed API operations
- 14 synced entities (
account,campaign,campaignMember,contact,contentDocument,emailMessage, and 8 more) for fast.search()/.list() - 7 incoming webhook event types
Setup
1
Install
2
Add the plugin
corsair.ts
corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.3
Choose authentication
- OAuth 2.0 (Recommended)
- API Key
Open hub.corsair.dev, navigate to your project, and enter the client ID and client secret from your Salesforce OAuth app.More: OAuth 2.0
4
Connect a tenant
Mint a connect link and send the tenant to it. Hub hosts the page and delivers the result to your app — see Connect / OAuth.
Example API calls
accounts.fetchAccountByIdWithQuery
accounts.accountCreationWithContentTypeOption
Query synced data
Synced entities supporttenant.salesforce.db.<entity>.search() and .list(): account, campaign, campaignMember, contact, contentDocument, emailMessage, lead, note, opportunity, opportunityLineItem, pricebook, pricebookEntry, task, user.
See Database for filters and operators.
Webhooks
This plugin registers 7 webhook event types. Configure the provider to POST to your Corsair HTTP handler, then usewebhookHooks on the plugin factory.
See Webhooks for every event path and payload shape, and Webhooks concept for routing.
What’s next
API reference
Every
salesforce.api.* operation with input and output types.Database
Synced entities, search filters, and operators.
Webhooks
Event paths, payloads, and
webhookHooks examples.Connect / OAuth
createLink, Hub delivery, and tenant connect flows.
Use with agents
Expose this plugin’s operations as MCP tools.