Installation
Add your application manually
- Login to API Center. You received the login credentials by email.
- Click the Application and then search AFAS and you will be able to see the application.
- For AFAS Application the following fields need to be filled out for a successful connection to be established.
- Display Title: The name of the application, no special requirements.
- This can be useful if there are multiple AFAS applications, to be able to distinguish between them.
- Access Token: The main authorization for the connection to AFAS.
- The token should not contain any XML tags. Just the token itself.
- Check the section below on how to find this data.
- Environment Number: The customer number for your AFAS software.
- Check the section below on how to find this data.
- Environment Type: Specify the kind of environment used. This can be either Production, Test or Accept. With options; rest, resttest or restaccept; respectively.
- Check the section below on how to find this data.
AFAS settings location
Access Token
To find the Access token required by the AFAS Application, please follow the next few steps.
- Login to AFAS Profit and open the General section. Then goto the Management options and select the 'App connector'.
- Open the existing ApiCenter App Connector or create a new one, if non-existent.
- Open the user token section, and create a new access token.
- Select the user with the correct permission set. This user needs to be able to retrieve and send data through the connectors. This user does not need Profit access. Permissions within AFAS are very fluid, please consult a consultant if there are difficulties with the correct permission set.
- Copy the generated token, as it will not be retrievable again. Make sure to ONLY copy the data part of the token. For example, the generated token below, only copy the underlined part:
<token><version>1</version><data>7C8DA34EB46F4F3EAC05CD6D4FAC30724D00B3E846EB177AE9F46FA68F1F1612</data></token>
- When settings are filled out, the result installation form should look something like this.
Environment Type / Environment Number
Based on the environment used, this option needs to be set to the correct value. The environment is usually visible when opening your AFAS Profit Application.
Environment | AFAS Example | ApiCenter Dropdown value |
Production | O12345AA | rest |
Test | T12345AA | resttest |
Accept | A12345AA | restaccept |