Installation
Add your application by wizard
You can add your application via the integration wizard, you can find the button for this on the dashboard page.
After clicking the start integrating button a pop up will appear with the wizard, please make sure you do not use any pop-up blocker at this point.
Click next and in the following screen you can add your applications that you want to connect. Search for AFAS and click on 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>
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 |
Go back to our APIcenter wizard and paste the data in the corresponding input fields, and click save to save the application credentials and click test connection te complete:
Now you have succesfully added the AFAS application, you need to enter the second application, which you would like to set up the integration with AFAS with. See the Application Manuals page on how to setup the second application you want to use.
In step 3 in the APIcenter integration you can select the packages that you want to make use of. These packages are the flows that determine what data is send from and to AFAS.
In step 4 you can set all the settings that tweaks your integration without adjusting mappings and or adjusting code. In this step you need to do this for all your flows. The settings we have standard enabled and disabled are based upon 90% of the integrations we currently have running.
Step 5 finishes the wizard and on this point you can enable the flows to start running, if you want to adjust advanced settings we advice to start them manually in the integrations overview.