# Authorize NetSuite

{% hint style="info" %}
If you do not see the following screens to create your API token, it means that you do not have the necessary access rights to authorize your NetSuite instance. An admin role is necessary to perform the connection setup.
{% endhint %}

1. Log in to your NetSuite account and navigate to **Setup** > **Company** > **Enable Features.**<br>

   <figure><img src="/files/0NyKsoBziXNP9VX3eN0Z" alt=""><figcaption><p>Navigate to the NetSuite features configuration panel</p></figcaption></figure>

   1. Under the ”**SuiteCloud**” header make sure the *REST WEB SERVICES* checkbox is checked.

      <figure><img src="/files/o7B09MJOUiOhbDpA5Ofg" alt=""><figcaption><p>Click "SuiteCloud"</p></figcaption></figure>

      <figure><img src="/files/eLWT9phT0C8n6khWdj9b" alt=""><figcaption><p>In the SuiteTalk section, enable SOAP WEB SERVICES and REST WEB SERVICES.</p></figcaption></figure>
   2. Under the ”**Manage Authentication**” header make sure the *TOKEN-BASED AUTHENTICATION* checkbox is checked.

      <figure><img src="/files/20YBucBUsbNDQqeSujQG" alt=""><figcaption><p>Activate Token-Based Authentication</p></figcaption></figure>
   3. Click the save button at the bottom of the page.<br>
2. Navigate to **Setup** > **Integration** > **Manage Integrations** > **New.**

   <figure><img src="/files/gnI9ikW6xzKGMMv43c2u" alt=""><figcaption><p>Create a new integration in NetSuite</p></figcaption></figure>

   <figure><img src="/files/RPxgT7RioIDrqmfTO9lb" alt=""><figcaption><p>Configure the new Stacksync integration in NetSuite</p></figcaption></figure>

   &#x20;

   1. Select `Token-based Authentication` only
   2. Click the save button.
   3. The client credentials will now be displayed and be sure to copy the **Consumer ID** and **Consumer Secret.**

      <figure><img src="/files/5XN723udkR0SaERf5jWu" alt=""><figcaption><p>Save the "Consumer ID" and "Consumer Secret" values safely (to be used in the next steps of this tutorial).</p></figcaption></figure>
3. Navigate to the homepage by clicking the home icon.<br>

   <figure><img src="/files/nBOurteNUHdTqqySh1nU" alt=""><figcaption><p>Navigate to the NetSuite homepage</p></figcaption></figure>
4. At the bottom left corner click the **Manage Access Tokens** button.<br>

   <figure><img src="/files/023nYTYf00xq1Dgtqcbf" alt=""><figcaption><p>Click "Manage Access Tokens"</p></figcaption></figure>

   <figure><img src="/files/4lMq9GUSqO4Ex0pIthFO" alt=""><figcaption><p>Click "New Access Token"</p></figcaption></figure>

   1. Select the **Application Name** you created for this integration.
   2. Enter a ”**Token Name**”.
   3. Save your new access token.
   4. The token credentials will now be displayed. Copy the ”**Token ID**” & ”**Token Secret**”.

   <figure><img src="/files/DfGUDHWMwxbNFXqcjnKt" alt=""><figcaption><p>Save "Token ID" and "Token Secret" values safely (to be used in the next steps of this tutorial).</p></figcaption></figure>
5. Get the `Account ID` from the URL, the domain name has the following format: `<account_id>.app.netsuite.com` .
6. You now have all the necessary credentials to grant Stacksync access to your NetSuite account. Go back to the Stacksync dashboard at <https://app.stacksync.com>.

   <figure><img src="/files/pL6nONDg0zqXgkhNCrUM" alt=""><figcaption><p>Click on the "NetSuite" connector icon</p></figcaption></figure>

<figure><img src="/files/FneKwWYxnMKyhU0eluN8" alt=""><figcaption><p>Insert the credentials obtained from the preview steps in the NetSuite app</p></figcaption></figure>

You successfully granted Stacksync access to your NetSuite account!  :tada:\
Feel free to reach out to us at <hello@stacksync.com> if there is anything we can help with!


---

# 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.stacksync.com/two-way-sync/connectors/netsuite/authorize-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.
