< Back to all integrations
ERP & Finance

Connect AI agents and workflows to Chargebee: customers, subscriptions, invoices, credit notes, plans and usage, with webhooks on billing events.

Book a demo
[ Chargebee + engini ]

Chargebee for AI agents and workflows.

engini lets your AI agents and workflows work in Chargebee: read customers, subscriptions and invoices, create and change subscriptions, record usage, issue credit notes, and start a workflow the moment Chargebee reports a new subscription, a renewal, a failed payment or a cancellation. Subscription revenue reaches the ERP and the CRM without exports. Connect from Claude, ChatGPT or Cursor over MCP, from your code, or build in Workflow Studio.

MCPPython and TypeScript SDKCLIREST APIWorkflow Studio
Sign-inYour Chargebee site and an API key
ReachCustomers, subscriptions, invoices, credit notes, items, prices and usage
TriggersChargebee webhooks, as billing events happen
[ 01 / What agents can do ]

What your agent can do in Chargebee. Every tool is one you allow or leave out.

The Chargebee tools in engini, grouped by what they change. Read tools are safe to hand out widely. Write and delete tools go only to the agents that need them.

Read

Get Customers, Get Subscriptions

Read who subscribes to what, with status and renewal date.

Read
Get Invoices, Get Credit Notes

Read billing and what was credited.

Read
Get Items, Get Item Prices

Read plans, add-ons and prices.

Read

Write

Create Subscription, Update Subscription

Start or change a plan, quantity or term.

Write
Cancel Subscription, Pause Subscription

End or pause a subscription.

Write
Record Usage

Add metered usage for billing.

Write
Create Credit Note

Credit a customer against an invoice.

Write
Create or Update Customer

Keep customers current.

Write

Any endpoint

Send API Request

Call any Chargebee API endpoint, with the key added for you.

Any call

Triggers

Subscription Created, Subscription Renewed, Subscription Cancelled

Subscriptions that started, renewed or ended.

Event
Payment Succeeded, Payment Failed

A charge went through or failed.

Event
Invoice Generated

A new invoice.

Event

A trigger starts a workflow, and a workflow can include an AI agent step. In Code, a trigger delivers the event to your own endpoint.

[ 02 / Connect your agent ]

Connect your AI agent to Chargebee. Four ways in, one set of permissions.

MCP

Claude, ChatGPT, Cursor

Create an MCP server in engini with your Chargebee connection and only the tools you choose. Add its address to your client and sign in through engini. There is no key to copy.

MCP client setup →
SDK

Python and TypeScript

Hand your agent a toolset of Chargebee tools. The SDK gives OpenAI and Anthropic models the tools in the format they expect and runs the ones they pick.

SDK guide →
CLI

For coding agents

The engini CLI connects Chargebee and runs its tools from a terminal, with machine-readable output, so an AI coding agent can drive it without getting stuck.

CLI guide →
REST API

Any language

Every Chargebee tool is an endpoint. Call it with exact inputs from a scheduled job or a sync, with no model in the loop.

API reference →
MCP in four steps
In engini, connect Chargebee and create an MCP server with that connection and the tools this agent may use.
Claude: Settings, Connectors, Add custom connector, then paste the server address.
Cursor: add the address to .cursor/mcp.json. Claude Code: claude mcp add.
Sign in through engini when the client asks. The agent sees only the tools you chose.
Cursor, connected to Chargebee through engini
// .cursor/mcp.json: Cursor, connected to Chargebee through engini
{
"mcpServers": {
"engini-chargebee": {
"url": "<your engini MCP server address>"
}
}
}

Create the MCP server in engini with your Chargebee connection and the tools this agent may use, then paste its address. The client signs in through engini on first use. Claude, VS Code and other clients take the same address: see the MCP client setup guide.

Try asking your agent
“Which subscriptions renew next month, and for how much?”
“Move Acme to the annual plan from their next renewal.”
“Which payments failed this week?”
“Record 12,000 API calls of usage for Contoso.”
“Issue a credit note for the outage on invoice 1042.”
“What is our MRR by plan?”

Each request runs through the Chargebee tools in the agent's toolset or MCP server. If a tool is not allowed, the agent cannot call it.

[ 03 / What teams build ]

What teams build on Chargebee. Agents and workflows, across systems.

Finance

Invoices and revenue in the ERP

Chargebee invoices, payments and credit notes post to NetSuite, Sage Intacct or QuickBooks.

ChargebeeNetSuiteSage Intacct
Revenue operations

Won deals become subscriptions

A deal won in Salesforce or HubSpot creates the Chargebee customer and subscription.

SalesforceHubSpotChargebee
Product

Usage billed from the product

Usage from the product database is recorded in Chargebee every night.

PostgreSQLSnowflakeChargebee
Customer success

Churn signals acted on

A cancellation or failed payment alerts the account owner in Slack with the account history.

ChargebeeSlackSalesforce

Every integration runs both ways, so any of these flows can also run in reverse. These are examples, not the limit: any flow between Chargebee and another system engini connects is available.

[ 04 / Agent Policy ]

You decide what each agent may do in Chargebee. engini enforces it on every call.

Toolsets

Only the tools you allow

A toolset lists the Chargebee tools an agent may call and the connection each one uses. Give one agent read tools only and another the write it needs. engini refuses any call outside the toolset.

MCP servers

Scoped when you set them up

An MCP server exposes only the connections and tools chosen when it is created, and engini shows who uses each server.

Identity

Whose permissions apply

Connect a person's own Chargebee account and engini acts as that person, with their Chargebee permissions. Use a shared integration account and it acts as that account. Every run is recorded under the user who started it.

Credentials

Kept out of prompts

Your agent never needs your credentials: engini stores them and adds them when it runs each call, so keys stay out of prompts and tool inputs.

Audit

Every call on record

Every call lands in History and the audit log, which you can export or stream to your SIEM.

Environments

Test before production

Workspaces keep teams apart, and development, staging and production environments keep a test agent away from live data.

SOC 2 Type IIISO 27001GDPRSecurity at engini →
[ 05 / Set up ]

Connect Chargebee in three steps. Then decide what each agent may do.

Step 01

Sign in to Chargebee

In Chargebee, create an API key with only the access the workflows need, then add a Chargebee connection with your site name and the key.

Step 02

Choose the tools

Add the connection to an MCP server or a toolset with only the tools each agent needs.

Step 03

Build or ask

Use the connection as a step in a workflow, or ask your agent to work in Chargebee from Claude, ChatGPT, Cursor or your own code.

[ 06 / Questions ]

Chargebee and engini. Straight answers.

Can an AI agent write to Chargebee, or only read?

Both. engini has tools to create, change, pause and cancel subscriptions, record usage, issue credit notes and keep customers current. Whether a given agent may use them is up to you: give it a toolset or an MCP server with read tools only, and it cannot call the rest.

Does the agent act as me in Chargebee?

It acts as the Chargebee API key behind the connection, with the access that key was given. Every run is recorded under the person who started it.

Can a change in Chargebee start work?

Yes. Chargebee notifies engini about new, renewed and cancelled subscriptions, payments and invoices. A trigger starts a workflow, and that workflow can include an AI agent step.

What if the tool I need is not listed?

Use Send API Request to call any Chargebee API endpoint through the same connection, and give it only to the agents that need it.