Skip to content

Connect your ERP with a token

Each system that talks to Slflo — usually your ERP — gets its own integration, its own token and only the permissions you tick. Who: administrator or IT · Where in the cycle: ERP.

  • You need Manage integrations (INTEGRATION_MANAGE). The built-in Administrator has it.
  • Whoever sets up the ERP side needs the token and the address; the developer quickstart is for them.
  1. Open Setup › Settings and the Integrations tab. Press Add integration.
  2. Name — which system and which copy, e.g. “D365 production”.
  3. System — Microsoft Dynamics 365, SAP, Odoo, Oracle or Another system (fixed once created).
  4. What it may do — tick only what it needs (Read orders, Acknowledge orders, Read invoices, Read payments, Read returns, Send customers and branches, Send prices…).
  5. Allowed addresses — optional; one IP address or block per line. Empty allows calls from anywhere.
  6. Press Add and show the token. In Copy the token now, press Copy token and Copy address, put both in the ERP, then press Done, I have copied it. It will not be shown again.
The Integrations tab of Settings with one integration, Nile Fresh ERP on Microsoft Dynamics 365, Active, showing what it may do (read orders, acknowledge orders, read invoices, payments and returns, send customers and branches, prices, credit limits and balances), a token that runs out on 2027-10-07, never called yet, from any address.
  1. State
  2. What it may do
  3. The token
Open the full-size picture (new tab)
The Copy the token now dialog for the new D365 production integration, with the token blurred, the integration API address, and Done, I have copied it.
Open the full-size picture (new tab)

Tokens run for twelve months. From 30 days before, the card says Token expiring and the bell shows “Integration tokens running out”.

  1. On the card press New token and copy it (an integration may have two live tokens).
  2. Put the new token in the ERP.
  3. Check that the new token’s line says last used with a recent time.
  4. Press Revoke this token on the old token’s prefix.

To cut an integration off for good, press Revoke on the card; every token is refused from its next call. Change edits the name, permissions and addresses.

Nile Fresh adds “D365 production”, Microsoft Dynamics 365, with Read orders, Acknowledge orders, Read invoices, Read payments and Read returns, allowed from 203.0.113.0/24. The token is shown once and pasted into Dynamics. Eleven months later the card reads “Token expiring — in 21 days”: they press New token, paste it into Dynamics, see “last used” move to the new token, and Revoke this token on the old one.

  • The ERP can call the integration API from now on, within what you ticked.
  • Changes apply from the ERP’s next call. Every change is in the audit trail.
What you seeWhat to do
The token was lostIt can't be shown again. Make a New token, put it in the ERP, then revoke the old one.
This integration already has two live tokens. Revoke the one the ERP no longer uses, then make a new one.TOO_MANY_CREDENTIALSTwo live tokens already. Revoke the one the ERP no longer uses, then make a new one.
Another integration already has this name. Choose a different one.INTEGRATION_NAME_TAKENChoose a different name.
Enter each allowed address as an IP address or a block such as 203.0.113.0/24, at most 20.INTEGRATION_IP_INVALIDWrite each address as an IP or a block such as 203.0.113.0/24, at most 20.
That integration was revoked and cannot be changed or given a new token. Create a new one instead.INTEGRATION_CLIENT_REVOKEDA revoked integration can't be changed. Add a new one.
Calls from this address are not on the integration's allowlist. Add the address in Settings → Integrations.IP_NOT_ALLOWED(The ERP sees this.) Add the ERP's address under Allowed addresses.
This integration is not allowed to do that. Add the missing permission to it in Settings → Integrations.SCOPE_MISSING(The ERP sees this.) Tick the missing permission with Change.
This integration token has expired. Create a new one in Settings → Integrations and update the ERP.TOKEN_EXPIRED(The ERP sees this.) Make a new token and put it in the ERP.