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

# NetSuite OAuth 2.0 (Multiple Companies) connector profile – StackOne setup guide

> Set up a connector profile using OAuth 2.0 (Multiple Companies) for NetSuite in StackOne to allow users to link their accounts.

> [!WARNING]
>
> A NetSuite Administrator role is required to complete this setup — it involves enabling account features, editing role permissions, and creating an integration record.

Select Actions to adjust the guideSome actions may require additional configuration in the provider to be accessible. Choose the actions you need and the guide will be updated.

Select all
Clear

ActionScope(s)

Loading actions...No actions match your search.

Dynamic Guide URL

Copy URL

Scopes Selected

<pre role="textbox" aria-readonly="true" tabIndex="0" />

Separator

Copy scopes

## Sign in to NetSuite

Sign in to NetSuite as an administrator before starting — enabling features, editing role permissions, and creating the integration record all require administrator access.

**1. Sign in to NetSuite**

Open the [NetSuite login page](https://system.netsuite.com) and sign in.

<ul>
  <li>Enter your **Email address** and **Password**, then click **Log In**.</li>
  <li>Sign in to the same account (production or sandbox) that you want to connect.</li>
</ul>

![NetSuite Log In screen with Email address and Password fields](https://mintcdn.com/stackone-60/pEeIDEQ2JQ70QdEL/connectors/netsuite/images/oauth2-setup-sign-in.png?fit=max\&auto=format\&n=pEeIDEQ2JQ70QdEL\&q=85\&s=0de792320897e6049b5d2807781ee348)

## Enable required features and permissions

Before creating the integration, make sure the account has the SuiteTalk REST API features enabled and that the connecting role can authenticate with OAuth 2.0.

**1. Enable REST Web Services**

In the **top navigation bar**, go to **Setup** > **Company** > **Enable Features** and open the **SuiteCloud** subtab. Under **SuiteTalk (Web Services)**, check **REST WEB SERVICES**.

![Enable Features SuiteCloud subtab, SuiteTalk (Web Services) section with REST Web Services checked](https://mintcdn.com/stackone-60/nVxDMuf9I9iTyIA3/connectors/netsuite/images/oauth2-setup-enable-suitetalk.png?fit=max\&auto=format\&n=nVxDMuf9I9iTyIA3\&q=85\&s=54521214b2fc12873d6fcc40855d9c21)

**2. Enable OAuth 2.0**

Still on the **SuiteCloud** subtab, scroll to **Manage Authentication** and check **OAUTH 2.0**. Click **Save** when done.

![Enable Features SuiteCloud subtab, Manage Authentication section with OAuth 2.0 checked](https://mintcdn.com/stackone-60/nVxDMuf9I9iTyIA3/connectors/netsuite/images/oauth2-setup-enable-oauth.png?fit=max\&auto=format\&n=nVxDMuf9I9iTyIA3\&q=85\&s=4b865ced3e84da0f17835a70f3facb0d)

**3. Grant the role permissions**

In the **top navigation bar**, go to **Setup** > **Users/Roles** > **Manage Roles**, then click **Edit** next to the role the connecting user will use. On the role page, open the **Permissions** subtab — it is split into sub-tabs by permission type (**Transactions**, **Reports**, **Lists**, **Setup**, etc.). Add the permissions below on the matching sub-tab, then click **Save**.

<ul>
  <li>On the **Setup** sub-tab, add **REST Web Services** with Level set to **Full**.</li>
  <li>On the **Setup** sub-tab, add **Log in using OAuth 2.0 Access Tokens** with Level set to **Full**.</li>
  <li>Add record-level permissions (Level **Full**) for the data StackOne will access. A recommended baseline: **Customers**, **Vendors**, **Employees**, **Invoice**, **Bills**, **Sales Order**, **Purchase Order**, **Journal Entry**, **Credit Memo**, **Customer Payment**, **Deposit**, **Items**, **Accounts**, **Subsidiaries**, **Departments**, **Currency** — plus **SuiteScript** if you also enabled RESTlets.</li>
</ul>

![Role Permissions subtab with the Setup sub-tab selected, showing REST Web Services and Log in using OAuth 2.0 Access Tokens set to Level Full](https://mintcdn.com/stackone-60/nVxDMuf9I9iTyIA3/connectors/netsuite/images/oauth2-setup-role-permissions.png?fit=max\&auto=format\&n=nVxDMuf9I9iTyIA3\&q=85\&s=5a81456f80899030034d51d4064c6b05)

## Create an integration record

Register StackOne as an OAuth 2.0 integration application in NetSuite.

**1. Open Manage Integrations**

Go to **Setup** > **Integration** > **Manage Integrations** to open the **Integrations** list, then click **New**.

![Integrations list with the New button highlighted](https://mintcdn.com/stackone-60/pEeIDEQ2JQ70QdEL/connectors/netsuite/images/oauth2-setup-manage-integrations.png?fit=max\&auto=format\&n=pEeIDEQ2JQ70QdEL\&q=85\&s=c2222cadc925aab91dd2e13d24c5c968)

**2. Enter a name for the integration**

In the **NAME** field, enter a name to identify the integration (for example, StackOne Integration). Leave **STATE** set to **Enabled**.

<ul>
  <li>Leave **REFRESH TOKEN VALIDITY (IN HOURS)** at its default of **168** (7 days). This is the standard NetSuite refresh-token lifetime and is suitable for StackOne — StackOne refreshes the token automatically before it expires. Setting it lower forces more frequent reconnection.</li>
</ul>

## Configure OAuth 2.0

In the **Authentication** subtab, enable OAuth 2.0 with the Authorization Code Grant and register the StackOne redirect URI.

**1. Enable Authorization Code Grant and set the Redirect URI**

In the **OAuth 2.0** section, check **AUTHORIZATION CODE GRANT**. In the **REDIRECT URI** field, enter the StackOne callback URL exactly.

<ul>
  <li>Redirect URI: the **Callback URL** from your Connector Profile</li>
  <li>Leave **PUBLIC CLIENT** unchecked.</li>
</ul>

![Integration form showing Authorization Code Grant, Redirect URI, and the REST Web Services scope](https://mintcdn.com/stackone-60/pEeIDEQ2JQ70QdEL/connectors/netsuite/images/oauth2-setup-oauth-configuration.png?fit=max\&auto=format\&n=pEeIDEQ2JQ70QdEL\&q=85\&s=791c2811ab9f3fbb35b8ada3e19777e0)

**2. Select the REST WEB SERVICES scope**

Enables actions: Create Account, Create Credit Memo, Create Customer, Create Customer Payment, Create Deposit, Create Employee, Create Expense Report, Create Inventory Item, Create Invoice, Create Journal Entry, Create Non-Inventory Sale Item, Create Purchase Order, Create Sales Order, Create Service Sale Item, Create Vendor, Create Vendor Bill, Create Vendor Payment, Delete Customer, Delete Invoice, Delete Journal Entry, Delete Purchase Order, Delete Sales Order, Delete Vendor, Delete Vendor Bill, Execute SuiteQL Query, Get Account, Get Credit Memo, Get Currency, Get Customer, Get Customer Payment, Get Department, Get Deposit, Get Employee, Get Expense Report, Get Inventory Item, Get Invoice, Get Journal Entry, Get Location, Get Purchase Order, Get Sales Order, Get Subsidiary, Get Unified Credentials, Get Unified Organization, Get Unified Role, Get Unified User, Get Vendor, Get Vendor Bill, Get Vendor Payment, List Accounts, List Credit Memos, List Currencies, List Customer Payments, List Customers, List Departments, List Deposits, List Employees, List Expense Reports, List Inventory Items, List Invoices, List Journal Entries, List Locations, List Non-Inventory Sale Items, List Purchase Orders, List Sales Orders, List Service Sale Items, List Subsidiaries, List Unified Organizations, List Unified Roles, List Unified Users, List Vendor Bills, List Vendor Payments, List Vendors, Update Account, Update Customer, Update Invoice, Update Journal Entry, Update Purchase Order, Update Sales Order, Update Vendor, Update Vendor Bill

Under **SCOPE**, enable **REST WEB SERVICES** so the integration can access the SuiteTalk REST API.

<ul>
  <li>
    rest\_webservices
  </li>
</ul>

## Save and copy the credentials

Save the integration record and copy the generated client credentials into StackOne.

**1. Save the integration**

Click **Save**. NetSuite creates the integration and displays the **Client Credentials** on the confirmation page.

**2. Copy the Client ID and Client Secret**

Copy the **CONSUMER KEY / CLIENT ID** into your Connector Profile. Copy the **CONSUMER SECRET / CLIENT SECRET** into your Connector Profile.

<ul>
  <li>If the values are lost, reset the credentials to generate new values.</li>
  <li>**Scopes** (optional): leave as the default `rest_webservices` unless you also enabled RESTlets, in which case enter `rest_webservices restlets`.</li>
</ul>

![Client Credentials section showing the Consumer Key / Client ID and Consumer Secret / Client Secret with values redacted](https://mintcdn.com/stackone-60/pEeIDEQ2JQ70QdEL/connectors/netsuite/images/oauth2-setup-client-credentials.png?fit=max\&auto=format\&n=pEeIDEQ2JQ70QdEL\&q=85\&s=9437ac859f32c17094d4d9e3c9a37ab9)

## Create the StackOne Connector Profile

**1. Create a Connector Profile**

Enable the connector and create a Connector Profile in your project. See [Setup Connector Profile](https://docs.stackone.com/gateway/quickstart.md#setup-connector-profile).

**2. Link an Account**

Once the Connector Profile is created, continue to [link an account](https://docs.stackone.com/connectors/netsuite/guides/link-account/oauth-2-0-multiple-companies.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.