Connectors
Operations Applications

NetSuite SuiteAnalytics

10min

The NetSuite SuiteAnalytics connector differs from our other NetSuite (Oracle NetSuite) connector in that the NetSuite (Oracle NetSuite) connector uses the NetSuite REST API based web services and requires you to deploy an integration application in your NetSuite instance on your own behalf.

There are differences in the NetSuite REST API web services connection so we recommend incorporating both connectors for your production instance especially during a migration or integration effort so that you can assertain what data from your NetSuite instance you are able to attain in your pipeline(s).

This NetSuite SuiteAnalytics connector is focused on using the NetSuite2.com connectivity feature of NetSuite, which has also become known as the analytics data source, or SuiteAnalytics Connect. If your NetSuite instance currently only supports the older NetSuite.com option we highly suggest you work with your NetSuite success team to switch to the newer version since the older version 2018.2 will not receive any new development as of October 2021.

Pre-Requisites for NetSuite SuiteAnalytics Connector:

  • A NetSuite SuiteAnalytics license
  • NetSuite Administrator access to setup the integration
  • Tokens and Keys from the integration
  • Ability to assign the Data Warehouse Integrator (DWI) role
  • Set your Service Data Source connection attribute to NetSuite2.com

Setup Instructions

Below are the setup instructions for this connector broken into sections with ordered steps for ease of navigation and follow along details.

Configure NetSuite Data Source for SuiteAnalytics

  1. Access your NetSuite account by logging in to the NetSuite portal
  2. Click the home icon, or view the left menu for Settings and click the Set up SuiteAnalytics Connect option
    Document image
    
  3. View the details under the Your Configuration area to see the service Service Host, Service Port, and Account Id values and write them down for later retrieval
    Document image
    
  4. Begin configuring the NetSuite2.com data source by clicking Setup from the main header menu and click on the path Setup > Company > Enable Features in order to access the SuiteAnalytics enablement area.
  5. Click on the SuiteCloud tab
    Document image
    
  6. Check the box for Client SuiteScript in the SuiteScript section
  7. Click on I Agree to accept the terms of service that opens
  8. Check the Server SuiteScript option in the SuiteScript section
  9. Click on I Agree to accept the terms of service that opens
  10. (Optional) If using the DLH.io standard NetSuite (Oracle NetSuite) connector you will also check the checkbox for OAUTH 2.0, which allows different entities to be retrieved (Optional for this connector)
  11. Click the Save button which is visibile when you scroll to the bottom of the page.

Create an Integration for SuiteAnalytics

  1. Navigate to create a new integration by accessing the main header and selecting Setup > Integration > Manage Integrations > New
  2. In the create new integration page you will need to update the following items by updating the following form fields with the values:
    • Name = DataLakeHouse.io Integration
    • Description = Integrate DLH.io with NetSuite
    • State = Enabled
    • Token-Based Authentication = Check the checkbox to enable this option All other Token-based Authentication area and OAuth 2.0 checkboxes should be unchecked
    • Document image
      
  3. Click the Save button to save the integration The Client Credentials area will appear above the Save button area and underneath the User Credentials section. Please copy these as they will be used in your connection settings for DLH.io NOTE: These keys, and secrets will not be visible once you leave this page. So, please copy them somewhere to be safely stored and used when creating the connector.
    Document image
    

User Role & Permissions Required for Integration Access

A new role is highly recommended to be created in order to assign the necessary permissions for SuiteAnalytics. With NetSuite2.com source connectivity a new role called Data Warehouse Integration (DWI) is available, and we recommend also creating a new role which will be specific to the DataLakeHouse.io and NetSuite integration.

  1. Navigate to Setup > Users/Roles > Manage Roles > New
  2. In the name field, enter a unique name for the role, ex: DLH_NS_ROLE
  3. Scroll down the page to find the Permissions tab
  4. Click the Setup sub-tab
  5. From the permissions dropdown select the following and click the Add button to add these permissions:
    • Log in Using Access Tokens
    • SuiteAnalytics Connect
  6. Click the Save button to save the new role you created
  7. Next, we need to specify which user will connect to SuiteAnalytics when configured in DLH.io, so navigate to Setup > Users/Roles > Manage Users
  8. Click the name of the user which you've identified to be the user profile that will connect to NetSuite SuiteAnalytics
  9. In the resulting page click the Edit button
  10. Scroll down to the bottom and click on the Access sub-tab
  11. Click the Roles sub-tab
  12. From the dropdown select the Data Warehouse Integrator role
  13. Click Add
  14. Click the Save button to save the changes for the user

Find the Data Warehouse Integrator Role ID

The role Data Warehouse Integrator is required when connecting to SuiteAnalytics. This role id differs across all NetSuite account, so find yours using the following steps and save it for when you create the connector in DLH.io.

  1. Access the roles are by navigating to Setup > User/Roles > Manage Roles
  2. Locate the Internal ID for the Data Warehouse Integrator role by view the Internal ID column for the Data Warehouse Integrator role from the list
    • NB: If you do not see the Internal ID column in the roles table list, then you must click on the Customize View option then in the resulting page find the Intenral Id field in the field dropdown and click Add then click save to add it to the role search list. You may need to give the custom view unique name in order to save.

      Document image
      
  3. Take note of this value and save it for when configuring your NetSuite SuiteAnalytics connector in DLH.io

Create the Access Token

The access token is used in combination with the consumer key and secret from when you created the integration in a prior step. A token id and token secret will be generated in the following steps prior to you being able to successfully configure the DLH.io integration to your NetSuite SuiteAnalytics instance.

Empty New Acess Token Area
Empty New Acess Token Area

  1. Log in with either a user having the Administrator (not System Administrator) or the Access Token Management permission via Setup > Users/Roles > Access Tokens > New
  2. Choose the Application Name from the dropdown, for example, DataLakeHouse.io Integration
  3. Select the User that was assigned the DWI role
  4. Select the Data Warehouse Integrator option from the Role menu
  5. Enter in the Token Name field, DLH_INTEGRATION_NON_SVC_ACCT
    • We use this term so that administrators understand that this token authorization is associated with a user and is usually not a service account. If you are using a service account users specifically for the integration then you can leave this field blank.
  6. Click the Save button NOTE: Immediately take note of the Token ID and Token Secret shown as they will not be displayed once you leave the page
  7. Get ready to enter the information from this step and any captured above into the DLH.io NetSuite SuiteAnalytics connector to integrate the two systems.

Create the DLH.io NetSuite SuiteAnalytics Source Connector

Now that you have completed the setup steps in NetSuite for the integrator and the SuiteAnalytics configuration, etc. you should have all the information required to create the DLH.io connector that points to your NetSuite SuiteAnalytics account. Conduct the following steps:

  1. Navigate to DLH.io and your account
  2. Click on the Source connector and select the NetSuite SuiteAnalytics source connector
  3. Enter the unique Name/Alias for this connection
  4. Enter the Target Schema name that will be created in your Cloud Data Warehouse destination target
  5. Enter in the Account ID (this is just the numbers at the start of your NetSuite account URL, not the entire URL string)
  6. Enter the Port number found in the previous configuration section (Default: 1708)
  7. Enter the Consumer Key
  8. Enter the Consumer Secret
  9. Enter the Token Id
  10. Enter the Token Secret
  11. Enter the Role Id
  12. Leave Allow Non-PK Tables as Yes (default) unless otherwise instructed by support
  13. Click Save & Test to save the connector.
    • At this point DLH.io will attempt to reach your SuiteAnalytics account instance and confirm connection success. The synchronization will be available to start once you create or confirm your destination target and Create a Sync Bridge
  14. Done.


Connector Considerations or Limitations

None at this time.