Before You Start
Make sure both Martus and NetSuite are available and open. In Martus, navigate to Setup > NetSuite. You'll configure NetSuite and then complete the fields in Martus using the steps below.
Add Your NetSuite Account ID to Martus
- In NetSuite, go to Setup > Company Information > Account ID and copy the Account ID.
- Paste the Account ID in Martus in Setup > NetSuite > AccountId.
Enable NetSuite Features in SuiteCloud
- In NetSuite, go to Setup > Setup Tasks > Enable Features.
- Click SuiteCloud.
- Turn on REST WEB SERVICES and TOKEN-BASED AUTHENTICATION.
- Click Save.
Enable NetSuite Features in Analytics
- Click Analytics.
- Turn on SuiteAnalytics Workbook.
- Click Save.
Manage NetSuite Integrations
- Go to Setup > Integration > Manage Integrations.
- Click New.
- Name the Integration 'Martus'.
- Check - TOKEN-BASED AUTHENTICATION.
- Uncheck - TBA: AUTHORIZATION FLOW CALLBACK URL.
- Uncheck- AUTHORIZATION CODE GRANT.
- Check - CLIENT CREDENTIALS (MACHINE TO MACHINE) GRANT.
- Check - REST WEB SERVICES.
- Click Save.
Once you click Save, the Client Credentials will appear, and you can add these to Martus.
Copy the Consumer Key and paste it in Martus in Setup > NetSuite > Consumer Key.
Copy the Consumer Secret and paste it in Martus in Setup > NetSuite > Consumer Secret.
Verify the Role for the New User has REST Web Services
- In NetSuite go to Setup > Users/Roles > Manage Roles.
- Typically the admin of Netsuite is the going to be the user who receives the access token. If this is true you will want to edit the role that the admin user currently has.
- Click 'Edit' for the role
- Scroll down in Permissions > Setup > and verify that REST Web Services is set to 'Full.'
OAUTH 2.0 Client Credentials (M2M) Setup
NetSuite uses the terms M2 or M2M to refer to the new authentication method we are using
NetSuite has other OAuth 2.0 methods other than M2M. For example, you can do a jump out like Martus uses with the QBO integration.
Troubleshooting: If NetSuite does not have the menu option Setup > Integration > OAuth 2.0 Client Credentials (M2M) Setup
A step was missed above
Go to Setup > Company > Enable Features
Click on the SuiteCloud tab
Under Manage Authentication, select OAuth 2.0 and save
Steps 1-13 should be completed by any Martus admin (who should also be a NetSuite admin). Step 14 must be completed by a Martus Super Admin.
In Martus, on the Setup/NetSuite page, paste the AccountId and Consumer Key (that was created and saved when you set up your Integration)
Click Save
Click Generate Public Key
A certificate will now appear in the table
Click download (save the file anywhere, just somewhere accessible)
Go back to Netsuite
Setup > Integration > OAuth 2.0 Client Credentials (M2M) Setup
Click Create New
Select the Application (Integration) whose consumer key you pasted in Martus and the appropriate role and entity.
Import the certificate you downloaded above
Copy the Certificate Id from Netsuite
Go back to Martus
Paste the certificate Id into the table
Click Save
In Advanced Settings, select the certificate as the current certificate (Martus Support will have to perform this step)
Click Save in Advanced Settings
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article