Skip to main content
Elastly connects to Oracle NetSuite with OAuth 2.0 client credentials and a certificate that Elastly generates for you. The private key stays in Elastly; you upload only the certificate to NetSuite. This page covers what to prepare in NetSuite, in the order the product’s setup guide lists it, and how production and sandbox accounts are told apart.
The setup is done by a NetSuite administrator who can enable features, create roles and integration records, and edit employee records. In Elastly you need Edit access to Integrations.

The setup guide

Elastly generates a setup guide for your account. Open it from Setup guide in the connection wizard, from the Setup guide card on the connection page, or from the More actions menu. The guide lists every step below with its NetSuite path, and its role step lists every permission, including the permissions for custom records your mapping reads.

Steps

1

Enable the features

In NetSuite, go to Setup › Company › Enable Features and enable:
  • SuiteCloud › REST Web Services
  • SuiteCloud › OAuth 2.0
  • Analytics › SuiteAnalytics Workbook
2

Create the read-only role

Go to Setup › Users/Roles › Manage Roles › New and create a role named Elastly Integration with the permissions in NetSuite permissions.You can also download the role as a file. In step 2 of the wizard select Not sure what to grant?, or select Download role where the product offers it. The file is elastly-readonly-role.xml, a role definition for NetSuite’s SuiteCloud Development Framework. It defines a web services only role named Elastly Integration that sees all subsidiaries.
A permission that exists only when a NetSuite feature is enabled is left out of the role file, because NetSuite does not offer it on an account without the feature. If your account uses one of those features, add the permission by hand. The setup guide marks each one with “(only when … is enabled)”.
3

Assign the role to the integration user

Go to Lists › Employees, open the user Elastly connects as, and on Access › Roles add Elastly Integration.
4

Create the integration record

Go to Setup › Integration › Manage Integrations › New. Select Client Credentials (Machine to Machine) Grant and the scope REST Web Services, then save. Copy the Client ID that NetSuite shows.
5

Generate the certificate in Elastly

In Elastly, open Settings › Integrations, select Connect on Oracle NetSuite and select Generate & download. Keep the downloaded elastly-netsuite.pem for the next step.
6

Map the certificate

Go to Setup › Integration › OAuth 2.0 Client Credentials (M2M) Setup › Create New and set:
  • Entity: the integration user
  • Role: Elastly Integration
  • Certificate: the downloaded .pem file
Save and copy the Certificate ID.
7

Paste the three IDs

Back in the wizard, fill in Paste the three IDs:Select Connect. The wizard continues with the access check described in Connect a provider.

Production and sandbox

Elastly reads the environment from the Account ID. An ID that ends in _SB and a number, ends in _RP, or starts with TSTDRV is a sandbox; any other ID is production. The connection page shows the environment as a PRODUCTION or SANDBOX badge. Letter case and hyphens in the ID are accepted; Elastly stores the ID in upper case with underscores.

Write-back permissions

The role you create for reading does not allow Elastly to write. The setup guide has a separate step, Add quote write-back to the role, that you complete only when you authorise write-back. See Write-back.

NetSuite permissions

Every permission, its level and what it unlocks.

Connect a provider

The five wizard steps after the IDs.