> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bondata.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# NetSuite

> Connect BonData to Oracle NetSuite ERP for financial and operational data

Oracle NetSuite is a cloud ERP suite covering accounting, order management, inventory, and CRM for growing businesses. With BonData, you can connect to your NetSuite account to read, enrich, and sync your ERP data within Agent workflows.

## NetSuite Token-Based Authentication Setup

BonData connects to NetSuite using Token-Based Authentication (TBA), the recommended method for server-to-server integrations.

### Step 1: Enable the Required Features

1. Log in to NetSuite as an administrator
2. Go to **Setup** → **Company** → **Enable Features**
3. On the **SuiteCloud** tab, enable:
   * **Token-Based Authentication**
   * **REST Web Services**
4. Save your changes

### Step 2: Find Your Account ID

1. Go to **Setup** → **Company** → **Company Information**
2. Note your **Account ID** (for example, `1234567` or `1234567_SB1` for a sandbox)

### Step 3: Create an Integration Record

1. Go to **Setup** → **Integration** → **Manage Integrations** → **New**
2. Enter a name (e.g., `BonData Integration`)
3. Under **Authentication**, check **Token-Based Authentication** and uncheck **TBA: Authorization Flow**
4. Click **Save**
5. **Copy the Consumer Key and Consumer Secret** shown at the bottom of the page - they are only displayed once

### Step 4: Create an Access Token

1. Go to **Setup** → **Users/Roles** → **Access Tokens** → **New**
2. Select the **Application Name** (the integration you just created)
3. Select the **User** and a **Role** with the required permissions
4. Click **Save**
5. **Copy the Token ID and Token Secret** - they are only displayed once

<Note>
  The assigned role must include REST Web Services and Log in using Access Tokens permissions, plus record-level access to the objects you want to sync.
</Note>

### Step 5: Enter Credentials in BonData

1. In BonData, navigate to **Integrations** and select **NetSuite**
2. Enter your **Account ID**, **Consumer Key**, **Consumer Secret**, **Token ID**, and **Token Secret**
3. Click **Connect**

## Required Fields

| Field           | Description                                       |
| --------------- | ------------------------------------------------- |
| Account ID      | Your NetSuite account ID from Company Information |
| Consumer Key    | Consumer Key from the integration record          |
| Consumer Secret | Consumer Secret from the integration record       |
| Token ID        | Token ID from the access token                    |
| Token Secret    | Token Secret from the access token                |

## Available Data

Once connected, BonData can sync the following NetSuite records:

* **Customers** - Customer master records with contacts and terms
* **Sales Orders** - Sales orders and their line items
* **Invoices** - Customer invoices and balances
* **Items** - Inventory, assembly, and service items
* **Vendors** - Vendor master records
* **Purchase Orders** - Purchase orders and receipts
* **Journal Entries** - General ledger journal entries
* **Employees** - Employee records and roles
