Authentication Type: oAuth 1
For Patchworks to communicate with your Netsuite instance via connectors, the following API details are required for oAuth 1 authentication:
Generated in Netsuite via users/roles.
Generated in Netsuite via users/roles.
Visible in Netsuite via company information.
Visible in Netsuite via scripts.
Visible in Netsuite via script deployments.
Generated as part of your initial Patchworks integration and does not change unless new credentials are generated in Netsuite.
Generated as part of your initial Patchworks integration and does not change unless new credentials are generated in Netsuite.
The credentials listed above are needed so that Patchworks can access the required data in Netsuite. To obtain these details, follow the steps below.
Step 1 Log into Netsuite.
Step 2 Navigate to setup > users/roles > access tokens > new:
...then find and add the required user:
Step 4 Click in the role field and assign the patchworks integration role:
Step 5 Click the save button - a token id and token secret are displayed.
Step 6 Add these details to your password manager, ready for use in your Patchworks setup.
These details cannot be retrieved once you close the page, so make sure you have them stored safely. If you do lose them, repeat the steps above to generate another access token.
Step 1 Navigate to company > company information:
Step 2 Look for the account id field and add this information to your password manager:
Step 1 Navigate to customization > scripts:
Step 2 Search (CTRL+F) for the following:
Step 3 Look for the internal id column and add this value (126 in our example) to your password manager.
Step 1 Navigate to customization > scripts:
Step 2 From the top of the page, select view deployments:
Step 3 Choose a script to view:
Step 4 Look for an external URL - you'll see the deploy id at the end of this URL (in the example below, it's 1):
These values will have been generated when your Patchworks integration was first implemented, so you should already have the required details.
​
​
​
​
​
​
​
...the access token page is displayed:
Step 2 Click in the application name field and select tapestry by patchworks:
Step 3 Click in the user field and select your preferred method to find the user to authenticate:
If you don't see an internal id column, it's likely that showing internal ids is not enabled for your Netsuite instance - the following Netsuite help page may be useful: .
If you don't have these credentials, a Netsuite administrator can generate a new set - please see Netsuite's help page for more information.