# NetSuite

Oracle NetSuite is a cloud-based ERP platform that manages financials, order management, inventory, CRM, and business operations. Connecting NetSuite to Duvo lets your assignments read and manage enterprise data directly through the NetSuite AI Connector MCP, eliminating manual navigation of NetSuite screens.

## Setup

Connecting NetSuite requires creating an Integration Record in your NetSuite account and providing Duvo with the resulting OAuth credentials.

### Prerequisites

* A NetSuite account with administrator access.
* The **NetSuite AI Connector MCP** service enabled on your account. Your NetSuite account ID is visible in your NetSuite URL (`https://<accountid>.app.netsuite.com`).

### Setup Steps

1. **Create an Integration Record in NetSuite.**
   * Go to **Setup > Integration > Manage Integrations > New**.
   * Give the integration a name (for example, `Duvo`).
   * Under **Authentication**, enable **Authorization Code Grant (OAuth 2.0)**.
   * Add Duvo's redirect URI as an allowed redirect URI. You can find this URI in the Duvo connection form under **How to set up your OAuth app**.
   * Save the record. NetSuite displays the **Client ID** and **Client Secret** once — copy them immediately.
2. **Enter credentials in Duvo.**
   * On the [Connections page](https://app.duvo.ai/integrations), select **NetSuite** and click **Enable**.
   * Fill in the connection fields below and click **Enable**.

### Connection Fields

| Field                   | Description                                                                                                                                                                       |
| ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Integration Name**    | A custom name to help you identify this connection (for example, `NetSuite Production`).                                                                                          |
| **MCP Server URL**      | Your NetSuite AI Connector MCP endpoint, in the format `https://<accountid>.suitetalk.api.netsuite.com/services/mcp/v1/all`. Replace `<accountid>` with your NetSuite account ID. |
| **OAuth Client ID**     | The Client ID shown when you saved the Integration Record in NetSuite.                                                                                                            |
| **OAuth Client Secret** | The Client Secret shown when you saved the Integration Record in NetSuite. This is displayed only once.                                                                           |

### Third-Party Documentation

* [NetSuite AI Connector MCP](https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/chapter_1563541660.html) — Oracle's guide to enabling and configuring the AI Connector MCP service.
* [NetSuite Integration Records](https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_157771281.html) — How to create and manage OAuth 2.0 Integration Records.

## Capabilities

* **Financial record management** — Read and manage accounts, general ledger entries, journal entries, and financial transactions.
* **Customer and vendor management** — Access customer and vendor records including contact details, payment terms, and transaction history.
* **Order and fulfillment tracking** — Retrieve sales orders, purchase orders, and fulfillment records across your operations.
* **Inventory visibility** — Look up inventory items, stock levels, and warehouse data.
* **Reporting and analytics** — Run saved searches and retrieve structured data for business reporting.

## Key Benefits

* **Direct ERP access** — Assignments query NetSuite data in real time, so reports and workflows reflect current records without manual exports.
* **Broad operational coverage** — A single connection spans financials, CRM, inventory, and order management across your NetSuite environment.
* **Secure OAuth authentication** — Uses NetSuite's standard OAuth 2.0 Authorization Code flow, so your credentials are never shared directly with Duvo's servers.
* **No NetSuite expertise required after setup** — Once connected, assignments translate natural-language requests into the correct NetSuite queries, so business users do not need to know NetSuite navigation paths.

## Works Well With

* **Google Sheets or Microsoft Excel** — Pull NetSuite financial data, vendor lists, or order summaries into spreadsheets for analysis and reporting.
* **Gmail or Microsoft Outlook** — Retrieve NetSuite records and include them in automated notifications, approval emails, or customer follow-ups.
* **Slack or Microsoft Teams** — Post NetSuite order updates, financial alerts, or inventory changes to team channels automatically.


---

# 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://docs.duvo.ai/connections/available-connections/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.
