Connecting Duro to NetSuite through Prismatic
Objective: To begin the initial steps in setting up the integration between Duro and NetSuite.
Difficulty: Easy
In this article:
Now that you’ve initiated your Duro-to-NetSuite connection, the next step is configuring authentication through Prismatic. This step links your NetSuite environment securely using a certificate and key-based system.
Before you get started, there are 2 critical items that will need to first be resolved.
-
Enable the OAuth 2.0 Feature
- In NetSuite, go to the top menu and hover over:
Setup → Company → Enable Features.- Click “Enable Features”.
- Go to the SuiteCloud tab.
- Check the box for OAuth 2.0.
- Check the box REST Web Services
- Click “Save”
-
Cert files: public.pem & private.pem
- You’ll need a public.pem and private.pem Certificate Pair to authenticate securely.
- Work with your IT team to generate the certificate.
- If you don’t have internal resources available, or if your IT team needs help:
- Reach out to your Duro Onboarding Specialist for support.
-
Generate & Add Your Duro API Key
- In Duro, click your avatar (top right) → Integrations.
- Click the button: “Get API Key”
- Copy the full API key provided.
- In Prismatic, paste the key into the Duro API Key field.
-
Select Duro Environment
- Use the dropdown to select from the options provided.
- MFG: for mfg.duro.app
- ITAR: for app.govduro.us
-
EU: for eu.duro.app
-
Other Duro Environments
- If you are self hosted, instead type the correct url into the Custom Duro Environment (optional) field.
-
Update the Token URL
- Log into your NetSuite environment.
- Production or Sandbox, whichever you’re connecting.
- In Prismatic, locate the Token URL field.
- Copy your account identifier from your NetSuite URL.
- Example: If your NetSuite URL includes something like https://ABCDEF1234567.app.netsuite.com, the identifier is ABCDEF1234567.
- Paste this identifier into the corresponding field in Prismatic.
⚠️ Important: in the next step, NetSuite will generate a Consumer Key and a Consumer Secret. These values will be shown only once. Be sure to copy and store them securely.
-
Retrieve Consumer Key & Secret from NetSuite
- In NetSuite, go to the top menu and hover over:
Setup → Integration → Manage Integrations.- Click “New” to create a new integration.
- Assign a name, ie. ‘Duro NetSuite Integration’.
- Leave the ‘Sate’ as Enabled.
- Under the Authentication section, make the following selections in this order:
- TBA Authorization Flow ❌ Unchecked
- Token-Based Authentication (TBA) ❌ Unchecked
- REST Web Services ✅ Checked
- Client Credentials (Machine-to-Machine Grant) ✅ Checked
- Authorization Code Grant ❌ Unchecked
- Once these fields are correctly configured, click “Save.”
- Navigate back to Prismatic:
- Paste your Consumer Key into the corresponding field.
- Paste your Consumer Secret into the corresponding field.
⚠️ Important: NetSuite just generated a Consumer Key and a Consumer Secret. These values will be shown only once. Be sure to copy and store them securely.
-
Private Key
- Open the private.pem cert file
- This was provided to you by your IT department
- or you Duro Onboarding Specialist.
- Copy the entire text
- Start with ‘-----BEGIN PRIVATE KEY-----’
- End with ‘-----END PRIVATE KEY-----’
- ⚠️be sure to include ALL the -
- Paste the entire text into the Private Key field.
-
Creating OAUTH 2.0 CLIENT (M2M) in Netsuite
- In NetSuite, go to the top menu and hover over:
Setup → Integrations → OAUTH 2.0 CLIENT (M2M) SETUP.- Click “OAUTH 2.0 CLIENT (M2M) SETUP”.
- Click “Create New”.
- ENTITY: usually the Admin.
- ROLE: usually “Administrator”.
- APPLICATION: select the new Integration, ie. ‘Duro NetSuite Integration’.
- CERTIFICATE: upload the “public.pem” file.
- Click “Save”
- Copy the CERTIFICATE ID
- Navigate back to Prismatic:
- Paste your CERTIFICATE ID into the “Certificate ID (Key ID)” field.
- Paste your CERTIFICATE ID into the “Certificate ID (Key ID)” field.
-
✅ Click “Next”.
- Now your NetSuite integration is completely set up to receive data from Duro! Time to ensure all your fields are mapped correctly!!
- Click “Next” in Prismatic.
Comments
0 comments
Please sign in to leave a comment.