Skip to main content
You need admin access to your Chargebee site to generate API keys.

Generate an API Key

An API key authenticates requests to the Chargebee API. Create a Full-Access key in your Chargebee site settings, then paste it into StackOne Hub. API keys are environment-specific — use your test site’s key for the Test environment and your live site’s key for Production.

1

Open API Keys and Events

Sign in to your Chargebee site, then in the left sidebar click Settings and choose Configure Chargebee.

  • On the Configure Chargebee page, scroll down to the API Keys and Events section — it sits below Revenue Recovery and Approvals, so it is not visible at the top of the page.
  • Click API Keys and Events.
2

Open the API keys list

In the API Keys and Events panel, click API keys (this row also shows how many keys already exist, e.g. 1 key(s)).

3

Add a new API key

On the API Keys tab, click + Add API Key to open the Create an API Key panel.

4

Configure the key

In Create an API Key, under Choose the API key type you want to create select Full-Access Key, then choose the All access level.

  • AllAllows full access to your Chargebee site. Recommended if you’re using the API key with your own application server.
  • Enter a name in the Name the API Key field (e.g., StackOne Integration).
  • Click Create Key to generate the key.
5

Copy the key

Your new key appears in the API Keys list. Click its value to copy it, then paste it into the API Key field in StackOne Hub.

  • Keys start with live_ on a production site or test_ on a test site.
  • Like a password, keep the key secret — anyone with it can call the Chargebee API on your behalf.

Find Your Site Name

Your site name is the subdomain of your Chargebee URL. StackOne uses it to build the API address, so it must match the site whose API key you copied above. Enter it in the Site Name field in StackOne Hub.

1

Locate your site name

When signed in to Chargebee, the site indicator in the top-left corner (and your browser’s address bar) shows your site’s URL. The subdomain is your site name.

  • Format: https://{site-name}.chargebee.com
  • Example: for https://acme-test.chargebee.com, the Site Name is acme-test.
  • Test sites usually end in -test (e.g. acme-test); live sites use your chosen name (e.g. acme).

Linking the Account from the Hub

1

Navigate to the Hub

Use one of the three Linking Account Methods to access the Hub.
2

Fill out the fields

Fill out the following fields using details from your provider:
  • API Key
  • Site Name
3

Connect

  • Click Connect
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup

If the account linking is successful, you will see the newly linked account in your Accounts page.