How-to Guide: Connect NetSuite to Ledge (without installing a bundle)
Last updated
Last updated
In the guide below we will collect the three components required to connect NetSuite to Ledge:
Account ID
Client ID
Certificate ID
Note: Administrator privileges are required to complete this guide.
Search for or navigate to the Company Information page, and copy the value of ACCOUNT ID.
Alternatively, copy the URL prefix from your NetSuite application address. Paste it into the Account ID field in the setup form on Ledge (1)
Search for or navigate to the Enable Features page.
Under the SuiteCloud tab, check the boxes for SOAP WEB SERVICES and REST WEB SERVICES.
In the NetSuite app, when logged in as Administrator, search for or navigate to the Manage Roles page and click New Role. Name the role, e.g. Ledge Role.
Under the Permissions tab add the following permissions and levels (please note that depending on your setup, some of the items below may not appear):
If NetSuite is configured as Multi Subsidiary, under ACCESSIBLE SUBSIDIARIES, pick All and check the box for ALLOW CROSS-SUBSIDIARY RECORD VIEWING.
Search for or navigate to the Manage Users page.
Click on the user you wish to assign the role to, and then on the user page, click the Edit button.
Under the Access tab, pick the role created, add it to the user and click Save.
Search for or navigate to the Manage Integrations page.
Click New, and then on the integration page make the following changes:
Name the integration, e.g. Ledge Integration
Under Token-based Authentication, uncheck the boxes for the following:
TBA: AUTHORIZATION FLOW
TOKEN-BASED AUTHENTICATION
AUTHORIZATION CODE GRANT
Under OAuth 2.0, check the boxes for the following:
CLIENT CREDENTIALS (MACHINE TO MACHINE) GRANT
RESTLETS
REST WEB SERVICES
Click Save. From the Client Credentials section that now appears, copy the CONSUMER KEY / CLIENT ID and paste it into the Client ID field in the setup form on Ledge (2).
Back on Ledge, click the Get certificate button to download the ledge.pem
file.
Search for or navigate to the OAuth 2.0 Client Credentials Setup page.
Click Create New and fill out the form as follows:
Under ENTITY, pick the user to which you previously assigned the role
Under ROLE, pick the role you previously created
Under APPLICATION, pick the integration you previously created
Under CERTIFICATE, upload the ledge.pem
file you downloaded above
Click Save. Copy the CERTIFICATE ID of the new certificate and paste it into the Certificate ID field in the setup form on Ledge (3).
Search for or navigate to the Transaction Body Fields page and click New.
Fill out the following details:
Label: Ledge Link
ID: _ledge_link
Type: Hyperlink
Under Applies To, check the following boxes:
CUSTOMER PAYMENT
DEPOSIT
DEPOSIT APPLICATION
JOURNAL
VENDOR PAYMENT
Click Save.