Skip to main content

NetSuite Integration

A guide to configuring the OAuth Integration in NetSuite and connecting the tenant as an Enterprise Integration in Calxa.

Shem Bogusz avatar
Written by Shem Bogusz
Updated this week

Before you can add a NetSuite organisation to your Calxa workspace, it's essential to first establish a secure integration between your NetSuite tenant and Calxa subscription. Calxa connects to NetSuite using the OAuth 2.0 Client Credentials Flow (M2M). This guide will walk you through the secure connection setup requirements in both NetSuite and Calxa.

💡Prerequisites

Review Calxa and NetSuite help article for more details on prerequisites and best practices for a smooth integration. The following list summaries the prerequisites.

  • Administrative access to NetSuite for integration setup in NetSuite

  • NetSuite User with required access rights

  • Calxa Enterprise subscription

    • Owner or Co-Owner access to this subscription

NetSuite Account ID

Calxa will need the NetSuite Account ID to make web requests to your NetSuite data.

  1. Open the NetSuite application in your web browser

  2. Copy the Account ID from the browser address bar (keep for use in future steps: NetSuite Integration in Calxa)

Enable OAuth 2.0 in NetSuite

  1. Navigate to Setup -> Company -> Enable Features

  2. Click the SuiteCloud subtab

  3. In the SuiteScript section, check the following boxes:

    • Client SuiteScript. Click I Agree on the SuiteCloud Terms of Service page

    • Server SuiteScript. Click I Agree on the SuiteCloud Terms of Service page

      SuiteScript section of the Enable Features menu in NetSuite
  4. In the Manage Authentication section, check the OAuth 2.0 box. Click I Agree on the SuiteCloud Terms of Service page

    Manage Authentication section of the Enable Features menu in NetSuite
  5. Click Save

OAuth 2.0 Client Credentials Flow (M2M) in NetSuite

  1. Navigate to Setup -> Integration -> Manage Integrations

  2. Click on New to create a new integration

    Integrations menu in NetSuite

  3. Enter the following properties

    1. Name: Calxa

      The name of the application. You can specify any descriptive name you prefer.

    2. State: Enabled
      Blocked will block an integration from connecting to NetSuite.

    3. Concurrency Limit: 1 minimum but higher preferred
      Indicates the max number of concurrent requests the integration can make. In practice this is the maximum number of Subsidiaries Calxa can sync at the same time. Search Concurrency Limits in NetSuite help for more details. :

    4. Client Credentials (Machine To Machine) Grant: Checked

    5. Rest Web Services: Checked

      New integration form in NetSuite
    6. Click Save

  4. Copy the Client ID (keep for use in future steps: NetSuite Integration in Calxa)

    Client ID and Client Secret in NetSuite

NetSuite Integration in Calxa

Once you have created the Integration in NetSuite you are now ready to setup the Enterprise Integration in Calxa.

  1. Navigate to the Calxa Admin portal
    If you are in a Calxa workspace navigate to:
    Settings -> Billing & Admin -> Manage Organisations

  2. Select Enterprise integrations from the left navigation

  3. Click ADD NEW INTEGRATION

    Add New Integration in Calxa Enterprise Integrations
  4. Select NetSuite and click SET UP NOW

  5. Enter the following properties:

    1. Account ID: value copied in
      NetSuite Account ID -> Step 2

    2. Client ID: value copied in
      OAuth 2.0 Client Credentials Flow (M2M) in NetSuite -> Step 4

      NetSuite Account ID and Client ID
  6. Click NEXT STEP

  7. Click DOWNLOAD to download a new certificate authentication certificate

  8. Continue onto Upload Certificate in NetSuite but keep this window open as you'll return here soon

Upload Certificate in NetSuite

  1. Switch back to NetSuite

  2. Navigate to Setup -> Integration -> OAuth 2.0 Client Credentials (M2M) Setup

  3. Click Create New

  4. Enter the following properties:

    1. Entity: User for this integration

    2. Role: The user role for this integration with required access rights

    3. Application: Select the application created in ​OAuth 2.0 Client Credentials Flow (M2M) in NetSuite

    4. Certificate: select the certificate downloaded in NetSuite Integration in Calxa

      Client certificate mapping in NetSuite
  5. Click Save

  6. Copy the Certificate ID (keep for use in future steps:

    Client Credentials Certificate IDs in NetSuite

NetSuite Integration in Calxa continued...

  1. Switch back to Calxa

  2. Enter the Certificate ID copied in Upload Certificate in NetSuite -> Step 6

    Certificate ID in the Calxa Integration configuration
  3. Click NEXT STEP

  4. The final step runs an automatic check to confirm everything is set up correctly. If successful, you’ll see a Connected message.


    If there’s an error, revisit the earlier steps to make sure all settings are correct.

    NetSuite integration test in Calxa


Did this answer your question?