Skip to Content

Connect to NetSuite with 3-legged OAuth 2.0 (3LO) using the HTTP v2 connector in Jitterbit Studio

Introduction

This page descrbes how to set up 3-legged OAuth 2.0 (3LO) with the HTTP v2 connector to connect to NetSuite. You first create and configure a NetSuite integration record and then configure an app registration in the Management Console.

Note

Agent version 10.83 / 11.21 or later is required to use 3-legged OAuth 2.0 authentication.

Create and configure a NetSuite integration record

Follow these steps to create and configure a NetSuite integration record:

  1. Ensure REST web services and OAuth 2.0 are enabled on your NetSuite account.

  2. Create a NetSuite integration record for use with OAuth 2.0.

    • Set the Redirect URI to one of the following URLs (depending on your organization's region):

      Region URL
      APAC https://apps.apac-southeast.jitterbit.com/design-studio/api/v1/oauth/authcode
      EMEA https://apps.emea-west.jitterbit.com/design-studio/api/v1/oauth/authcode
      NA https://apps.na-east.jitterbit.com/design-studio/api/v1/oauth/authcode
    • Retain the client ID and client secret required for a valid app registration when the integration record is created. The credentials are shown once and must be reset if lost or forgotten.

Configure an app registration in the Management Console

Follow these steps to configure required values for a Management Console private application app registration:

  1. Gather the required information:

  2. In the app registration's configuration, ensure that the HTTP v2 connector is selected. Enter values for the Name, Description, Client ID, and Client Secret.

  3. Enter rest_webservices as the scope.

  4. Set the app's Authentication URL as https://<accountID>.app.netsuite.com/app/login/oauth2/authorize.nl where <accountID> is your NetSuite account ID.

  5. Set the app's Access token URL and Refresh token URL as https://<accountID>.suitetalk.api.netsuite.com/services/rest/auth/oauth2/v1/token where <accountID> is your NetSuite account ID.

  6. Go to Advanced options.

    In the Authentication request tab under Parameters, enter response_type as the Key and code as the Value. Then select Request URL from the Send in menu.

  7. In the Token request tab under Parameters, enter grant_type as the Key and enter authorization_code as the Value. Then select Request URL from the Send in menu.

  8. In the Refresh request tab under Parameters, enter grant_type as the Key and enter refresh_token as the Value. Then select Request URL from the Send in menu.

Once the private application is registered on the App Registrations page, it is available to be selected in the OAuth Application menu in the HTTP v2 connection.