Overview
The Sanka connector for Claude lets you manage deals, contacts, companies, invoices, and more using natural language inside any Claude conversation. Connect once via OAuth and start working immediately. Three ways to use Sanka with AI:| Path | Audience | Setup time |
|---|---|---|
| Claude Connector | Everyone | 0 min — just click Connect |
| MCP Server | Developers in IDEs | 2 min — add config to your editor |
| SDK | Developers in code | 5 min — install package, write code |
Connect Sanka to Claude
- Open Claude → Settings → Connectors
- Find Sanka and click Connect
- Sign in to your Sanka workspace and grant permissions
- Done — Claude can now access your Sanka data
Scopes
When you connect, you can grant Claude access to:- Deals, contacts, companies — create, read, update
- Invoices, estimates, orders — create, read, update
- Subscriptions, payments, bills — manage billing lifecycle
- Items, inventory — read stock levels and product catalog
- Workflows — trigger and manage automations
- Reports — query business metrics
Usage Examples
Example 1: Create and enrich a deal
Ask Claude to create a new deal and automatically enrich the company data:“Create a deal for jane@acme-corp.com — they’re evaluating our platform for their 50-person sales team. Enrich the company data so we know their industry and tech stack.”What happens behind the scenes:
- Claude calls
executeto create a contact for jane@acme-corp.com - Claude calls
executeto enrich the company (acme-corp.com) — pulling industry, employee count, tech stack, and funding data - Claude calls
executeto create the deal linked to the contact and enriched company - Claude returns a summary with the deal details and enriched firmographic data
Example 2: Pipeline review with filters
Ask Claude to analyze your current pipeline:“Show me all deals closing this month with a value over $10,000. Sort by close date and flag any that haven’t been updated in the last 7 days.”What happens behind the scenes:
- Claude calls
executeto list deals with date and amount filters - Claude processes the results, checking last-updated timestamps
- Claude returns a formatted table with flagged stale deals
Example 3: Invoice a closed deal
When a deal closes, ask Claude to generate the invoice:“The Acme Corp deal just closed for $24,000/year. Generate an invoice with NET30 terms and send it to their billing contact.”What happens behind the scenes:
- Claude calls
executeto retrieve the deal and associated contacts - Claude calls
executeto create an invoice with the deal amount, NET30 terms, and billing contact - Claude returns the invoice details with a link to review before sending
Example 4: Lead scoring
Ask Claude to score and prioritize your leads:“Score all contacts added this week by ICP fit. Our ideal customer is a B2B SaaS company with 50-500 employees in North America.”What happens behind the scenes:
- Claude calls
executeto list recently created contacts - Claude calls
executeto enrich each contact’s company data - Claude calls
executeto score each contact against the ICP criteria - Claude returns a ranked list with scores and reasoning
Available Tools
The connector exposes two MCP tools:execute
Runs JavaScript/TypeScript code against the Sanka SDK in a sandboxed environment. This is the primary tool — it can call any Sanka API endpoint.
- Annotations:
readOnlyHint: false,destructiveHint: true - Capabilities: Full CRUD on all Sanka resources (deals, contacts, invoices, etc.)
- Security: Code runs in an isolated Deno subprocess with network access limited to the Sanka API
search_docs
Searches the Sanka SDK documentation to find methods, parameters, and usage examples.
- Annotations:
readOnlyHint: true - Use case: Claude uses this to discover the right API methods before writing code
Technical Details
OAuth Configuration
| Parameter | Value |
|---|---|
| Authorization URL | https://app.sanka.io/oauth/authorize |
| Token URL | https://app.sanka.io/oauth/token |
| Revoke URL | https://app.sanka.io/oauth/revoke |
| JWKS URL | https://app.sanka.io/oauth/jwks.json |
| Grant type | Authorization Code with PKCE |
| Token format | JWT (RS256 or HS256) |
| Token lifetime | 15 minutes (auto-refreshed) |
| Refresh token | 30 days, stored in httponly cookie |
MCP Server
| Parameter | Value |
|---|---|
| Transport | Streamable HTTP |
| Endpoint | https://mcp.sanka.io/mcp |
| Authentication | Bearer token (OAuth access token) |
| Tool response limit | Under 25,000 tokens |
Privacy & Security
- Privacy policy: sanka.io/privacy
- Data handling: Claude sends API requests to Sanka on behalf of the user. No data is stored by the connector beyond the OAuth token.
- Token storage: OAuth tokens are managed by Claude and refreshed automatically.
- Revocation: Users can revoke access from Sanka’s developer settings at any time.