Before you begin
- Enable Automated Metered Billing on your Chargebee site. Without it, the usage API rejects every record.
- Create an item with metered enabled and give it a price. Price per cent.
- Add that item price to every subscription you intend to bill, from the date you want billing to start. See Chargebee behavior.
- Copy an API key from Settings > Configure Chargebee > API keys.
Connect
1
Connect the account
In Integrations, click Chargebee, enter the API key, and enter your
site name. The site name is the subdomain, so
acme-test for
acme-test.chargebee.com. CostGraph verifies the key against Chargebee
before it saves anything, and stores it encrypted.2
Bind an item price
Bind a
chargebee_ tag key to one of your metered item prices. CostGraph
offers only item prices whose item is marked metered.