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. You’ll need to create one in your Chargebee site settings.

1

Sign in to Chargebee

Sign in to your Chargebee account.

  • Click Settings in the left sidebar.
  • Navigate to Configure Chargebee > API Keys and Events.
2

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) or test_ (test site).

Find Your Site Name

Your site name is the subdomain in your Chargebee URL. You’ll need this when connecting to StackOne.

1

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 is acme-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

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.