> 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/integrate-with-drivetrain/others/integrating-with-clari.md).

# Integrating with Clari

[Prerequisites](#prerequisites)

[Clari Setup](#clari-setup) \
&#x20;   [Creating an Authentication Token](#creating-an-authentication-token)

### Prerequisites <a href="#prerequisites" id="prerequisites"></a>

To connect Clari to Drivetrain, you need:&#x20;

* An active Clari account
* Admin privileges on Clari
* Admin privileges in Drivetrain

### Clari Setup <a href="#clari-setup" id="clari-setup"></a>

Drivetrain can connect to Clari using an **API token** from an admin account. To generate an API token, please follow the following steps:

#### Creating an Authentication Token <a href="#creating-an-authentication-token" id="creating-an-authentication-token"></a>

1. Log into your Clari account.
2. Go to **User Settings.**
3. Navigate to the **API Token** tab and click **Generate New API Token**.
4. Enter a **Token Name** and click **Generate New Token**.
5. After generating a token, make sure to keep it in a secure location as you won't be able to access it again.

{% hint style="danger" %}

1. If you revoke a token, any active integration that is using that token will break.
2. When deactivating a user, any tokens created by the user will be revoked (and thus break any active integration).
   {% endhint %}

{% hint style="info" %}
That’s it! Inform your customer success manager so that they can get started!
{% endhint %}


---

# 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 dynamically by asking a question.

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

```
GET https://integrations.drivetrain.ai/integration-guide/integrate-with-drivetrain/others/integrating-with-clari.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
