Square for Oracle NetSuite Appendix
Beta release
This is pre-release documentation for an API in public beta and is subject to change.
This topic provides additional configuration instructions for NetSuite users who are taking optional configuration choices.
If you have not installed the Square for NetSuite SuiteApp, you need to use the following instructions to get the NetSuite access credentials that Square Bridge needs to connect securely to NetSuite.
You need to provide Square Bridge with a set of NetSuite access tokens so that it can connect to your NetSuite account.
From a new NetSuite integration record for Square Bridge, retrieve the following field values:
Client ID
Client secret
From a new or existing user record, retrieve the following field values:
Token ID
Token secret
You generate the NetSuite access tokens in this step. Until you provide these credentials to Square Bridge in the Integration Wizard (see Set the external source), you should save them in a secure location, such as a password manager note.
Your account ID can be found in NetSuite by choosing Setup, choosing Company, and then choosing Company Information (in the ACCOUNT ID field).
The consumer key is also known as a client ID and the consumer secret is also known as a client secret. To retrieve your NetSuite consumer key and secret, you need to create a new integration.
In NetSuite, do the following:
Choose Setup, choose Integration, choose Manage Integrations, and then choose New.
At a minimum, complete the following:
Name (for example, Square Bridge).
Select the checkboxes for the following fields:
TOKEN-BASED AUTHENTICATION
TBA: ISSUETOKEN ENDPOINT
TBA: AUTHORIZATION FLOW
CALLBACK URL. Enter https://auth.cloudelements.io/oauth.
REDIRECT URI. Enter https://auth.cloudelements.io/oauth.
Choose Save. Your consumer key and secret are displayed.
Important
Save the key and secret in a secure place because they are only shown once.
To retrieve your NetSuite token ID and secret, you need to generate them first.
In NetSuite, choose Setup, choose Users/Roles, choose Access Tokens, and then choose New.
In the APPLICATION NAME field, select the application created in the previous step.
Choose USER and ROLE.
Choose Save. Your token ID and secret are displayed.
Important
Save the ID and secret in a secure place because they are only shown once.
The Square Bridge catalog item sync depends on the RESTlet installed in NetSuite by the Square SuiteApp. To make that RESTlet available to Square Bridge, you need to get the URL string and save it. You provide the string to Square Bridge in Enable synchronization support .
In NetSuite, choose Customization, choose Scripting, and then choose Scripts. Find the deployed script whose name is "Square Bridge Items and Inventory Search". Choose View, choose Deployments on the Script page, and then choose Square Bridge Items and Inventory Search RESTlet.
Copy the EXTERNAL URL of the Script Deployment.
If you need more assistance, contact Developer Support or ask for help in the Developer Forums.