# Connect a chargebee account

> POST /connections/chargebee/connect

Source: https://docs.trykintsugi.com/reference/2026-07-21/connect-a-chargebee-account

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.

Category: Connections

Request body:
siteId (string, required) - Chargebee site id.
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.
  allowed values: ACUMATICA, AIRWALLEX, AMAZON, API, APPLE_APP_STORE, BESTBUY, BIGCOMMERCE, BILL_COM, BUNNY, CAMPFIRE, CHARGEBEE, CHECKOUTCHAMP (and 58 more, see the reference page)
status (PublicConnectionStatusEnum, required) - Lifecycle status of the connection.
  allowed values: ACTIVE, INACTIVE, CONNECTION_ERROR
[truncated, see the reference page]

---

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