LogoLogo
  • Contributing to RudderStack
  • Destination_Name
  • LICENSE
  • RudderStack Docs
  • docs
    • FAQ
    • Identity Resolution
    • Home
    • cloud-extract-sources
      • ActiveCampaign Source
      • Bing Ads
      • Chargebee
      • Common Settings
      • Facebook Ads
      • Freshdesk
      • Google Ads Source
      • Google Analytics
      • Google Search Console
      • Google Sheets
      • Cloud Extract Sources
      • Intercom v2
      • Intercom
      • Mailchimp
      • Marketo
      • Mixpanel
      • NetSuite
      • Pipedrive
      • QuickBooks
      • Salesforce Pardot
      • Sendgrid Source
      • Stripe Source
      • Xero
      • Zendesk Chat
      • Zendesk
      • hubspot
        • HubSpot Data Model and Schema Information
        • HubSpot
      • salesforce
        • Salesforce
        • Schema Comparison: RudderStack vs. Segment
    • connections
      • Connection Modes: Cloud Mode vs. Device Mode
    • data-governance
      • Data Governance
      • RudderTyper
      • Data Governance API
      • RudderTyper
      • tracking-plans
        • Tracking Plans
        • Tracking Plan Spreadsheet
    • data-warehouse-integrations
      • Amazon Redshift
      • Azure Data Lake
      • Azure Synapse
      • ClickHouse
      • Databricks Delta Lake
      • Google Cloud Storage Data Lake
      • Google BigQuery
      • Identity Resolution
      • Warehouse Destinations
      • Microsoft SQL Server
      • PostgreSQL
      • Amazon S3 Data Lake
      • Snowflake
      • FAQ
      • Warehouse Schema
    • destinations
      • Destinations
      • Webhooks
      • advertising
        • Bing Ads
        • Criteo
        • DCM Floodlight
        • Facebook App Events
        • Facebook Custom Audience
        • Facebook Pixel
        • Google Ads (gtag.js)
        • Google AdWords Enhanced Conversions
        • Google Adwords Remarketing Lists (Customer Match)
        • Advertising
        • LinkedIn Insight Tag
        • Lotame
        • Pinterest Tag
        • Reddit Pixel
        • Snap Pixel
        • TikTok Ads
      • analytics
        • Amplitude
        • AWS Personalize
        • Chartbeat
        • Firebase
        • FullStory
        • Google Analytics 360
        • Google Analytics
        • Heap.io
        • Hotjar
        • Analytics
        • Indicative
        • Keen
        • Kissmetrics
        • Kubit
        • Lytics
        • Mixpanel
        • Pendo
        • PostHog
        • Quantum Metric
        • Singular
        • adobe-analytics
          • Adobe Analytics Heartbeat Measurement
          • Mobile Device Mode Settings
          • Web Device Mode Settings
          • E-commerce Events
          • Adobe Analytics
          • Setting Up Adobe Analytics in RudderStack
        • google-analytics-4
          • Cloud Mode
          • Device Mode
          • Google Analytics 4
          • Setting up Google Analytics 4
        • profitwell
          • ProfitWell
          • Cloud Mode
          • Device Mode
      • attribution
        • Adjust
        • AppsFlyer
        • Branch
        • Attribution
        • Kochava
        • TVSquared
      • business-messaging
        • Business Messaging
        • Intercom
        • Kustomer
        • Slack
        • Trengo
      • continuous-integration
        • Visual Studio App Center
        • Continuous Integration
      • crm
        • Delighted
        • HubSpot
        • CRM
        • Salesforce
        • Variance
        • Zendesk
      • customer-data-platform
        • Customer Data Platform
        • Segment
      • error-reporting
        • Bugsnag
        • Error Reporting
        • Sentry
      • marketing
        • ActiveCampaign
        • AdRoll
        • Airship
        • Appcues
        • Autopilot
        • Blueshift
        • Braze
        • CleverTap
        • Customer.io
        • Gainsight PX
        • Gainsight
        • Marketing
        • Iterable
        • Klaviyo
        • Leanplum
        • Mailchimp
        • Marketo Lead Import
        • Marketo
        • MoEngage
        • Ometria
        • Pardot
        • Post Affiliate Pro
        • Qualtrics
        • SendGrid
        • Salesforce Marketing Cloud
        • Userlist
        • drip
          • Cloud Mode
          • Device Mode
          • Drip
          • Setting Up Drip in RudderStack
      • productivity
        • Google Sheets
        • Productivity
      • storage-platforms
        • Amazon S3
        • DigitalOcean Spaces
        • Google Cloud Storage
        • Storage Platforms
        • Azure Blob Storage
        • MinIO
        • Redis
      • streaming-platforms
        • Amazon EventBridge
        • Amazon Kinesis Firehose
        • Amazon Kinesis
        • Azure Event Hubs
        • BigQuery Stream
        • Confluent Cloud
        • Google Pub/Sub
        • Streaming Platforms
        • Apache Kafka
      • tag-managers
        • Google Tag Manager
        • Tag Managers
      • testing-and-personalization
        • Algolia Insights
        • Candu
        • Google Optimize
        • A/B Testing & Personalization
        • LaunchDarkly
        • Monetate
        • Optimizely Full Stack
        • Optimizely Web
        • Split.io
        • Statsig
        • VWO (Visual Website Optimizer)
    • get-started
      • RudderStack Cloud vs. RudderStack Open Source
      • Glossary
      • Get Started
      • RudderStack Architecture
    • reverse-etl
      • Amazon Redshift
      • Amazon S3
      • ClickHouse
      • FAQ
      • Google BigQuery
      • Reverse ETL
      • PostgreSQL
      • Snowflake
      • common-settings
        • Importing Data using Models
        • Importing Data using Tables
        • Common Settings
        • Sync Modes
        • Sync Schedule
      • features
        • Airflow Provider
        • Features
        • Models
        • Visual Data Mapper
    • rudderstack-api
      • Data Regulation API
      • HTTP API
      • RudderStack API
      • Personal Access Tokens
      • Pixel API
      • Test API
      • api-specification
        • Application Lifecycle Events Specification
        • API Specification
        • Video Events Specification
        • rudderstack-ecommerce-events-specification
          • Browsing
          • Coupons
          • E-Commerce Events Specification
          • Ordering
          • Promotions
          • Reviewing
          • Sharing
          • Wishlist
        • rudderstack-spec
          • Alias
          • Common Fields
          • Group
          • Identify
          • RudderStack Event Specification
          • Page
          • Screen
          • Track
    • rudderstack-cloud
      • Audit Logs
      • Dashboard Overview
      • Destinations
      • RudderStack Cloud
      • Live Events
      • Connection Modes: Cloud Mode vs. Device Mode
      • Sources
      • Teammates (User Management)
      • connections
        • Adding a Destination
        • Connections
    • rudderstack-open-source
      • Control Plane Setup
      • RudderStack Open Source
      • installing-and-setting-up-rudderstack
        • Developer Machine Setup
        • Docker
        • Data Plane Setup
        • Kubernetes
        • Sending Test Events
    • stream-sources
      • App Center
      • AppsFlyer
      • Auth0
      • Braze
      • Customer.io
      • Extole
      • Event Stream Sources
      • Iterable
      • Looker
      • PostHog
      • Segment
      • Shopify
      • Webhook Source
      • rudderstack-sdk-integration-guides
        • Client-side Event Filtering
        • SDKs
        • AMP Analytics
        • Cordova
        • .NET
        • Go
        • Java
        • Node.js
        • PHP
        • Python
        • React Native
        • Ruby
        • Rust
        • Unity
        • SDK FAQs
        • rudderstack-android-sdk
          • Adding Application Class
          • Flushing Events Periodically
          • Android
        • rudderstack-flutter-sdk
          • Flutter SDK v1
          • Flutter v2
          • Flutter
        • rudderstack-ios-sdk
          • iOS
          • tvOS
          • watchOS
        • rudderstack-javascript-sdk
          • Data Storage in Cookies
          • Detecting Ad-blocked Pages
          • JavaScript
          • JavaScript SDK Enhancements
          • JavaScript SDK FAQs
          • Querystring API
          • Quick Start Guide
          • Version Migration Guide
          • consent-managers
            • Consent Managers
            • OneTrust
    • transformations
      • Access Token
      • FAQ
      • Transformations
      • Transformations API
    • user-guides
      • User Guides
      • administrators-guide
        • Troubleshooting Guide
        • Alerting Guide
        • Bucket Configuration Settings for Event Backups
        • Configuration Parameters
        • Event Replay
        • High Availability
        • Horizontal Scaling
        • Administrator's Guides
        • Infrastructure Provisioning
        • Monitoring and Metrics
        • Okta SSO Setup
        • OneLogin SSO Setup
        • RudderStack Grafana Dashboard
        • Software Releases
      • how-to-guides
        • How to Use Custom Domains
        • How to Develop Integrations for RudderStack
        • How to Configure a Destination via the Event Payload
        • How to Filter Events using Different Methods
        • How to Filter Selective Destinations
        • How to Submit a Pull Request for a New Integration
        • How-to Guides
        • How to Debug Live Destination Events
        • How to Use AWS Lambda Functions with RudderStack
        • create-a-new-destination-transformer-for-rudder
          • Best Practices for Coding Transformation Functions in JavaScript
          • How to Create a New Destination Transformation for RudderStack
        • implement-native-js-sdk-integration
          • How to Add a Device Mode SDK to RudderStack JavaScript SDK
          • How to Implement a Native JavaScript SDK Integration
        • rudderstack-jamstack-integration
          • How to Integrate RudderStack with Your JAMstack Site
          • How to Integrate Rudderstack with Your Angular App
          • How to Integrate Rudderstack with Your Astro Site
          • How to Integrate Rudderstack with Your Eleventy Site
          • How to Integrate Rudderstack with Your Ember.js App
          • How to Integrate Rudderstack with a Gatsby Website
          • How to Integrate Rudderstack with a Hugo Site
          • How to Integrate Rudderstack with Your Jekyll Site
          • How to Integrate Rudderstack with Your Next.js App
          • How to Integrate Rudderstack with Your Nuxt.js App
          • How to Integrate Rudderstack with Your Svelte App
          • How to Integrate Rudderstack with Your Vue App
      • migration-guides
        • Migrating from Blendo to RudderStack
        • Migrating Your Warehouse Destination from Segment to RudderStack
        • Migration Guides
        • Migrating from Segment to RudderStack
  • src
    • @rocketseat
      • gatsby-theme-docs
        • text
          • Home
Powered by GitBook
On this page
  • Configuring NetSuite
  • Whitelisting the IPs
  • Enabling token-based authentication
  • Creating an integration
  • Creating a NetSuite role and configuring permissions
  • Locating your NetSuite Account ID
  • Configuring NetSuite source in RudderStack
  • Connection settings
  • Setting the historical sync date
  • Destination settings
  • Selecting the data to import
  • FAQs
  • How can I get the RudderStack Restlet URL?
  • Is it possible to have multiple Cloud Extract sources writing to the same schema?
  • Contact us

Was this helpful?

  1. docs
  2. cloud-extract-sources

NetSuite

Step-by-step guide to ingest data from NetSuite into RudderStack.

PreviousMixpanelNextPipedrive

Last updated 3 years ago

Was this helpful?

is a popular business management suite that delivers efficient ERP, CRM, and other e-commerce solutions to nearly 25000 customers worldwide.

This document guides you in setting up NetSuite as a source in RudderStack. Once configured, RudderStack automatically ingests your specified NetSuite data, which can then be routed to your RudderStack-supported data warehouse destination.

All the Cloud Extract sources support sending data only to a .

Configuring NetSuite

Before you set up a Netsuite source in RudderStack, there are some RudderStack-specific configurations you need to do in your Netsuite account.

Whitelisting the IPs

Depending on the setup of your NetSuite organization, you will have to whitelist the following RudderStack IPs:

  • 3.216.35.97

  • 34.198.90.241

  • 54.147.40.62

  • 23.20.96.9

  • 18.214.35.254

To whitelist the IPs in NetSuite, follow these steps:

  1. Sign into your NetSuite account as an administrator.

  2. Go to Setup > Company > Company Information.

  3. Add a comma-delimited list of the above-mentioned RudderStack IPs in the Allowed IP addresses field.

  4. Finally, click on Save.

Enabling token-based authentication

To do so, follow these steps:

  1. Locate the Manage Authentication option in the Enable Features page.

  2. Enable (check) the Token-based Authentication box.

  3. Finally, scroll to the bottom and click on Save.

Creating an integration

Next, create an integration record for RudderStack to uniquely identify RudderStack in your NetSuite account.

Follow these steps to create a new integration:

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

  2. In the New Integration page, enter the following fields:

    • Name: Enter a name for your integration.

    • State: This field should be Enabled.

  3. In the Authentication tab, enable (check) Token-based Authentication.

  4. Finally, click on the Save button. The confirmation page will display a Consumer key/secret section, as shown:

Safely store the consumer key and secret. You will need these credentials while setting up the NetSuite source in RudderStack.

Creating a NetSuite role and configuring permissions

To create a NetSuite Token ID and Secret, you first need to create a Role for RudderStack and an Employee with this specific role.

Step 1: Creating a role

To create a new role, follow these steps:

  1. Go to Setup > Users/Roles > Manage Roles > New.

  2. Enter a name for the role in the Name field, for example, RudderStack.

  3. Select Two-Factor Authentication Required to Not Required.

  1. Under the Permissions section, go to Setup and assign the following permissions:

Full permissions
View permissions

Web Services

Custom Fields

User Access Tokens

Custom Body Fields

Log In Using Access Tokens

Perform Search (this can be found in the Lists section next to Setup)

Deleted Records

-

For each pipeline resource that you want RudderStack to sync, you should give the relevant permissions for it to the role. These resources are divided among the following sections:

  • Transactions

  • Reports

  • Lists

  • Custom Records.

Note that each permission should have View level.

It is extremely important that you have assigned the permissions for every resource, saved search or custom record that you want RudderStack to sync. This is required so that you don't encounter any RudderStack sync failures with permission-related issues.

Step 2: Creating an employee

To create a new employee, follow these steps:

  1. Navigate to Lists > Employees > Employees > New.

  2. Then, enter the name and email ID of the employee.

  3. Under the Access section, enable (check) Give Access and Manually assign or change password. Then add the required password.

  4. Finally, add the Role which you have created in the previous step and click on Save to save the settings.

Step 3: Creating an access token

In this step, you will need to generate the access tokens required for the integration record (application) and the user role.

To generate the access token, you may have to first log in as this user.

  1. Go to Setup > Users/Roles > Access Tokens > New.

  2. Then, enter the following settings:

    • Application Name: Select the integration record you created.

    • User: Select the user you created.

    • Role: Select the role you created.

    • Token Name: Assign a name for the token.

  3. Finally, click on the Save button. The confirmation page will display a Token ID and Secret, as shown:

For security reasons, this is the only time these credentials will be displayed. Hence, copy and store the Token ID and Token Secret safely. You will need these credentials while setting up the NetSuite source in RudderStack.

Locating your NetSuite Account ID

To locate your NetSuite account ID, go to Setup > Integration > Web Services Preferences.

You will find the account ID in the resulting page, as highlighted below:

If your Account ID contains a suffix, for example, 1234567_SB2, it should be included when you enter the ID during the source configuration in RudderStack.

Configuring NetSuite source in RudderStack

To set up NetSuite as a source on the RudderStack dashboard, follow these steps:

  1. Go to Sources > New source > Cloud Extract and select NetSuite from the list of sources.

  2. Assign a name to your source and click on Next.

Connection settings

Enter the following connection credentials required to set up your NetSuite source in RudderStack:

  • Account Name : Enter your NetSuite account name here. You can get it from your NetSuite dashboard.

  • Consumer Key : Enter your NetSuite consumer key.

  • Consumer Secret : Enter your NetSuite consumer secret.

  • Token ID : Enter your NetSuite token ID.

  • Token Secret : Enter your NetSuite token secret.

Setting the historical sync date

Set the Historical sync start date from when you want RudderStack all your historical NetSuite data. Also specify the RudderStack Restlet URL and click Next, as shown:

Destination settings

The following settings specify how RudderStack sends the data ingested from NetSuite to the connected warehouse destination:

  • Table prefix: RudderStack uses this prefix to create a table in your data warehouse and loads all your NetSuite data into it.

  • Schedule Settings: RudderStack gives you three options to ingest the data from NetSuite:

    • Basic: Runs the syncs at the specified time interval.

    • CRON: Runs the syncs based on the user-defined CRON expression.

    • Manual: You are required to run the syncs manually.

Selecting the data to import

Finally, you need to select the NetSuite data that you wish to ingest via RudderStack. You can either select all the data, or choose specific NetSuite data attributes, as per your requirement, as shown:

Note that none of the resources are selected by default, so you will have to do the selection manually.

Importing custom records and saved searches

RudderStack supports two special types of resources that you can ingest from NetSuite, namely custom records and saved searches. To import these resources, click on Add Resource on the top right, as shown above. You will see the following window:

  • If you have already configured a NetSuite resource before, you can choose the Clone from option to use the values of that resource as is.

  • Alternatively, select the appropriate Resource type you want to import:

    • For a saved_search, enter a Name for the resource, select the Record type present in your NetSuite account, and the exact Saved search that you have created there.

    • For a custom_record, enter a Name for the resource and select the custom record that is present on your NetSuite account.

  • Finally, save the information by clicking on Save.

NetSuite is now configured as a source. RudderStack will start ingesting data from NetSuite as per your specified schedule and frequency.

You can further connect this source to your data warehouse by clicking on Add Destination, as shown:

Use the Use Existing Destination option if you have an already-configured data warehouse destination in RudderStack. To configure a data warehouse destination from scratch, select the Create New Destination button.

FAQs

How can I get the RudderStack Restlet URL?

To create a new Script in your NetSuite account, follow these steps:

  1. Go to Customization > Scripting > Scripts > New.

  2. Then, click on the + icon to create a new script.

  3. Once you have attached it, click on Save, and then click on Create Script Record.

  1. To deploy the script, click on Deployments, add the script Title, and click on Add. After the script is deployed, click on Save.

  1. Finally, click on the title of your deployed script. You should be able to see the External URL, which is the RudderStack Restlet URL that you need to use in the NetSuite source configuration.

Is it possible to have multiple Cloud Extract sources writing to the same schema?

Yes, it is.

RudderStack associates a table prefix for every Cloud Extract source writing to a warehouse schema. This way, multiple Cloud Extract sources can write to the same schema with different table prefixes.

Contact us

You will also need to enable token-based authentication for your NetSuite account in order to generate tokens and authenticate the .

Log into your .

Account ID : Enter the NetSuite account ID. You can get the account ID by going to your NetSuite dashboard and navigating to Setup > Integration > Web Services Preferences. For more information, refer to the section above.

For more information on getting your NetSuite consumer key and secret, refer to the section above.

For more information on getting your NetSuite token ID and secret, refer to the section above.

To get the RudderStack Restlet URL, you need to first install in your NetSuite account and paste the generated restlet URL in the RudderStack dashboard. For more information on adding the script in your NetSuite account, refer to the section below.

For more information on the schedule types, refer to the guide.

To get the RudderStack Restlet URL, you need to first install in your NetSuite account and paste the generated restlet URL in the RudderStack dashboard.

A new window will then pop up asking you to select the downloaded .

Then, add the Name of the script and the Owner, that is the Employee that you created in the section above. Then click on Save.

If you come across any issues while configuring NetSuite as a source in RudderStack, you can or start a conversation in our community.

NetSuite
data warehouse destination
SuiteTalk API
RudderStack dashboard
Common Settings
this script
script
contact us
Slack
Locating your NetSuite Account ID
Creating an integration
Creating an access token
this script
FAQ
Creating an employee
Token based Authentication in Netsuite
New integration in Netsuite
Consume key/token in Netsuite
2FA Authentication in Netsuite
Permissions in Netsuite
Adding an employee in Netsuite
Access token settings in Netsuite
Access token settings in Netsuite
Account ID in Netsuite
Netsuite connection settings
Netsuite connection settings
Selecting import data
Cloning resources
Adding a destination
Creating a new script in NetSuite
Employee details NetSuite
Script deployment NetSuite
Restlet URL NetSuite