Skip to main content

NetSuite Setup Guide

Prerequisites

Before you start, make sure you have:

Setup Guide

Step 1: Look up your SuiteAnalytics Connect details

  1. Open Set Up SuiteAnalytics Connect in your NetSuite account (it sits in the Settings module on the home page) and click Your Configuration.
  2. That page lists the service host, port, and account ID that the Matia connection form asks for. Copy all three.

Step 2: Turn on SuiteScript and token sign-in

  1. Open Setup > Company > Enable Features from the NetSuite dashboard.

  2. Switch to the SuiteCloud tab. Under SuiteScript, turn on Client SuiteScript.

  3. In the terms tab that opens, click I Agree.

  4. Still under SuiteScript, turn on Server SuiteScript as well.

  5. In the terms tab that opens, click I Agree.

  6. Scroll down to Manage Authentication and turn on Token-Based Authentication.

  7. In the terms tab that opens, click I Agree.

  8. Click Save.

    NOTE: NetSuite's documentation covers token-based authentication in more detail.

Step 3: Register Matia as an integration

  1. Go to Setup > Integration > Manage Integrations > New.

  2. Name the integration, for example "Matia connector". You can leave the description blank.

  3. Set State to Enabled if it is not already.

  4. On the Authentication tab, make sure Token-based Authentication is the only option selected.

  5. Click Save.

  6. Copy the Consumer Key and Consumer Secret from the confirmation page. They go into the Matia connection form.

    IMPORTANT: This page is your only chance to see these values, so save them somewhere secure right away. A lost key or secret can be replaced only by resetting it.

    NOTE: NetSuite's documentation explains integration records in more detail.

Step 4: Set up a role and a user for Matia

  1. Start a new role from Setup > Users/Roles > Manage Roles > New.

  2. Name the role, for example "Matia Read Access".

  3. Grant the role these two permissions, found on the Setup subtab of the Permissions tab:

    • Log in using Access Tokens
    • SuiteAnalytics Connect
  4. Click Save.

  5. Open the user list at Setup > Users/Roles > Manage Users.

  6. Choose the NetSuite user Matia should connect as and open that user's record.

    NOTE: It does not matter whether this user has two-factor authentication (2FA) enabled.

  7. Click Edit.

  8. The user needs two roles. Select Give Access on the Access tab if it is not already selected, then add these roles on the Roles subtab:

    • the role you just created (for example, "Matia Read Access")
    • the system Data Warehouse Integrator role
  9. Click Save.

Step 5: Generate a token for that user

  1. This step needs an administrator account or the Access Token Management permission, so sign in with one first. Then open Setup > Users/Roles > Access Tokens and click New.

  2. For Application Name, choose the integration record from step 3 (for example, "Matia connector").

  3. For User, pick the same user you edited in step 4.

  4. Set Role to Data Warehouse Integrator.

  5. Click Save. Matia authenticates with the Token ID and Token Secret that appear next, so copy both.

    NOTE: NetSuite's documentation has more detail on access tokens.

Step 6: Note the internal ID of the Data Warehouse Integrator role

  1. Return to Setup > Users/Roles > Manage Roles.
  2. Copy the Internal ID shown next to Data Warehouse Integrator. This number is the Role ID you enter in Matia.

Enter the details in Matia

  1. Enter Service Host, Service Port, and Account ID from step 1.
  2. Enter Consumer key and Consumer secret from step 3.
  3. Enter Token ID and Token secret from step 5.
  4. Enter Role ID from step 6.
  5. Click Test Connection.
  6. Click Save.