Articles in this section

Set up a connection to AFAS ERP

AFAS ERP is a cloud ERP solution that integrates finance, HR, payroll, procurement, and project management into one unified system.

Important

The AFAS ERP connector is in BETA and may be subject to changes.

Set up a connection

After you start the connection, configure it in the Create connection panel and complete all of the required * authentication settings:

Setting

Instructions

Name your connection * 

Enter a clear and distinguishable name.

Throughout integrator.io imports and exports, you will have the option to choose this new connection. A unique identifier will prove helpful later when selecting it from a list of the connections in your account.

API type * 

Choose your AFAS ERP API type:

  • Profit: Access and update financial, HR, and operational data to automate core ERP workflows and enterprise integrations.

  • SB: Manage sales, service, and business processes in the cloud to streamline operations and data synchronization.

API type: Profit

Environment * 

Select your AFAS ERP account environment:

  • Accept: if your account URL is https://restaccept.afas.online/

  • Cursus: if your account URL is https://restcursus.afas.online/

  • Production: if your account URL is https://rest.afas.online/

  • Test: if your account URL is https://resttest.afas.online/

Environment number * 

Enter your AFAS ERP environment number. For example, if your environment name is C12345AA, then 12345 is your environment number.

Auth type * 

Select your AFAS ERP account authentication type (either OAuth 2.0 or Custom).

API key * (for Custom auth type only)

Enter your AFAS ERP API key.

Multiple layers of protection, including AES 256 encryption, are in place to keep your API key safe. When editing this connection, you must re-enter this value each time; it is stored only when the connection is saved and never displayed as text.

OAuth 2.0 client * 

Select the OAuth 2.0 client that stores the client ID and client secret provided to you by AFAS ERP.

dataLoad.svg​​ How to retrieve the client ID and client secret 

To add an OAuth 2.0 client and configure your credentials, click the plus ( + ) button. Click the edit (pencil.svg ) button to modify a selected OAuth 2.0 client. For more information, see Create an OAuth 2.0 iClient resource.

API type: SB 

Domain * 

Enter your AFAS ERP account domain. For example, if your account URL is https://test123.afasfocus.nl, then test123 is the domain.

Customer environment * 

Enter your AFAS ERP customer environment. For example, if your account URL is https://test123.afasfocus.nl/scope, then scope is the customer environment.

Auth type * 

Select your AFAS ERP account authentication type (either OAuth 2.0 or Token).

OAuth 2.0 client * 

Select the OAuth 2.0 client that stores the client ID and client secret provided to you via email by AFAS ERP.

To add an OAuth 2.0 client and configure your credentials, click the plus ( + ) button. Click the edit (pencil.svg ) button to modify a selected OAuth 2.0 client. For more information, see Create an OAuth 2.0 iClient resource.

Token * 

Enter your AFAS ERP token.

Multiple layers of protection, including AES 256 encryption, are in place to keep your token safe. When editing this connection, you must re-enter this value each time; it is stored only when the connection is saved and never displayed as text.

Note

This connector documentation describes only the settings shown for the Simple view. For the corresponding HTTP settings, see the custom universal connector documentation.

How to retrieve the client ID and client secret

  1. Sign in to your AFAS ERP portal

  2. Navigate to GeneralManagementApp connector.

  3. Click New.

  4. Enter a Description.

  5. Navigate to Authentication type.

  6. Select OAuth.

  7. Select the Authorization group.

  8. Select the required Get and update connectors. For more information, see Set up your own connection.

  9. Copy the Client ID.

  10. Copy the Client secret.

Additional references