# Integrating with NetSuite

### Prerequisites

To connect NetSuite to Drivetrain, you need:

* An active Oracle NetSuite account
* Admin privileges to your Netsuite instance
* Admin privileges in Drivetrain

### Netsuite Setup

#### Step 1: Enable Web Services

Web services will usually be enabled as part of the admin access provided to Drivetrain. In case it isn't you can enable the feature at Setup > Company > Enable Features, in the SuiteTalk (Web Services) section, on the SuiteCloud sub tab.

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252FwSZf2NjfggSP0GbpdQaE%252FNetsuite-2.avif%3Falt%3Dmedia%26token%3D2a1fcc92-0220-4314-98da-fa383f3e0b0a\&width=768\&dpr=4\&quality=100\&sign=bce3d7ce\&sv=2)

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252F4rbHU2ZrrM5dbcOoG0mC%252FNetsuite-1.avif%3Falt%3Dmedia%26token%3D29190721-ebdb-40f1-b1d7-5fc197c5537b\&width=768\&dpr=4\&quality=100\&sign=cd04ae4b\&sv=2)

#### **Step 2: Create a user and assign administrator role to that user**

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

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252Fhluxsm8PPkWuYay1Ru8q%252FScreenshot%25202025-04-16%2520at%25208.09.32%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3D6f19aabf-7535-4645-8d9d-f2b17aa322c2\&width=768\&dpr=4\&quality=100\&sign=fcc514a5\&sv=2)

* Select the form as "**Standard Employee Form**" and enter name as "**Drivetrain Integration**".
* If you’ve created a service account under your company’s domain, use that email address.

  *Example:* If your company is mycompany, and the service account is <drivetrain@mycompany.com>, use that email.
* If you’re using a Drivetrain-provided service account, the email typically follows this format: <dp-@drivetrain.ai>. Please confirm the exact email with your **Data Integration Manager** or **Customer Success Manager.**

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252FHZ7kwamYm9JLV6MXRl1r%252FScreenshot%25202025-04-16%2520at%25208.31.55%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3Dd765e828-355d-41e7-b57c-87ee84c23122\&width=768\&dpr=4\&quality=100\&sign=608cc2c9\&sv=2)

* Click the **Access** sub tab.
* Check **Give Access** and **Send Notification Email.**
* Assign a password of your choice.
* Select Role = 'Administrator' and click **Add.**
* Click on **Save**

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252Fu105NgmSJSrtCJGCWRKa%252FScreenshot%25202025-04-16%2520at%252010.11.00%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3Da9cdaeaa-0714-4816-b7d0-cf22bbdff083\&width=768\&dpr=4\&quality=100\&sign=9f083404\&sv=2)

#### **Step 3: Create an integration**

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

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252FIpWabk1Z9qLibkT8W3Ng%252FNetsuite-6.png%3Falt%3Dmedia%26token%3D9792095e-a20e-4373-a8e1-5538bda479d1\&width=768\&dpr=4\&quality=100\&sign=6b58f2b4\&sv=2)

* On the Integration page,
  * Fill in the **Name** field. We recommend using "**Drivetrain Integration**"
  * Under Authentication section, check **TOKEN-BASED AUTHENTICATION** and uncheck **TBA: AUTHORIZATION FLOW**
  * In the **OAuth 2.0** section, uncheck **AUTHORIZATION CODE GRANT**
  * Click on **Save**

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252FJCpJ5YDEzi3dPEytGkBz%252FScreenshot%25202025-04-17%2520at%252012.50.26%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3D36c1c8c9-6c5e-4e0d-a89b-c7fdd0dce53a\&width=768\&dpr=4\&quality=100\&sign=e00b10f7\&sv=2)

After you've saved the settings above, scroll down to the bottom of the page. Under the Client Credentials section, you will get:

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

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252FXJAfuzcngQX2zCnFNibU%252FScreenshot%25202025-04-17%2520at%252012.53.14%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3D91e25fa8-f650-4300-8278-7dba039422b1\&width=768\&dpr=4\&quality=100\&sign=12093aff\&sv=2)

{% hint style="info" %}
Please make note of both items in a secure document, as they will be required later and will not be accessible once you move to another page.
{% endhint %}

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

* Log into NetSuite with the admin account for Drivetrain.

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252FGO0fXIGoVIODlTc2Nz1f%252FScreenshot%25202025-04-17%2520at%25201.02.57%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3D365eeeea-6e67-480b-b07a-799b538967e5\&width=768\&dpr=4\&quality=100\&sign=71181cce\&sv=2)

* Click the **Home** icon

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252FVZblZXTVsiiFJ4BQ4cRi%252FScreenshot%25202025-04-17%2520at%25201.11.17%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3Ddb4ade96-18c6-4425-8f5e-854db1c25cde\&width=768\&dpr=4\&quality=100\&sign=bdd903d3\&sv=2)

* On the left side, under the Home section, scroll to the bottom.
* Click **Manage Access Tokens.**

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252F9nzrd47oKIczog6mhM2t%252FScreenshot%25202025-04-17%2520at%25201.13.21%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3D5f0735c5-f733-4f2d-92f0-a211fc41add7\&width=768\&dpr=4\&quality=100\&sign=16e15b77\&sv=2)

* Click **New My Access Token.**

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252F130MaqtHuXmP8NQawb0i%252FScreenshot%25202025-04-17%2520at%25201.17.24%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3D1dd391f2-bec1-4236-87c2-71667fb80a00\&width=768\&dpr=4\&quality=100\&sign=5cc78c2e\&sv=2)

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

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252FeIZcD816yvuL3SrDgjnP%252FScreenshot%25202025-04-17%2520at%25201.19.33%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3D51be9de5-07ad-42ad-b594-fae73d147042\&width=768\&dpr=4\&quality=100\&sign=a2c5151f\&sv=2)

Click **Save** and scroll down to the bottom of the page to get the:

* **Token ID**
* **Token Secret**

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252FdWxEpEKR8eAKeUuusKje%252FScreenshot%25202025-04-17%2520at%25201.21.49%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3D9e4ac2f0-1ca2-4e9b-9b1a-490c5e43f483\&width=768\&dpr=4\&quality=100\&sign=13feebb1\&sv=2)

{% hint style="info" %}
Please make note of both items in the same secured doc, as they will be required later and will not be accessible once you go to another page.
{% endhint %}

#### Step 5: Get Account ID

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

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252FyJOsmoUEoPhMK6yTY8Z4%252FScreenshot%25202025-04-17%2520at%25201.25.27%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3D30f68bf1-f61b-41e5-96ba-32bddbdca6b2\&width=768\&dpr=4\&quality=100\&sign=adc56be\&sv=2)

You will find the **Account ID** here. Please note it down in the same document where you note the credentials generated in last two steps.

{% hint style="info" %}
This completes your NetSuite setup for standard objects. Below are the steps for setting up saved search, we recommend you to finish this as well if you need to pull data from saved search in future. If you have any questions or run into any issues with this part of the integration process, please contact your customer success manager for assistance.
{% endhint %}

#### Step 6: Set up NetSuite Saved Search

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.

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252FU8kYWDnhxYKhaA6U5DHx%252FScreenshot%25202025-04-17%2520at%25201.46.36%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3D4e234fac-74d4-44fa-b1db-c0ae1e4f284c\&width=768\&dpr=4\&quality=100\&sign=c68da0b3\&sv=2)

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.

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252FM7nODVU9BFNMNN153QzK%252FScreenshot%25202025-04-17%2520at%25201.48.37%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3D0ac981c7-5ff2-427f-8c64-743c5dbb1e7b\&width=768\&dpr=4\&quality=100\&sign=8bf2dede\&sv=2)

4. By default, the script will be uploaded to 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.

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252FHLBTadIJiljHCzRsy5Bi%252FScreenshot%25202025-04-17%2520at%25201.53.54%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3D59fdd2b0-61af-4e1d-9e42-d26027720670\&width=768\&dpr=4\&quality=100\&sign=6a1f3147\&sv=2)

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

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252FtIQuv19PJjJypiAbhUgn%252FScreenshot%25202025-04-17%2520at%25201.55.30%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3D0b8609ec-dcd1-46f4-ae01-6003682a6225\&width=768\&dpr=4\&quality=100\&sign=f318f74b\&sv=2)

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

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252F9P5nzdcwOcpztlPcqXwl%252FScreenshot%25202025-04-17%2520at%25202.00.33%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3D94b0cf9f-798a-4bcb-b0fb-8da6196b0f8f\&width=768\&dpr=4\&quality=100\&sign=f0efed6f\&sv=2)

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

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252FtcHKaqFIxLixUk6ZLwGt%252FScreenshot%25202025-04-17%2520at%25202.02.17%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3D216cf7b7-bbbe-4e43-8a40-04f7f7451105\&width=768\&dpr=4\&quality=100\&sign=3858fc0\&sv=2)

12. Click on the deployed script and on the next page, make a note of **External URL**.

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252FVLXEjDhBmZYxCwOCo0ll%252FScreenshot%25202025-04-17%2520at%25202.06.51%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3D6cb184b9-e75d-45e5-bdd4-fec367011db7\&width=768\&dpr=4\&quality=100\&sign=96357770\&sv=2)

13. Edit the Script Deployment and update the role for the script (which you created for "Drivetrain Integration" user). In this case, we have used role as "Administrator" for the user in Step 2. Click on **Save**

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252FeqsP27ixdNgu5xCBG98J%252FScreenshot%25202025-04-17%2520at%25202.18.43%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3D81710463-cee2-4dcb-ae9e-736e3ae9ae58\&width=768\&dpr=4\&quality=100\&sign=f5267063\&sv=2)

14. Go back to **Home** and on the navigation bar under the Documents section, select **Files** > **File Cabinet** > **New**

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252FtF0ex32cUYDm03BGzpj4%252FScreenshot%25202025-04-17%2520at%25202.32.56%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3De17d993d-0608-41c4-8b24-261e6d59145a\&width=768\&dpr=4\&quality=100\&sign=66cb05ed\&sv=2)

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

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252FFegZcmJb3v73nSU2oaKD%252FScreenshot%25202025-04-17%2520at%25202.37.27%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3D3691b397-f285-4065-8aad-caf7f49ab2e7\&width=768\&dpr=4\&quality=100\&sign=d1274472\&sv=2)

{% hint style="info" %}
Please share the below details with your Drivetrain's customer success manager or data integration manager:

* External URL
* Consumer key
* Consumer secret
* Token key
* Token secret
* Account ID
  {% endhint %}

### Drivetrain Setup

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

* Sign in to your Drivetrain instance. Make sure you are logged in as an administrator.
* Click on **+ Add Data Source.**

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252FxgeSHdFbKWvoQmEpZ6Jy%252FScreenshot%25202025-04-17%2520at%25202.39.54%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3D6a4232d4-2eb3-4e41-a008-e7a148ea9414\&width=768\&dpr=4\&quality=100\&sign=f1a44ad6\&sv=2)

* Select the NetSuite Data Connector from the list of integrations.

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252FiGPIMLdt0qi17SVUEsWb%252FScreenshot%25202025-04-17%2520at%25202.40.48%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3D2b3e76cf-0e12-407e-a54a-1d837922a2ac\&width=768\&dpr=4\&quality=100\&sign=4b2975ad\&sv=2)

#### Step 2: Entering credentials

* Enter the keys, secrets and account ID you generated when setting up your NetSuite account, and click **Connect**
  * **Consumer Secret**
  * **Consumer Key**
  * **Account ID**
  * **Token Key**
  * **Token Secret**

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252FG5nsjnW2sOwLh28YGQYs%252FScreenshot%25202025-04-17%2520at%25202.41.52%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3D5fb677a1-3bb3-48a0-8bcf-beeb09b2da76\&width=768\&dpr=4\&quality=100\&sign=793eb98c\&sv=2)

* You will be redirected to the **Data** page where you will be able to see your new NetSuite connection.

Once the sync is complete, you will be able to see your NetSuite data on Drivetrain!

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252FcmdxL85dtmF8AE5o0YZW%252FScreenshot%25202025-04-17%2520at%25207.43.05%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3D085468dd-e78f-4b30-b630-ab00e225de5c\&width=768\&dpr=4\&quality=100\&sign=12e2812c\&sv=2)

#### Step 3: Add Saved Search (optional)

{% hint style="info" %}
After the data sync for standard objects is complete, you may proceed to pull saved searches.

This step is optional—customers who do not wish to retrieve data from saved searches can simply skip it.

**Important: Below are some Prerequisites for Saved Search addition**

Access for saved search should be **Public**

External URL generated in Step 6 of the NetSuite setup must be shared before proceeding, If you skipped that step, please complete it before adding any saved searches.
{% endhint %}

* On top left corner on the data page for Netsuite connector, click **Add Saved Search**

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252FyLmiH268G9QMwdESD6t5%252FScreenshot%25202025-04-17%2520at%25205.07.28%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3D6fc77146-3743-45bd-b595-4cbcda6d9394\&width=768\&dpr=4\&quality=100\&sign=f1958da0\&sv=2)

* Enter the Saved Search Id and display name you want to have for the dataset. You can get saved search ID from the saved search URL. For example, if your saved search URL is <https://123456.app.netsuite.com/app/common/search/searchresults.nl?searchid=884&whence=> then your id is 884.

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252F0EIJdC9L1Ag2Udh2wdEg%252FScreenshot%25202025-04-17%2520at%25205.17.52%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3D209dccdf-db52-4dcd-b0d3-ad799b32698a\&width=768\&dpr=4\&quality=100\&sign=6c3549b2\&sv=2)

* Click on **Create** and once the sync is complete, you will be able to see the saved search dataset.

#### Access to Netsuite Interface

{% hint style="info" %}
If you have connected Netsuite with your account, instead of creating one for Drivetrain — in those cases, we will need Read access shared to a Drivetrain account. We need this access to run some internal data quality process. If you have any questions or run into any issues with this part, please contact your customer success manager for assistance.
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://integrations.drivetrain.ai/integration-guide/integrate-with-drivetrain/accounting-and-erp/integrating-with-netsuite.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
