# NetSuite Integration Connect Oracle NetSuite to your AI agent through the NetSuite AI Connector Service. Use one shared NetSuite sign-in, or let each user sign in with their own NetSuite account. --- Connect Oracle NetSuite so your Chipp AI can work with your NetSuite data: look up customers, orders and invoices, run saved searches and reports, and use any other tools your NetSuite account offers. Chipp connects to the **NetSuite AI Connector Service**, which NetSuite runs for your account. The tools come from your NetSuite account, so what your AI can do depends on the SuiteApps you installed (for example **MCP Standard Tools**) and on the NetSuite role used to sign in. NetSuite only lets a tool do what that role is allowed to do. ## Before you start You need a NetSuite administrator for these steps. 1. Enable these features in NetSuite: **Server SuiteScript**, **OAuth 2.0** and **REST Web Services**. 2. Install a SuiteApp that provides tools, such as **MCP Standard Tools**. 3. Pick the role people will sign in with. It must **not** be the Administrator role (NetSuite refuses it for the AI Connector Service). Give the role the permissions **MCP Server Connection** and **OAuth 2.0 Access Tokens** (and **REST Web Services** for some tools). ## Create the integration record Chipp signs in to NetSuite with OAuth 2.0 (Authorization Code with PKCE), using an integration record that you create in your own account. **1.** Open the Connect screen in Chipp In your app's builder, go to **Brain > Integrations > Browse all integrations** and choose **NetSuite**. The screen shows the two redirect URIs you need in the next step. Keep it open. **2.** Create the record In NetSuite, go to **Setup > Integration > Manage Integrations > New**. Give it a name (for example "Chipp"), then: - Under **OAuth 2.0**, check **Authorization Code Grant**. - Check the **NetSuite AI Connector Service** scope. Leave the other scopes unchecked: NetSuite only accepts this scope on its own. - In **Redirect URI**, add both redirect URIs from the Chipp screen. The first is for the shared sign-in (the Connect button), the second is for each user's own sign-in in chat. They look like `https://build.chipp.ai/api/integrations/mcp/oauth/callback` and `https://dino-mullet.chipp.ai/consumer/mcp/oauth/callback`, but always copy them from the Chipp screen. - Check **Public Client** if you do not want a client secret. This is the simplest choice. - Make sure **State** is **Enabled**. **3.** Copy the Client ID Save the record. NetSuite shows the **Client ID** (and the **Client Secret** if the record is not a public client) only once, so copy them now. ## Connect NetSuite in Chipp On the NetSuite screen in Chipp, fill in: - **NetSuite Account ID**: find it in NetSuite at **Setup > Company > Company Information**. Enter it as shown there. A sandbox ID such as `1234567_SB1` works too; Chipp turns it into the address NetSuite uses (`1234567-sb1`). - **Client ID**: from the integration record. - **Client Secret** (optional): only when **Public Client** is not checked on the record. - **Per-user accounts**: choose how people connect (see below). Click **Connect NetSuite**. A NetSuite window opens: sign in, pick the role (not Administrator) and click **Allow**. Chipp then lists the tools your account offers. Choose the tools you want and click **Save**. Chipp stores the Client ID, the Client Secret and the NetSuite tokens encrypted. They are never shown again and never sent to the AI model. ## Shared account or per-user accounts **Shared account (Per-user accounts off).** Everyone who chats with your app uses the NetSuite sign-in you made when you clicked Connect, with that role's permissions. Chipp renews the access automatically. If NetSuite stops accepting the sign-in (the record was disabled, the access was revoked, or the sign-in expired), the integration shows **Sign-in expired** and a **Reconnect NetSuite** button. **Per-user accounts (on).** Your own sign-in is used only to list the tools. Each user who asks for something in NetSuite sees a **Connect NetSuite** card in the chat and signs in with their own NetSuite account and role. Each user's tools then run with only their own sign-in; one user's NetSuite access is never used for another user. People who chat without signing in to your app cannot connect NetSuite. To check the flow yourself, use **Test: connect your own account** on the NetSuite settings in Chipp. You can switch between the two modes later in the NetSuite settings under **Per-user accounts**. ## How long a sign-in lasts NetSuite sets the limits, on the integration record: - An access lasts 60 minutes. Chipp renews it on its own. - The renewal key lasts 7 days, or 2 days by default for a public client, and you can change this on the record (1 hour to 30 days). It is renewed every time Chipp renews the access, so a connection that is used regularly keeps working. A connection unused for longer than this needs a new sign-in. ## Troubleshooting | What you see | What to check | |--------------|---------------| | "Invalid login attempt" or a redirect error in the NetSuite window | Both redirect URIs from the Chipp screen are on the integration record, exactly as shown. | | NetSuite refuses the role | Sign in with a role that is not Administrator and has **MCP Server Connection** and **OAuth 2.0 Access Tokens**. | | Connected, but no tools are listed | A tools SuiteApp (such as MCP Standard Tools) is installed and the role can use it. | | "Too Many Requests" from a tool | Your NetSuite concurrency limit is reached. Your administrator can set a limit on the integration record. | Every request appears in NetSuite on the integration record, on the **Execution Log** tab, under **AI Connector Service (MCP)**.