> 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-subscript.md).

# Integrating with Subscript

Sync Subscript revenue recognition data into Drivetrain for ARR planning. Covers API key generation and completing integration.

[Prerequisites](#prerequisites)

[Subscript setup](#subscript-setup)\
[Get API key](#get-api-key)

## Prerequisites

To connect Subscript with Drivetrain, you need:

1. An active Subscript account
2. Admin privileges on Subscript
3. Admin privileges in Drivetrain

## Subscript setup

Drivetrain can connect to Subscript using an **API key**. To get an API key, please follow the steps:

## Get API key <a href="#get-api-key" id="get-api-key"></a>

Step 1: Log in to your [Subscript account](https://app.subscript.com/).

Step 2: Navigate to **Configuration** and Hover on **External Sources.**

Step 3: Scroll down and select **Managing Subscript API key**.

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

Step 4: Share the API key to your Customer Success Manager.

Step 5 (Optional): Share a new key by clicking **Rotate API key** if there is no existing key used by any external source.

{% 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 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-subscript.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.
