> 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/accounting-and-erp/integrating-with-rillet.md). Agents can also search and read this documentation through its [MCP server](https://integrations.drivetrain.ai/~gitbook/mcp).

# Integrating with Rillet

Connect Rillet to Drivetrain and sync revenue accounting data into your financial models. Covers API key generation and account configuration.

You connect Rillet with a Rillet API key. Drivetrain reads your data through Rillet's API.

## Before you start

* **In Drivetrain:** you need to be an admin.
* **In Rillet:** API access must be turned on for your organization. If **Organization Settings → API Access** isn't available, ask your Rillet account manager to enable it.

## Step 1: Create a Rillet API key

1. Sign in to Rillet and open **Organization Settings → API Access** ([app.rillet.io/settings/api-access](https://app.rillet.io/settings/api-access)).
2. Create a new API key and give it a recognizable name, for example **Drivetrain Integration**.
3. Copy the key and store it securely.

{% hint style="info" %}
**Reference:** Rillet — Getting Started: <https://docs.api.rillet.com/docs/getting-started>
{% endhint %}

## Step 2: Connect Rillet in Drivetrain

1. On the **Data** page, click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-b21065d51619b785e6371583716c0710415cd552%2Fimage%20-%202026-07-01T162828.161.png?alt=media" alt=""><figcaption></figcaption></figure>

2. In the **Connect a data source** window, search for **Rillet** (or open the **Accounting & ERP** category) and click it.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-5f7a3b65548ec8bdc662df58d0696ce49def67de%2Fimage%20-%202026-07-04T092546.547.png?alt=media" alt=""><figcaption></figcaption></figure>

3. Paste the API key into **Access Token** and click **Submit**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-31ca63b107c68acc0a53b3da47cd8048fc2bc412%2Fimage%20-%202026-07-04T092548.728.png?alt=media" alt=""><figcaption></figcaption></figure>

Rillet appears on the **Data** page and starts its first sync. Drivetrain doesn't test the key when you click **Submit**, so a wrong key shows up as a failed first sync. If the connect window mentions Snowflake, ignore it: Drivetrain reads Rillet through its API.

## What data comes in

* Accounts, Subsidiaries, Customers, Vendors, Fields, Products and Invoices.
* Monthly Balance Sheet, Journal Entry, Cash Flow Statement and Trial Balance reports from January 2023 onward.
* Each sync replaces these tables with Rillet's current data. Data syncs daily by default; use **Sync schedule** on the data source to change it.

## Troubleshooting

<details>

<summary>The first sync fails right after connecting</summary>

Check that the key was copied in full and still exists under **API Access** in Rillet. If not, create a new key and enter it with **Edit credentials** on the data source, or send it to your customer success manager if that option isn't shown.

</details>


---

# 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/accounting-and-erp/integrating-with-rillet.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.
