Generate an API Key
An API key authenticates requests to the Chargebee API. You’ll need to create one in your Chargebee site settings.
Sign in to Chargebee
Sign in to your Chargebee account.
- Click Settings in the left sidebar.
- Navigate to Configure Chargebee > API Keys and Events.
Create and copy key
Click API Keys, then click Add API Key.
- Select Full Access as the key type, then select All — this allows full access to your Chargebee site and is recommended if you’re using the API key with your own application server.
- Enter a name for the API key in the Name the API Key field (required).
- Click Create Key to generate the key.
- Copy the key immediately and store it securely for use later.
- API keys are environment-specific — use the test site key for development and the live site key for production.
- Keys start with
live_(production) ortest_(test site).
Find Your Site Name
Your site name is the subdomain in your Chargebee URL. You’ll need this when connecting to StackOne.
Locate your site name
Check your browser address bar when signed in to Chargebee.
- Format:
https://{site-name}.chargebee.com - Example: if your URL is
https://acme-test.chargebee.com, your site name isacme-test - Test sites typically end with
-test(e.g.,acme-test), live sites use your chosen name (e.g.,acme)
Linking the Account from the Hub
Navigate to the Hub
If the account linking is successful, you will see the newly linked account in your Accounts page.