> 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/others/integrating-with-netsuite-role-based-access.md).

# Integrating with NetSuite (Role Based Access)

Connect NetSuite to Drivetrain using role-based token authentication. Covers role creation, token setup, and authorizing Drivetrain to sync your ERP data.

[<mark style="color:purple;">Prerequisites</mark>](#prerequisites)

[<mark style="color:purple;">NetSuite setup</mark>](#netsuite-setup)\
[<mark style="color:purple;">Step 1: Create a new role</mark>](#step-1-create-a-new-role)\
[<mark style="color:purple;">Step 2: Assign relevant permissions</mark>](#step-2-assign-relevant-permissions)\
[<mark style="color:purple;">Step 3: Create a user and assign the above role to that user</mark>](#step-3-create-a-user-and-assign-the-above-role-to-that-user)\
[<mark style="color:purple;">Step 4: Create an integration</mark>](#step-4-create-an-integration)\
[<mark style="color:purple;">Step 5: Generate the token key and token secret</mark>](#step-5-generate-the-token-key-and-token-secret)\
[<mark style="color:purple;">Step 6: Get account ID</mark>](#step-6-get-account-id)\
[<mark style="color:purple;">Step 7: Set up NetSuite saved search</mark>](#step-7-set-up-netsuite-saved-search)

[<mark style="color:purple;">Drivetrain setup</mark>](#drivetrain-setup)\
[<mark style="color:purple;">Step 1: Navigating to the NetSuite connector</mark>](#step-1-navigating-to-the-netsuite-connector)\
[<mark style="color:purple;">Step 2: Entering credentials</mark>](#step-2-entering-credentials)\
[<mark style="color:purple;">Step 3: Add saved searches (optional)</mark>](#step-3-add-saved-searches-optional)

[<mark style="color:purple;">Troubleshooting</mark>](#troubleshooting)

### Prerequisites

To connect NetSuite to Drivetrain, you need:

* An active Oracle NetSuite account, and a NetSuite Administrator to do the setup below
* **Admin** access in Drivetrain

This page sets up a dedicated role with only the permissions Drivetrain needs. The [main NetSuite guide](https://integrations.drivetrain.ai/integration-guide/readme/accounting-and-erp/integrating-with-netsuite.md) uses the Administrator role instead.

### NetSuite setup

{% hint style="info" %}
The steps below give you five values that you enter in Drivetrain yourself: **Account ID**, **Consumer key**, **Consumer secret**, **Token ID** and **Token secret**. NetSuite shows the keys, secrets and token only once, so store them securely as you go. Don't send them by email.
{% endhint %}

#### Step 1: Create a new role

* Sign in to your NetSuite instance. Make sure you are logged in as an Administrator.
* From the menu bar, navigate to **Setup** > **Users/Roles** > **User Management** > **Manage Roles** > **New**.

![](https://lh3.googleusercontent.com/DrQRKqywYB4mhn4EVF_3SgvGs9J_sTNgYsfBuNOdZ7TTNIEjtrn59ltzypE6qV2ozWaNqV4-usFsacl20T4xc1svfx35nm07b-SvnxyaO5nVKV2a1KVF-_NFrkR9HzRc3gULIT45Dg9PFfumow)

* On the Role page, enter a name for the role, make sure **Accounting Center** is selected as the **CENTER TYPE**, and click **Save**.

{% hint style="info" %}
*The "Name" field is for your reference. We recommend using "<mark style="color:green;">DrivetrainIntegrationRole</mark>"*
{% endhint %}

![](https://lh4.googleusercontent.com/YS2Nxl7IFRqP3tJGMzXKYm4ShJgT27mMzN_L5xmFXmtHm1XV8HKYZItut6ZSWq8k6F6mfMThsgE1SX8eEzgqNnvL41bMBUdTmxO-yOK8yW3zb2gId-579wSt8zdvaJrSAx_7zwAp1Tv0RrUSmA)

* If you have subsidiaries enabled, select **ALL** subsidiaries and **ALLOW CROSS SUBSIDIARY RECORD VIEWING**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-96e761c8ed52cfec37da22a60661e3056126df98%2Fnetsuite-role-based-access-01.png?alt=media" alt=""><figcaption></figcaption></figure>

* Select **ALL** Accounting Books.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-a23d816a23da1fba0f5a6a20faaf857e99b5c7f3%2Fnetsuite-role-based-access-02.png?alt=media" alt=""><figcaption></figcaption></figure>

#### Step 2: Assign relevant permissions

* Now add permissions for the role as per the **List of Permissions with Levels** given below. The exact list may vary depending on the fields required for metric calculations specific to your use cases.
  * Transactions and Lists fields require 'View' permission.
  * Reports fields require 'View' permission. However, Report Customization requires 'Full' access.
  * Setup fields require 'Full' access.

{% hint style="info" %}
If you plan to import NetSuite saved searches as datasets (Step 7), upgrade these permissions from View to the level shown: **Find Transaction** (Create), **Publish Search** (Full), **Documents and Files** (Full), and **SuiteScript** (Full), and add **SOAP Web Services** (Full). **Report Customization** (Full) and **Perform Search** (Full) are already required above. Without **Documents and Files** (Full), saved-search imports fail. Skip this if you won't import saved searches.
{% endhint %}

{% embed url="<https://docs.google.com/spreadsheets/d/17o-foEQFlp6WFiLicLPjxeFGewqj0LrItCVYCYqLy2o/edit?gid=0#gid=0>" %}

{% hint style="danger" %}
Note: The **REST Web Services** (Full), **Log in using Access Tokens** (Full) and **SuiteAnalytics Workbook** (Edit) permissions are mandatory. If you'll create the token as this user (Step 5), the role also needs **User Access Tokens**. If you don't find REST Web Services under Setup, enable the features below first.
{% endhint %}

Go to **Setup** > **Company** > **Setup Tasks** > **Enable Features** and, on the **SuiteCloud** subtab, check:

* **REST Web Services** (SuiteTalk (Web Services) section), and **SOAP Web Services** if you'll import saved searches
* **Token-based Authentication** (Manage Authentication section)
* **SuiteAnalytics Workbook** (on the **Analytics** subtab)
* **Client SuiteScript** and **Server SuiteScript** (SuiteScript section), if you'll import saved searches

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-34965590c2dab4a0487b5fa05debe7923587d353%2Fnetsuite-role-based-access-03.png?alt=media" alt=""><figcaption></figcaption></figure>

#### Step 3: Create a user and assign the above role to that user

* From the menu bar, navigate to **Lists** > **Employees** > **Employees** > **New**.

![](https://lh4.googleusercontent.com/tqON13oXwm1guLmgTpppzk2dpSBd-W8VGwCPOgErNoCvi8Taj_Chy3RXmLreKjvQc_JErNEN5torUyxM11u-U7ayTEnZdfpGDdqJF6q8wj4zG3T2sVBt8_bcA_LsNCakYcXzx1E5vApk1nBuXQ)

* Enter a name and an email address for the integration user. Use your company's own service-account email where possible (for example, `drivetrain@yourcompany.com`); otherwise use the email your customer success manager gives you.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-5e4d40c0dae56a4846fcc0e06da654bd524b1b24%2Fnetsuite-role-based-access-04.png?alt=media" alt=""><figcaption></figcaption></figure>

* Click the **Access** subtab.
* Check **Give Access** and **Send Notification Email**.
* Assign a password of your choice.
* Select the role you created in Step 1 and click **Add**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-78014bb2370db623051576df4ded39ee6ab65ae8%2Fnetsuite-role-based-access-05.png?alt=media" alt=""><figcaption></figcaption></figure>

* Click **Save**.

#### Step 4: Create an integration

* From the menu bar, navigate to **Setup** → **Integration** → **Manage Integrations** → **New**.

![](https://lh3.googleusercontent.com/epmwoYHByszcSIDI6Gq5s5ht72nsOonU_dbPetJgg3t0Jc6iarKLBwGYRhP2U_HQogkmVIV9z-lLvVC3YApqPxoMxgFFFAPxqkQGUGIr29qPE9qbMaTo4c9kzjrJe3MDFr2oQzdo0uyU5hUFoA)

* On the Integration page:
  * Fill in the **Name** field. We recommend using "<mark style="color:green;">DrivetrainIntegration</mark>".
  * On the **Authentication** subtab, check **TOKEN-BASED AUTHENTICATION**, and uncheck **TBA: AUTHORIZATION FLOW** and **USER CREDENTIALS**.
  * In the **OAuth 2.0** section, uncheck **AUTHORIZATION CODE GRANT**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-c99084691bfcc46dfcf86b23a36eb10849d3c5a0%2Fnetsuite-role-based-access-06.png?alt=media" alt=""><figcaption></figcaption></figure>

* Click **Save**.

After you've saved the settings above, scroll down to the bottom of the page to get:

* **Consumer Secret**
* **Consumer Key**

{% hint style="info" %}
NetSuite shows these only once, right after you save. Store them securely.
{% endhint %}

#### Step 5: Generate the token key and token secret

* Log in to NetSuite with the user account you set up in Step 3.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-e92145d3ee4f91e3f53efd320c7d6a7fec2cc9ca%2Fnetsuite-role-based-access-07.webp?alt=media" alt=""><figcaption></figcaption></figure>

* Click the **Home** icon.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-158d376c2ee4b2c30c37c839035d8d3120d77c2a%2Fnetsuite-role-based-access-08.webp?alt=media" alt=""><figcaption></figcaption></figure>

* Scroll to the bottom.
* Click **Manage Access Tokens**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-6bee6c6e5a6321a2dec499099448cc5bbb7859ac%2FNetsuite-10.png?alt=media" alt=""><figcaption></figcaption></figure>

* Click **New My Access Token**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-790b653fad4b8222cd96285fecf2b796e83f080b%2Fnetsuite-role-based-access-10.png?alt=media" alt=""><figcaption></figcaption></figure>

* In the dropdown list for **APPLICATION NAME**, select the integration you created in Step 4.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-1d7ba6eae38418e69840b101e0431eae0fd21384%2Fnetsuite-role-based-access-11.png?alt=media" alt=""><figcaption></figcaption></figure>

Click **Save**. The confirmation page shows, only once:

* **Token ID** (enter it in Drivetrain's **Token key** field)
* **Token Secret**

{% hint style="info" %}
**Alternative — service account (no login required):** Instead of logging in as the integration user, an administrator with the **Access Token Management** permission can generate the token at **Setup** → **Users/Roles** → **Access Tokens** → **New Access Token**, selecting the **Application** (the integration from Step 4), the **User** (the integration user) and the **Role** (DrivetrainIntegrationRole). This skips logging in as the created user.
{% endhint %}

#### Step 6: Get account ID

* From the menu bar, navigate to **Setup** → **Company** → **Company Information**.

![](https://lh6.googleusercontent.com/oymCtv12D4CRqf6ob5q3JMXBf2rMw0n3aatpp_6GobR3zgIwmUsvVUNM2FlpSZhVgiXkYjCQAuXIc6y7K7EQq03pPXO-U3JYGhbAt5Cnl4Wr2Ns8PjkRaYdkiNlMGULftuSWjXdiGllhCrtm1w)

You will find the **Account ID** here. Please note it down.

If you won't import saved searches, skip to [Drivetrain setup](#drivetrain-setup).

#### Step 7: Set up NetSuite saved search

Only needed if you plan to import NetSuite saved searches as datasets. Drivetrain always syncs the standard NetSuite tables; each saved search is added as an extra dataset.

1. Download the script from <https://highway-cdn.drivetrain.ai/scripts/DrivetrainSavedSearch.zip> and unzip it.
2. To install the script, navigate to **Customization** > **Scripting** > **Scripts** > **New**. You'll see the Upload Script File form.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-6a3ca7048da0650218ba54ff27401f35e5b90f12%2Fnetsuite-role-based-access-12.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

3. Hover over the Script File field, and you'll see a **+** button appear to the right of the field. Click the button and the File upload form will appear.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-b5900bf450c6fd844176d231a2dd7044d9dc4f28%2Fnetsuite-role-based-access-13.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

4. By default, the script will be uploaded to the SuiteScripts folder in your File Cabinet (or to the last folder that you uploaded a script to). If you'd like to install the script in an alternative folder, select it from the Folder field.
5. Next, click the **Choose File** button in the Select File field. Then navigate to the folder that you unzipped the file to, and select the file.
6. Then click the **Save** button. The file will be uploaded, and then the Upload Script File form will reappear, with the Script File field loaded.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-dd87c8a2290beee4718f639be5fbf1fab81a11ce%2Fnetsuite-role-based-access-14.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

7. Upon saving, the script file will be populated in the Upload Script File form. Click the **Create Script Record** button. The Script form will appear.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-59d665e88d5290ff9ba0f0291dc1e2a68f3316b3%2Fnetsuite-role-based-access-15.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

8. In the script form, enter **Name** as "**Drivetrain Saved Search**" and **ID** as "**drivetrainsavedsearch**". Click the **Deployments** tab and enter the **Title** as "**DrivetrainSavedSearch**".
9. Mark the status as **Released**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-dc07626ca8fbfbcf89acbee40b88c773e3402218%2Fnetsuite-role-based-access-16.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

10. Click **Save** to finish the installation process.
11. After saving, click on the Deployment title to view the Script Deployment form.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-094da2ef2a012ea55d6b62f2294bb5a9cb3cb07c%2Fnetsuite-role-based-access-17.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

12. Make a note of the **External URL**. You'll enter it in Drivetrain when you add a saved search.
13. Edit the Script Deployment, update the role for the script to the role you created in Step 1, and click **Save**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-dcb109a65567dedad2b93ee36af0da20b6fbfc8a%2Fnetsuite-role-based-access-18.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

14. Go to **File Cabinet** and select **New Folder**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-bb68e32a768cf5c1a1965671a10ab0930d793a32%2Fnetsuite-role-based-access-19.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-7e4199185988537a1e50d7cf5d0697d2ee3c298d%2Fnetsuite-role-based-access-20.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

15. Add a folder named **DrivetrainExports** in the root of the File Cabinet and click **Save**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-54ce5f394cd97712921410bc6c3f3fe21d6cd842%2Fnetsuite-role-based-access-21.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

### Drivetrain setup

#### Step 1: Navigating to the NetSuite connector

* Sign in to Drivetrain as an Admin and open the **Data** page.
* Click **+** next to **Data** (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-0e0c2a7a191040497788e3a5fa969d30224e4c82%2Fnetsuite-role-based-access-22.png?alt=media" alt=""><figcaption></figcaption></figure>

* In **Connect a data source**, select **NetSuite**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-d6e45507110e7da6ad3ea74b984420f9f3458bfa%2Fnetsuite-role-based-access-23.png?alt=media" alt=""><figcaption></figcaption></figure>

#### Step 2: Entering credentials

* Enter the values from the NetSuite setup and click **Connect**:
  * **Account ID** (starts with a number)
  * **Consumer key** and **Consumer secret** (Step 4)
  * **Token key** (the Token ID from Step 5) and **Token secret**

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-f90c6c0e201b861ee638501f26937cb693bcf067%2Fnetsuite-role-based-access-24.png?alt=media" alt=""><figcaption></figcaption></figure>

* Drivetrain opens the new NetSuite connection on the **Data** page. Once the sync is complete, you'll see your NetSuite data.

Drivetrain syncs standard NetSuite tables, including Account, AccountingPeriod, Classification, ConsolidatedExchangeRate, Currency, Customer, DeletedRecord, Department, Location, Subsidiary, Transaction, TransactionAccountingLine, TransactionLine and Vendor.

To replace the keys or token later, use **Edit credentials** in the connection's menu on the **Data** page.

#### Step 3: Add saved searches (optional)

You need the **External URL** from Step 7. Each saved search must be **public**, or visible to the role from Step 1.

1. On the NetSuite connection's page, click **+ Add data** (or **Add Saved Search**, depending on your version). It's available once the connection has finished syncing.
2. Check that **External URL** is filled in (enter it the first time), paste the full **Saved search URL** (for example, `https://123456.app.netsuite.com/app/common/search/searchresults.nl?searchid=884`, not just `884`), and enter a **Display name**.
3. Click **Create**.

### Troubleshooting

| Message                                                                                       | Cause and fix                                                                                                                                                                                                                                                                  |
| --------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Account ID must be start with a number                                                        | Copy the Account ID from **Setup** > **Company** > **Company Information**.                                                                                                                                                                                                    |
| {field} must be alphanumeric                                                                  | Keys and secrets contain only letters and numbers. Check for spaces or extra characters from copying.                                                                                                                                                                          |
| Invalid login credentials. Please check for any errors or confirm that they are still valid   | A key, secret or token is wrong or was revoked, or the role is missing **REST Web Services**, **Log in using Access Tokens** or **SuiteAnalytics Workbook**. Fix it or create a new token, then connect again (or use **Edit credentials** if the connection is still listed). |
| An email "Failed to connect with NetSuite", and the connection is gone from the **Data** page | Same causes as the row above. Fix them, then connect again.                                                                                                                                                                                                                    |
| Invalid URL                                                                                   | The External URL needs its `script` and `deploy` parts, and the saved search URL needs `searchid`. Paste the full URLs.                                                                                                                                                        |
| NetSuite could not find this saved search…                                                    | Make the saved search **public** and make sure the role from Step 1 can see it.                                                                                                                                                                                                |
| The NetSuite role connected to Drivetrain cannot export saved searches…                       | Give the role **Documents and Files** at **Full**.                                                                                                                                                                                                                             |
| Drivetrain could not reach the saved search script in NetSuite…                               | Check that the script from Step 7 is deployed and its status is **Released**.                                                                                                                                                                                                  |
| This saved search already exists as a dataset                                                 | It's already imported. Find it in the connection's datasets.                                                                                                                                                                                                                   |


---

# 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/others/integrating-with-netsuite-role-based-access.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.
