Restlet and Netsuite's Token Based Integration (oAuth 1.0)
Hi All,
In this post, we are going to learn about Token Based Integration . We will create Integration Records for Applications to Use Token Based Authentication. Before creating Token, we have to create user and integration record. Lets see in Detail.
Step 1: Create Role:
a) Create Accounting Center Type Role,
b) Assign permission you think this should should have,ex: script access Sales order assign access to sales order.
c) It will be good to assign
- "Access Token Management " permission as "FULL"
- "Log in using Access Token" permission as "FULL"
- "Two-Factor Authentication base" permission as "FULL" ( Useful in OAuth2.0)
-"User Access Tokens" permission as Full
Step 2: Create User ( If want to use existing User skip this step)
- Assign this new role to newly created user or existing user ( as per your requirement)
Step 3: Create Integration Record:
- Enter Name
- Under "Token-based Authentication"
- Checked Token-based Authentication

- Unchecked TBA: Authorization Flow
- Save and copy one time credentials
Step 4: Create Access Token Record
- Select Application Name - Newly Created Integration Record from Step 3
- Select User
- Select Role
- Enter Token Name
- Saved Token Record
- Save Token ID and Token Key
That's it, Your restlet is ready to connect using Consumer Key, Consumer Secret, Token Id and Token Key.
Use below method to connect as oAuth1.0
realm -- Netsuite Account Id
Auth - oauth1
signatureMethod: HMAC-SHA1
Content Type: application/json
We hope this will help some one, comment below if you have any question.
Thanks
Netsuite Guru
Download Netsuite Guru Android App
Follow Me on Linkedin
Our FB Page
Comments
Post a Comment
Thanks for you message, please join us on Facebook and Linkedin