# Chargebee

Churned integrates with Chargebee to provide seamless data synchronization, enabling businesses to track subscription metrics, customer churn, and revenue insights in real time.

\
How to Connect Chargebee to Churned

1. Log in to the Churned platform and go to the “Integrations” section.
2. Click on “New Integration” and select Chargebee from the list.
3. You will be prompted to enter the following credentials:

#### Required Credentials

* site\_name - The unique identifier for your Chargebee account (e.g., yourcompany-test).
* apiKey - The authentication key required to securely connect to Chargebee’s API.

### How to Retrieve These Credentials

Follow these steps to find your Chargebee Site Name and API Key:

#### Site Name

1. Log in to your[ Chargebee Account](https://www.chargebee.com/).
2. In the URL of your Chargebee dashboard, locate your Site Name.
3. * Example: If your dashboard URL is <https://yourcompany-test.chargebee.com>, then your Site Name is yourcompany-test.

#### API Key

1. Go to Chargebee’s Admin Console.
2. Navigate to Settings > API Keys.
3. Click Create a New API Key (if you don’t already have one).
4. Set the required permissions based on your integration needs.
5. Copy the generated API Key and store it securely.

### Final Steps

1. Copy and paste the retrieved credentials into the Churned integration form.
2. Click Save and test the connection to ensure everything is working correctly.
3. Once connected, notify the Churned team to synchronize data.

### Helpful Links

* Chargebee API Documentation
* Managing API Keys in Chargebee


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.churned.io/churned-docs/integrations/chargebee.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
