Skip to main content
Creating an app connector requires access to General / Management / App connector in AFAS Profit.

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 is 12345.

Create the app connector

In AFAS Profit, go to Algemeen / Beheer / App connector and add a new app connector.

1

Set up OAuth authentication

Set the app connector’s Authenticatietype to OAuth.

  • Omschrijving: StackOne Integration
  • Type OAuth flow: Code
2

Set the redirect URL

In the Redirect url field, enter the Callback URL from your Connector Profile.

3

Link the connectors

Under GetConnectoren koppeling and UpdateConnectoren koppeling, click Nieuw and add every GetConnector and UpdateConnector this integration needs.

4

Copy credentials

Copy the OAuth client id and OAuth client secret into your Connector Profile.

  • The OAuth client secret is only displayed once and cannot be retrieved later.

Create the StackOne Connector Profile

1

Create a Connector Profile

Enable the connector and create a Connector Profile in your project. See Setup Connector Profile.
2

Link an Account

Once the Connector Profile is created, continue to link an account.