Guide

Connect

Integrations

2 min readOpen in Neblex

Integrations let your other systems work with Neblex CPQ: an ERP that creates customers and reads won quotes, a CRM that starts quotes, a data warehouse that collects them. They use the same API the app uses, with their own identity instead of a person's. Superusers set them up in Settings › Integrations.

The pieces of an integration

PieceWhat it is
Service accountThe identity of one integration, such as ERP Middleware. It outlives its tokens, so you can rotate them without changing the integration.
Service tokenThe secret the integration presents with every call, issued under a service account, with its own permissions.
Client certificateA certificate your company's integrations present when they connect, proving the call comes from you.
Network restrictionsOptionally, the IP addresses integrations may call from.

The Overview shows the addresses to call and your company's Tenant ID, which integrations send with each request, together with an example request.

Settings, Integrations.
Settings, Integrations.

Set up an integration

  1. Create a service account. Under Service Accounts, enter a Service Account Name and click Create Service Account.
  2. Issue a token. Under Service Tokens, choose the service account, add an optional Token Label such as ERP Prod Token and click Issue Token. The token is shown once: copy it into your integration's secret store straight away.
  3. Give the token only what it needs. Open the token's Scopes and, per area of the app, switch on Create, Read, Update, Delete or Execute. Keep everything else off.
  4. Issue a client certificate. Under Client Certificates, add an optional label and click Issue Certificate. A .p12 file downloads and its password is shown once; copy it now.
  5. Connect. Configure your integration with the certificate, the token and your Tenant ID, and call the integration address from the Overview. The API reference describes every call.

Rotate and revoke

  • Tokens: issue a new token, switch the integration over, then Revoke the old one. The list shows when each token was created, last used and expires.
  • Certificates: several can be active at the same time during a rotation. Issue the new one, deploy it, then revoke the old one.
  • Service accounts: Disable one to stop the integration completely.

Under Network Restrictions, Require Allowed IPs limits calls to the addresses you list, one per line. Only use it when your integration calls from fixed addresses; otherwise the client certificate already proves who is calling.