# 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="https://2867423571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfJjIdV9cuW6K8asJjTPJ%2Fuploads%2F6hi6LBU8cw0bw0ZQhj8Y%2Fimage.png?alt=media&#x26;token=62609853-c7aa-4ed9-8959-c2507b20e96f" 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="https://2867423571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfJjIdV9cuW6K8asJjTPJ%2Fuploads%2FAmT22iF6aK8QycCGuQFl%2Fimage.png?alt=media&#x26;token=c0f11e7c-7cb5-456f-811e-979d7ffb3d92" alt=""><figcaption><p>Click "SuiteCloud"</p></figcaption></figure>

      <figure><img src="https://2867423571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfJjIdV9cuW6K8asJjTPJ%2Fuploads%2Fk82MJLX1uVddKowtdCGW%2Fimage.png?alt=media&#x26;token=8954f3bc-fe6a-4b22-bc16-58cd0de5d776" 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="https://2867423571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfJjIdV9cuW6K8asJjTPJ%2Fuploads%2FCB9I8a2HieFJMqB51uON%2Fimage.png?alt=media&#x26;token=cbda585e-e159-4a45-955b-12c0608c1e22" 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="https://2867423571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfJjIdV9cuW6K8asJjTPJ%2Fuploads%2F0WEJjQIrtnU2GjLRd6jG%2Fimage.png?alt=media&#x26;token=40ce791a-2e73-4638-b19d-a6de67ff6df3" alt=""><figcaption><p>Create a new integration in NetSuite</p></figcaption></figure>

   <figure><img src="https://2867423571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfJjIdV9cuW6K8asJjTPJ%2Fuploads%2F49IXHq1DssJuBQ5UlwM8%2FFrame%2030.png?alt=media&#x26;token=8f5b8826-4fdd-47e5-ac40-e90528694dba" 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="https://2867423571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfJjIdV9cuW6K8asJjTPJ%2Fuploads%2Fc7qLaJeDg6fqh2yD9zmX%2Fimage.png?alt=media&#x26;token=4755a109-1aa1-471a-a4a3-08cf67d5df60" 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="https://2867423571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfJjIdV9cuW6K8asJjTPJ%2Fuploads%2FnyMQWJZ2QJ3A2shTedu8%2Fimage.png?alt=media&#x26;token=0ad34043-9170-4ea0-a599-b1119399d78a" 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="https://2867423571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfJjIdV9cuW6K8asJjTPJ%2Fuploads%2FBX9Gi1wuVUXqjEKRcKHN%2Fimage.png?alt=media&#x26;token=01d0021b-b05c-45cc-a67e-deb6bb9ff34b" alt=""><figcaption><p>Click "Manage Access Tokens"</p></figcaption></figure>

   <figure><img src="https://2867423571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfJjIdV9cuW6K8asJjTPJ%2Fuploads%2FKII1DPJKJN3sKP6npmaV%2Fimage.png?alt=media&#x26;token=0184cda8-e27e-4e3d-bf10-e0306130f2a8" 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="https://2867423571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfJjIdV9cuW6K8asJjTPJ%2Fuploads%2FwENVnct9yOqiHo9Davwo%2Fimage.png?alt=media&#x26;token=a27a3670-aead-402b-8feb-2860d45fdc82" 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="https://2867423571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfJjIdV9cuW6K8asJjTPJ%2Fuploads%2FqQy5FuJYgmjas1ouxp7m%2FScreen%20Shot%202025-01-22%20at%201.43.47%20PM.png?alt=media&#x26;token=719a653f-d32a-4815-9699-34e8a2a7132a" alt=""><figcaption><p>Click on the "NetSuite" connector icon</p></figcaption></figure>

<figure><img src="https://2867423571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfJjIdV9cuW6K8asJjTPJ%2Fuploads%2FBwDMOzNSnsHgffDmgmVp%2FScreen%20Shot%202025-01-22%20at%201.46.54%20PM.png?alt=media&#x26;token=a07f9642-6678-4cb8-b2a7-ce0d701619cb" 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!
