{"id":3892,"date":"2024-04-25T13:58:21","date_gmt":"2024-04-25T13:58:21","guid":{"rendered":"https:\/\/www.onsightapp.com\/user-guide\/?p=3892"},"modified":"2026-02-25T01:14:20","modified_gmt":"2026-02-25T01:14:20","slug":"how-do-i-connect-onsight-to-netsuite","status":"publish","type":"post","link":"https:\/\/www.onsightapp.com\/user-guide\/how-do-i-connect-onsight-to-netsuite\/","title":{"rendered":"How do I connect Onsight to NetSuite?"},"content":{"rendered":"<p>Onsight&#8217;s custom integration for NetSuite connects to NetSuite using Token Based Authentication (TBA). The following process sets up &#8216;Token Based Authentication&#8217;, creates a &#8216;Role&#8217; and a &#8216;User&#8217; for the integration to use, creates an &#8216;Integration Application&#8217; record and then generates a &#8216;Token ID&#8217; and &#8216;Token Secret&#8217; for the integration to use. <\/p>\n<p>Most of the steps in this process require a NetSuite login that has Administrator permissions. Please log into NetSuite with an Administrator account and then complete the steps listed below. If you do not have Administrator privileges, you will not be able to complete this process.  <\/p>\n<h2>Step 1: Enable the REST API Feature<\/h2>\n<p>Go to &#8216;Setup&#8217; > &#8216;Company&#8217; > &#8216;Enable Features&#8217;.<br \/>\nGo to the &#8216;SuiteCloud&#8217; tab.<br \/>\nGo to the &#8216;SuiteTalk (Web Services)&#8217; section.<br \/>\nEnable &#8216;REST Web Services&#8217;.<\/p>\n<p>If you are on an older version of NetSuite, you might also see these other two options and you should enable them as well:<br \/>\n&#8216;REST Record Service&#8217;<br \/>\n&#8216;REST Query Service&#8217; <\/p>\n<h2>Step 2:\u00a0Enable the Token-based Authentication Feature<\/h2>\n<p>Go to &#8216;Setup&#8217; > &#8216;Company&#8217; > &#8216;Enable Features&#8217;.<br \/>\nGo to the &#8216;SuiteCloud&#8217; tab.<br \/>\nGo to the &#8216;Manage Authentication&#8217; section.<br \/>\nEnable &#8216;Token Based Authentication&#8217;.<\/p>\n<h2>Step 3:\u00a0Set Up Token-based Authentication Roles<\/h2>\n<p>Go to &#8216;Setup&#8217; > &#8216;Users \/ Roles&#8217; > &#8216;Manage Roles&#8217; > &#8216;New&#8217;.<br \/>\nCreate a new role.<br \/>\nType in a name: &#8216;Onsight Integration Role&#8217;.<br \/>\nFor Center Type choose &#8216;Accounting center&#8217;.<br \/>\nGo to the Authentication section.<br \/>\nDisable &#8216;Web Services Only Role&#8217;. This allows us to be able to log in and troubleshoot issues. If you intend to link this role to one of your existing user accounts and you do not want to give us access to log in and troubleshoot issues then you can enable this flag.<br \/>\nFor &#8216;Two Factor Authentication&#8217; choose &#8216;Not required&#8217;.<\/p>\n<p>Go to the &#8216;Permissions&#8217; tab and then click through each of the sub-tabs and enable all of the permissions listed below.\u00a0Please also note that some are &#8216;View&#8217; and some are &#8216;Full&#8217;. You need to specify these exactly as listed below.<\/p>\n<p>Transactions &#8211; Find Transaction &#8211; Full<br \/>\nTransactions &#8211; Invoice &#8211; Full<br \/>\nTransactions &#8211; Quote or Estimate &#8211; Full (it might be called either Quote or Estimate in your system)<br \/>\nTransactions &#8211; Sales Order &#8211; Full<\/p>\n<p>Reports &#8211;\u00a0SuiteAnalytics Workbook &#8211; Edit<\/p>\n<p>Lists &#8211; Classes &#8211;\u00a0View<br \/>\nLists &#8211; Contacts &#8211;\u00a0View<br \/>\nLists &#8211; Customer Profile &#8211;\u00a0View<br \/>\nLists &#8211; Customers &#8211;\u00a0Full<br \/>\nLists &#8211; Departments &#8211;\u00a0View<br \/>\nLists &#8211; Documents and Files &#8211;\u00a0View<br \/>\nLists &#8211; Employee Record (this is used to get the Sales Rep field) &#8211;\u00a0View<br \/>\nLists &#8211; Employees &#8211;\u00a0View<br \/>\nLists &#8211;\u00a0Gift Certificate &#8211; Full<br \/>\nLists &#8211; Items &#8211;\u00a0Edit<br \/>\nLists &#8211; Locations &#8211;\u00a0View<br \/>\nLists &#8211; Perform Search &#8211; Full<br \/>\nLists &#8211; Tax Records (to get taxes) &#8211;\u00a0View<br \/>\nLists &#8211; Tax Schedules\u00a0(to get taxes) &#8211;\u00a0View<br \/>\nLists &#8211; Units &#8211;\u00a0View<\/p>\n<p>Setup &#8211; Accounting Lists &#8211;\u00a0View<br \/>\nSetup &#8211; Custom Lists &#8211; View<br \/>\nSetup &#8211; Custom Fields &#8211; View<br \/>\nSetup &#8211; Customer Status &#8211; Full<br \/>\nSetup &#8211;\u00a0Log in using Access Tokens &#8211;\u00a0Full<br \/>\nSetup &#8211;\u00a0Records Catalog &#8211; View<br \/>\nSetup &#8211; REST Web Services &#8211;\u00a0Full<br \/>\nSetup &#8211; User Access Tokens &#8211;\u00a0Full<\/p>\n<p>Click &#8216;Save&#8217;.\u00a0<\/p>\n<h2>Step 4:\u00a0Assign Users to the Token-based Authentication Role<\/h2>\n<p>You can use an existing user for the Token Based Authentication or you can create a new user. The benefit of creating a new user for us is that we can use this to get access to your NetSuite instance for troubleshooting purposes. The process below is to create a new user account for us. If you are using an existing user, you only need to assign the new role to the existing user. Do not follow the steps to create a new user. Whether you choose a new user for us or you choose an existing user, the integration will run as that user, and if the user is ever removed, the integration will stop working.<\/p>\n<p>Go to &#8216;Lists&#8217; > &#8216;Employees&#8217; > &#8216;Employees&#8217; > &#8216;New&#8217;.<br \/>\nCreate a new user.<br \/>\nType in a name: &#8216;Onsight Integration User&#8217;.<br \/>\nFor the email address, type:\u00a0netsuite-xxxx-token@onsightapp.com where xxxx is an abbreviation of your company name.\u00a0<br \/>\nGo to the Access tab.<br \/>\nEnable &#8216;Give Access&#8217;.<br \/>\nClick &#8216;Manually assign password&#8217;.<br \/>\nType in a password.\u00a0\u00a0<br \/>\nDo NOT tick &#8216;Require password on next login&#8217;.<br \/>\nGo to the Roles sub-tab.\u00a0<br \/>\nSelect the &#8216;Onsight Integration Role&#8217;. Click Add.\u00a0<br \/>\nClick &#8216;Save&#8217;.\u00a0<\/p>\n<h2>Step 5:\u00a0Create an Integration Application Record<\/h2>\n<p>Go to &#8216;Setup&#8217; > &#8216;Integration&#8217; > &#8216;Manage Integrations&#8217;.<br \/>\nClick &#8216;New&#8217;.<br \/>\nType in a name: &#8216;Onsight Integration&#8217;.<br \/>\nType in a description:\u00a0&#8216;Integration for connecting to the Onsight B2B Sales App&#8217;.<br \/>\nFor &#8216;State&#8217;, choose &#8216;Enabled&#8217;.<br \/>\nGo to the &#8216;Authentication&#8217; tab.<br \/>\nGo to the\u00a0&#8216;Token-based Authentication&#8217; section.<br \/>\nEnable &#8216;Token-based Authentication&#8217;<br \/>\nGo to the\u00a0&#8216;User Credentials&#8217; section.<br \/>\nEnable &#8216;User Credentials&#8217;.<br \/>\nEverything else in the &#8216;Authentication&#8217; tab should NOT be enabled. Specifically, &#8216;TBA: Authorization Flow&#8217; should not be enabled.<br \/>\nClick &#8216;Save&#8217;.<\/p>\n<p>IMPORTANT: At the very bottom of the screen, the confirmation page will display the Client Credentials (Consumer Key and Consumer Secret) for this new integration application.\u00a0This is never displayed again so you must immediately copy and paste it somewhere safe and then send it to us at the end of this process.\u00a0\u00a0<\/p>\n<h2>Step 6: Create a Token ID and Token Secret<\/h2>\n<p>Go to &#8216;Setup&#8217; > &#8216;Users\/Roles&#8217; > &#8216;Access Tokens&#8217;.<br \/>\nClick &#8216;New Access Token&#8217;.<br \/>\nThe Access token page will display.<br \/>\nSelect the Application Name. Should be &#8216;Onsight Integration&#8217;.<br \/>\nSelect the User.\u00a0This should be the user that we created in the previous step: &#8216;Onsight Integration User&#8217;.\u00a0\u00a0<br \/>\nSelect the Role. This should be the role that we created in the previous step: &#8216;Onsight Integration Role&#8217;.\u00a0<br \/>\nThe Token Name is already populated by default with a concatenation of the &#8216;Application Name&#8217;, &#8216;User&#8217;, and &#8216;Role&#8217;.\u00a0You can change this if you wish.<br \/>\nClick &#8216;Save&#8217;.<\/p>\n<p>IMPORTANT: The confirmation page will display the &#8216;Token ID&#8217; and &#8216;Token Secret&#8217;.\u00a0This is never displayed again so you must immediately copy and paste it somewhere safe and then send it to us at the end of this process.\u00a0\u00a0<\/p>\n<h2>Step 7: Send us the integration connection details<\/h2>\n<p>Please send us the following six items: <\/p>\n<ul>\n<li>Your NetSuite account ID. This is normally at the beginning of your URL:\u00a0https:\/\/XXXXXX.app.netsuite.com\/\n<li>The email address that you used for the Onsight integration user.\n<li>The consumer key\n<li>The consumer secret\n<li>The token ID\n<li>The token secret\n<\/ul>\n<p>\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Onsight&#8217;s custom integration for NetSuite connects to NetSuite using Token Based Authentication (TBA). The following process sets up &#8216;Token Based Authentication&#8217;, creates a &#8216;Role&#8217; and a &#8216;User&#8217; for the integration to use, creates an &#8216;Integration Application&#8217; record and then generates<span class=\"ellipsis\">&hellip;<\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"_links":{"self":[{"href":"https:\/\/www.onsightapp.com\/user-guide\/wp-json\/wp\/v2\/posts\/3892"}],"collection":[{"href":"https:\/\/www.onsightapp.com\/user-guide\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.onsightapp.com\/user-guide\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.onsightapp.com\/user-guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.onsightapp.com\/user-guide\/wp-json\/wp\/v2\/comments?post=3892"}],"version-history":[{"count":27,"href":"https:\/\/www.onsightapp.com\/user-guide\/wp-json\/wp\/v2\/posts\/3892\/revisions"}],"predecessor-version":[{"id":4807,"href":"https:\/\/www.onsightapp.com\/user-guide\/wp-json\/wp\/v2\/posts\/3892\/revisions\/4807"}],"wp:attachment":[{"href":"https:\/\/www.onsightapp.com\/user-guide\/wp-json\/wp\/v2\/media?parent=3892"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.onsightapp.com\/user-guide\/wp-json\/wp\/v2\/categories?post=3892"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.onsightapp.com\/user-guide\/wp-json\/wp\/v2\/tags?post=3892"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}