> For the complete documentation index, see [llms.txt](https://integrations.drivetrain.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://integrations.drivetrain.ai/integration-guide/readme/billing-and-invoicing/integrating-with-maxio-chargify.md).

# Integrating with Maxio Chargify

Sync Maxio Chargify subscription and revenue data into Drivetrain for billing analytics. Covers API key setup and subdomain config.

Maxio Chargify is a [premium integration](/integration-guide/readme/billing-and-invoicing.md#how-these-connectors-connect): you create an API key in Maxio, submit it in Drivetrain, and the Drivetrain team completes the setup.

### Before you start <a href="#prerequisites" id="prerequisites"></a>

* **In Maxio:** a user with the permission that manages product catalog, settings and integrations (admins have it by default).
* **In Drivetrain:** the **Admin** role.

### Step 1: Create an API key <a href="#maxio-chargify-setup" id="maxio-chargify-setup"></a>

1. Log in to Maxio and go to **Config > Integrations > API Keys**.
2. Click **New API Key**, optionally add a **Description** (for example, Drivetrain), and click **Create**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-2fa90b6cd28ada8d9c679c6562485349276feca4%2FMaxio-1.avif?alt=media" alt=""><figcaption></figcaption></figure>

3. Copy the key, then click **I Have Copied My API Key**.
4. Note your subdomain: if your site URL is `https://acme.chargify.com`, the subdomain is `acme`.

### Step 2: Submit the credentials in Drivetrain

1. Go to **Data**, click **+** and select **Maxio Chargify**.
2. Click **Request access**, enter the subdomain and API key (in the **Subdomain** and **API Key** fields if shown, otherwise with **Add field**), and click **Submit credentials**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://integrations.drivetrain.ai/integration-guide/readme/billing-and-invoicing/integrating-with-maxio-chargify.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
