Set up Token-Based Authentication for an Organization

In SignNow for NetSuite administrators generate tokens for authorizing the SignNow bundle in NetSuite. The token authentication is used with features like Send for Signature, Sign In Person or SignNow Smart Templates. The token ID and secret should be generated only once, during the bundle configuration. Save them in a separate document to add them to a new record in SignNow Settings.

It is highly recommended to create a NetSuite user for SignNow bundle. This user would authorize the whole organization for using SignNow and administrators wouldn't have to create tokens for each user in their organization.

🚧

Note

In case, administrators have to generate and set up a new token pair, SignNow bundle will use only the most recent pair for authorization.

Configuring the token ID and secret consists of two stages: generating an access token; saving the access token in a specific type of record in SignNow bundle.

1. Enable token-based authorization in your organization.

Go to Setup > Company > Enable Features.

408

On the Enables Features page go to SuiteCloud subtab and check the Token-Based Authentication checkbox. To enable it, read the consent agreement first.

996 979

Create a role with appropriate permissions for using tokens

To add the permissions to any role in NetSuite, go to Setup > Users/Roles > Manage Roles.

947

Find the role you'd like to use in SIgnNow and click Edit. Go to Permissions > Setup subtab and add the following: Access Token Management; Log in using Access Tokens; User Access Tokens. Click Add after adding each permission and then - Save.

773

Make sure SignNow_Auth script is selected for all roles

Go to Customization > Scripting > Scripts and find SignNow - Auth. Click Deployments.
In the next page click Edit.
Go to Audience tab and make sure that Select All is checked in the Roles.

600

2. Generate an access token

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

538

Select:

  • SignNow Integration in APPLICATION NAME field
  • User name in USER field

🚧

Note

Add the User you've previously created for SignNow integration.

  • In ROLE field select a Role which contains three of the following NetSuite User Permissions: Access Token Management, Log in using Access Tokens, User Access Tokens
462

Remember: the user you've created for SignNow integration should carry the Role with above-mentioned permissions. To add the Role to User's profile, find the employee and click Edit. Go to Access subtab > Roles. Add the Role with correct permissions and click Save.

600

3. Save the Token ID and Token Secret

Once the token is generated, save the Token ID and Token Secret, so you could use it in Script Configuration.

🚧

Note

You can only access the new generated Token ID and Secret once, right after generating. If you need them to find them, NetSuite doesn’t display its values for security reasons, so you will have to generate a new token again.

521

Copy the Token ID and Token Secret and save in a separate file

897

4. Add the generated token pair to a new record in SignNow Settings

When you have the token pair, it should be added to SignNow Settings. SignNow Settings is a specific type of record in NetSuite. It is deployed into your organization when the SignNow bundle is installed. The only way to add the token pair to SignNow Settings, is to create a new SignNow Settings record and save the token inside. that record. You can create as many SignNow Settings records as you'd like, SignNow would work with only the most recent record.

Go to Customization > Lists, Records and Fields > Record Types.

418

Find the record called SignNow Settings and click New Record.

888

Add the token ID into Token ID field and token secret into Token secret field.

980

Click Save.

This will fulfil authorization for using the following scripts: SignNow - Sign In Person, SignNow - Smart Templates.

If you'd like to check the new record, you can find it at Customization > Lists, Records and Fields > Record Types > SignNow Settings > List.