Find your environment ID
Your environment ID identifies your AFAS environment and appears in the web address you use to reach it.
- Format:
https://{environmentId}.rest.afas.online - Example: if your AFAS address is
https://12345.rest.afas.online, your environment ID is12345.
Generate a user token
In AFAS Profit, go to General / Management / App connector and open the app connector for this integration.
1
Add a user token
Open the Gebruikerstokens tab and click Nieuw.
- Select the user this token authenticates as.
- Enter a unique description for the token.
- Click Volgende.
2
Copy the User Token
Click Kopiëren to copy the generated value, then click Voltooien.
- The User Token is only displayed once and cannot be retrieved later.
- Copy the User Token across. It is wrapped as
<token><version>1</version><data>...</data></token>— paste it exactly as shown.
Link the Account
1
Connect
- Click Connect.
- If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
- Once authorization is successful, you will see a confirmation popup.
2
Use Actions
Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.