- Home
- Solutions
- Integrations
- NetSuite Rest API Connector - How to connect the Netsuite Rest API connector?
NetSuite Rest API Connector - How to connect the Netsuite Rest API connector?
Enable the OAuth 2.0 Feature
Before you can begin using OAuth 2.0 in your account, you must enable the feature.
To enable OAuth 2.0 feature:
Go to Setup > Company > Enable Features.
In the Suite cloud-> 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.
In the Manage Authentication section, check the OAuth 2.0 box. Click I Agree on the SuiteCloud Terms of Service page.
Click Save.
After you have enabled the OAuth 2.0 feature:
Set Up OAuth 2.0 Roles and Permissions
Create a role
Go to Setup > Users/Roles > Manage Roles > New
You can name the role as zluri-integration-role
Make sure you select All under Subsidiary Restrictions > ACCESSIBLE SUBSIDIARIES
Under Authentication, Check WEB SERVICES ONLY ROLE.
Assign following permissions.
Assign permissions to the role
1. At the bottom, click on Lists and add the following permissions:
Employees
Employee Record
Vendors
Documents and Files (required to get vendors)
Departments
Income Registers
2. Click on Transactions and add the following permissions:
Expense report
Bill Purchase Orders
Bills
Credit Card
Invoice
Purchase order
Cash sale refund
3. Click on Setup and add the following permissions:
Login using OAuth 2.0 Access Tokens.
OAuth 2.0 Authorized Application Management.
Now you have to assign zluri-integration-role created above to a user. This user should be same as the one you are going to login into Netsuite while connecting Netsuite integration on Zluri.
Steps to assign role a user
Go to the entity record for the user
Click Edit next to the name of the user to whom you want to assign the OAuth 2.0 role.
Click the Access tab.
On the Roles subtab, in the Role field, select the OAuth 2.0 role for this user.
Click Add.
Click Save.
Create Integration Records for Applications to Use OAuth 2.0
Note:
To create an integration record for an application:
Go to Setup > Integration > New.
Enter a name for your application in the Name field.
Enter a description in the Description field, if preferred.
Select Enabled in the State field.
Under OAuth 2.0 section select following
Authorization code grant
REST WEB SERVICES
Enter Redirect URI value as -> https://integrations.zluri.com/connect_callback/netsuiteRest
Under Token based Authentication select following
Token-based authentication
TBA: Authorization flow
Callback url
Click Save.
Copy Client ID and Client secret from bottom of the page
Note: For security reasons, the only time the Client Credentials (the client ID and client secret) values are displayed is on the confirmation page. After you leave this page, these values cannot be retrieved from the system. If you lose or forget the client ID and client secret, you will have to reset them on the Integration page, to obtain new values. Treat these values as you would a password. Never share the client ID and client secret with unauthorised individuals and never send them by email.
Important: Please make sure the employee to whom we assigned the above created role that employee should login to netsuite while connecting the integration.
How to get Account id
Go to setup > company > company information
Search for ACCOUNT ID
Please note the following information to use for connecting Zluri with NetSuite.
Account ID
Client ID
Client secret
Once you Enter the above field, you will be prompted with a popup with button to Allow .
Note :In case you are not logged in then you have to login first into your Netsuite Account.
If after the following steps if you still get an error, Please enable the token based authentication
Basic Troubleshooting: Enable Token based authentication as shown here
If you are facing any trouble or need further assistance, please write to support@zluri.com
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article
Enable the OAuth 2.0 Feature
Before you can begin using OAuth 2.0 in your account, you must enable the feature.
To enable OAuth 2.0 feature:
Go to Setup > Company > Enable Features.
In the Suite cloud-> 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.
In the Manage Authentication section, check the OAuth 2.0 box. Click I Agree on the SuiteCloud Terms of Service page.
Click Save.
After you have enabled the OAuth 2.0 feature:
Set Up OAuth 2.0 Roles and Permissions
Create a role
Go to Setup > Users/Roles > Manage Roles > New
You can name the role as zluri-integration-role
Make sure you select All under Subsidiary Restrictions > ACCESSIBLE SUBSIDIARIES
Under Authentication, Check WEB SERVICES ONLY ROLE.
Assign following permissions.
Assign permissions to the role
1. At the bottom, click on Lists and add the following permissions:
Employees
Employee Record
Vendors
Documents and Files (required to get vendors)
Departments
Income Registers
2. Click on Transactions and add the following permissions:
Expense report
Bill Purchase Orders
Bills
Credit Card
Invoice
Purchase order
Cash sale refund
3. Click on Setup and add the following permissions:
Login using OAuth 2.0 Access Tokens.
OAuth 2.0 Authorized Application Management.
Now you have to assign zluri-integration-role created above to a user. This user should be same as the one you are going to login into Netsuite while connecting Netsuite integration on Zluri.
Steps to assign role a user
Go to the entity record for the user
Click Edit next to the name of the user to whom you want to assign the OAuth 2.0 role.
Click the Access tab.
On the Roles subtab, in the Role field, select the OAuth 2.0 role for this user.
Click Add.
Click Save.
Create Integration Records for Applications to Use OAuth 2.0
Note:
To create an integration record for an application:
Go to Setup > Integration > New.
Enter a name for your application in the Name field.
Enter a description in the Description field, if preferred.
Select Enabled in the State field.
Under OAuth 2.0 section select following
Authorization code grant
REST WEB SERVICES
Enter Redirect URI value as -> https://integrations.zluri.com/connect_callback/netsuiteRest
Under Token based Authentication select following
Token-based authentication
TBA: Authorization flow
Callback url
Click Save.
Copy Client ID and Client secret from bottom of the page
Note: For security reasons, the only time the Client Credentials (the client ID and client secret) values are displayed is on the confirmation page. After you leave this page, these values cannot be retrieved from the system. If you lose or forget the client ID and client secret, you will have to reset them on the Integration page, to obtain new values. Treat these values as you would a password. Never share the client ID and client secret with unauthorised individuals and never send them by email.
Important: Please make sure the employee to whom we assigned the above created role that employee should login to netsuite while connecting the integration.
How to get Account id
Go to setup > company > company information
Search for ACCOUNT ID
Please note the following information to use for connecting Zluri with NetSuite.
Account ID
Client ID
Client secret
Once you Enter the above field, you will be prompted with a popup with button to Allow .
Note :In case you are not logged in then you have to login first into your Netsuite Account.
If after the following steps if you still get an error, Please enable the token based authentication
Basic Troubleshooting: Enable Token based authentication as shown here
If you are facing any trouble or need further assistance, please write to support@zluri.com
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article