Skip to main content
There are two ways to connect NetSuite. Use the one that matches the fields shown in your Connect flow.

Pre-requisites

Before setting up the integration, make sure you meet the following requirements:
  • You possess Administrator permissions in your company’s NetSuite instance or have access permissions shared with you by another user.

Enable Features

Do this before installing the bundle. Navigate to Setup > Company > Enable Features and turn on:
1

Token-Based Authentication and OAuth 2.0

On the SuiteCloud subtab, under Manage Authentication.UntitledUntitled
2

REST Web Services

On the SuiteCloud subtab, under SuiteTalk (Web Services).Untitled
3

Client SuiteScript and Server SuiteScript

On the SuiteCloud subtab, under SuiteScript.Untitled
If any of these are off, installing the bundle in the next section fails with NetSuite’s generic “An unexpected error has occurred” page. The error comes from NetSuite, not from us, and it does not say which feature is missing — so confirm all of the above are enabled before you install.

Install the Bundle

1

First Step

In your NetSuite account, navigate to Customization > SuiteBundler > Search & Install Bundles > List or search for Search & Install Bundles in the Search bar.Untitled
2

Second Step

Search for the Commenda Technologies Inc bundle or bundle ID 565042 using the Keyword box. Untitled
3

Third Step

Select the bundle and click Install. Untitled
4

Fourth Step

The bundle will begin installing and you maybe directed to the Installed Bundles page. It may take up to 5 minutes to install. Untitled

Create a new integration to generate the Consumer Key and Consumer Secret

1

First Step

Navigate to Setup > Integration > Manage Integrations > New to create a new integration. Untitled
2

Second Step

Create an integration with the below details:
  • Any value can be populated in the NAME field
  • The CONCURRENCY LIMIT should be left unpopulated
  • Ensure the REST WEB SERVICES box is checked under SCOPE
  • The TOKEN-BASED AUTHENTICATION and TBA AUTHORIZATION FLOW boxes should be checked
  • Fill in the CALLBACK URL and REDIRECT URI with a value of [ROOTFI CALLBACK URL](ROOTFI CALLBACK URL) Untitled
3

Third Step

Save the integration to generate the Consumer Key and Consumer Secret. This will only be shown once, so store them in a secure place.consumer key and consumer secret screenshot.png
4

Fourth Step

The bundle will begin installing and you maybe directed to the Installed Bundles page. It may take up to 5 minutes to install. Untitled

Assign a user to the role

1

First Step

Navigate to Setup > Users/Roles > Manage Users or search Manage Users in the Search bar.Untitled
2

Second Step

In the Manage Users page, either select a user to assign the Role to.Untitled
3

Third Step

In the user’s employee record, click Edit and go to the Access tab. In your Access tab, go to Roles and select RootFi Role Permission.Untitled

Create an access token to get your Token ID and Secret

1

First Step

In your Setup tab, go to User Roles > Access Tokens > New or search New Access Token in the search bar to begin creating a New Access Token.Untitled
2

Second Step

Select the Application Name (name of the integration you created in Step 2), User and Role (RootFi Role Permission) and click Save to generate a new access token.Untitled
3

Third Step

Copy the Token ID and Token Secret provided. This will only be shown once, so store them in a secure place.token id and token secret screenshot.png

Finding your NetSuite Account ID

1

First Step

Log into your NetSuite portal
2

Second Step

Copy the subdomain of the URL at the top of your browser and enter it within the Connect Link. In the below screenshot it is 8635772-sb1. Screenshot 2024-04-19 at
2.53.59 PM.png

Enter credentials in the Connect flow

Untitled
  • Consumer Key: Confirmation screen after creating the integration (Step 2)
  • Consumer Secret: Confirmation screen after creating the integration (Step 2)
  • Token ID: Confirmation screen after creating your Access Token (Step 3)
  • Token Secret: Confirmation screen after creating your Access Token (Step 3)

OAuth 2.0 Client Credentials (Latest)

To connect with OAuth 2.0 Client Credentials, you need:
  • NetSuite Account ID
  • Certificate ID

Enable Features

Do this before installing the bundle. Navigate to Setup > Company > Enable Features and turn on:
1

OAuth 2.0

On the SuiteCloud subtab, under Manage Authentication.Enable FeaturesOAuth 2.0
2

REST Web Services

On the SuiteCloud subtab, under SuiteTalk (Web Services).REST Web Services
3

Client SuiteScript and Server SuiteScript

On the SuiteCloud subtab, under SuiteScript.SuiteScript

Install or update the bundle

1

Open Search & Install Bundles

Navigate to Customization > SuiteBundler > Search & Install Bundles > List or search for Search & Install Bundles in the Search bar.Search & Install Bundles
2

Find the bundle

Search for the Commenda Technologies Inc bundle or bundle ID 565042 using the Keyword box. Find the bundle
3

Install

Select the bundle and click Install. Install
4

Wait for the install

The bundle will begin installing and you may be directed to the Installed Bundles page. It may take up to 5 minutes to install.
5

Update the bundle

If the bundle is already installed, click the gear icon next to Commenda Technologies Inc and select Update.Installed Bundles

Find your NetSuite Account ID

Copy the subdomain of your NetSuite URL. In the below screenshot it is 8635772-sb1. NetSuite Account ID

Assign the Commenda role to a user

1

Open the user

Navigate to Setup > Users/Roles > Manage Users, select the user and click Edit.
2

Add the role

On the Access tab, under Roles, add Commenda Technologies, Inc. and click Save.

Create the client credentials mapping

1

Download the Commenda certificate

In the Connect flow, enter your NetSuite Account ID and click Download Commenda certificate. Keep the Connect flow open.
2

Open OAuth 2.0 Client Credentials Setup

In NetSuite, navigate to Setup > Integration > Manage Authentication > OAuth 2.0 Client Credentials (M2M) Setup and click Create New.OAuth 2.0 Client Credentials Setup
3

Create the mapping

  • Entity: the user you assigned the role to
  • Role: Commenda Technologies, Inc.
  • Application: Commenda OAuth 2.0 M2M
  • Certificate: the certificate you downloaded
Click Save.Create a New Client Credentials Mapping
4

Copy the Certificate ID

Copy the Certificate ID of the new mapping.Certificate ID

Enter details in the Connect flow

Back in the Connect flow, paste the Certificate ID and click Continue.
Connect flow
If the certificate on the mapping is replaced or revoked, its Certificate ID stops working. Reconnect with the new Certificate ID.