# Connect a chargebee account

> POST /connections/chargebee/connect

Source: https://docs.trykintsugi.com/reference/2026-12-03/connect-a-chargebee-account

API version: Tenanted API release 2026-12-03, latest, default in the docs

POST /connections/chargebee/connect

Connect a chargebee account

Create or update a Chargebee connection for a site, or (with `multipleBusinessEntityEnabled`) one business entity under that site. Re-submitting for the same site (or the same site + business entity) updates the stored key rather than creating a second connection. Returns 400 if the credentials or business entity id are invalid, or if `multipleBusinessEntityEnabled` is true without a `businessEntityId`. A multi-org credential must send an `Organization-Id`, `Connection-Id` or `Entity-Id` selector, or gets a 400. A `siteId` that is not a Chargebee site name returns 422.

Category: Connections

Request body:
siteId (string, required) - Chargebee site name only, such as `acme` or `acme-test`. Use 1 to 63 letters, digits or hyphens. Start and end with a letter or digit. Send the full site URL in `url`.
url (string, required) - Chargebee site URL.
apiKey (string, required) - Chargebee API key.
businessEntityId (string) - Business entity id; required when `multipleBusinessEntityEnabled`.
businessEntityName (string) - Business entity display name.
multipleBusinessEntityEnabled (boolean) - Connect one business entity rather than the whole site.
historicalSyncStartDate (string) - Import floor for a brand-new connection, as YYYY-MM-DD. Ignored on reconnect. `null` imports all available history.

Response fields:
id (string, required) - Kintsugi's unique identifier for the connection.
organizationId (string, required) - Id of the organization this connection belongs to.
platformEntityId (string) - The platform's own identifier for the entity this connection points at (e.g. a QuickBooks realm id, D365 company id, NetSuite subsidiary id). Use it to resolve a connection from an id you already hold. `null` until captured on (re)connect or backfilled.
externalId (string, required) - The connection's own external identifier: an Apideck consumer id for a Vault-backed source, or the platform-specific value the connector stores (e.g. a Shopify shop id, a Stripe publishable key).
source (string, required) - Origin platform of the connection (e.g. SHOPIFY, QUICKBOOKS). Any origin outside the published values is reported as OTHER.
[truncated, see the reference page]

---

Index of every page: https://docs.trykintsugi.com/llms.txt
