Fortnox is a Swedish ERP company that delivers a cloud-based business platform for financial management. In this Blueprint we Activate the integration between Fortnox and Onify.
- 3 x Flows
- 1 x Form
- 2 x Settings
Copy .\resources\*
to your Onify Hub resources
Add the following settings via /admin/settings
.
Key | Name | Description | Value | Type | Tag | Role |
---|---|---|---|---|---|---|
fortnox_app_clientid | fortnox_app_clientid | Onify App Client Id | JBL1UVnvfo4y | string | fortnox,frontend | admin |
fortnox_app_clientsecret | fortnox_app_clientsecret | Onify App Client Secret | ******* | password | fortnox | admin |
Please contact [email protected] to get the
fortnox_app_clientsecret
value.
Import configuration for forms and flows using the following command;
curl -X POST "<ONIFY-HUB-API-URL>/api/v2/setup/database/config/import" -H "accept: application/json" -H "authorization: <AUTH-TOKEN>" -H "Content-Type: application/json" -d "@./config.json" --insecure
- Create activation link for Fortnox (in Onify)
- Go to
<ONIFY-HUB-APP-URL>/form/fortnox-activate
- Enter Redirect URI
- Enter Scopes (and modify if needed)
- Click Generate activation URL
- Click on the generated action link
- Go to
- Authenticate user for Onify (in Fortnox)
- Enter username and password for Fortnox
- Approve access for user and Onify
- Fortnox will redirect you to a website that does not exist
- Copy the code (eg.
035411fc-ce95-4c4a-bc15-273daf5ddd67
) from the url
- Activate and authenticate Fortnox (in Onify)
- Go back to the activation form
- Paste the code in Authentication code
- Click Activate Onify in Fortnox
For more information about authenticating against Fortnox, please read Authorizing your integration.
fortnox-refresh-access-token.bpmn
is used for refreshing the access-token. The Access Token is valid 1 hours the Refresh Token is valid for 31 days. So make sure you refresh the Refresh Token before it expires and you have to reactivate the integration again.
- Community/forum: https://support.onify.co/discuss
- Documentation: https://support.onify.co/docs
- Support and SLA: https://support.onify.co/docs/get-support
This project is licensed under the MIT License - see the LICENSE file for details.