For the complete documentation index, see llms.txt. This page is also available as Markdown.

Björn Lundén

Complete Björn Lundén onboarding from your client backend.

Preview · What this means for your integration

Your backend sends the public key for the company you want to connect. Zwapgrid checks company access and completes the connection. No customer OAuth login is required for this request.

First, complete the shared prerequisites and example setup.

What you need

  • Application access and permissions for the accounting operations you need. See the Björn Lundén setup guide.

  • The public key of the company to connect, obtained through the provider setup process. The company must have enabled your integration.

  • A Published Björn Lundén System Setting with valid application ID and secret, belonging to your Zwapgrid client, or a default that Zwapgrid has confirmed your client can use.

Select the published setting on your Consent for an explicit application choice. If you omit the selection, confirm the configured default with Zwapgrid first. An invalid selected setting is rejected.

1. Prepare the connection

  1. Use the Consent created in the shared workflow. If selecting settings explicitly, set systemsSettings.bjornlunden to their published ID.

  2. Obtain the public key for the exact company to connect. Your backend does not exchange a customer OAuth code.

  3. Submit the key once. Zwapgrid checks access to the company identified by the key and confirms that the integration is enabled. No separate company-selection request is needed.

2. Send the request

{
  "source": "bjornlunden",
  "credentials": {
    "companyPublicKey": "<company-public-key>"
  }
}

companyPublicKey is required and must contain 1–256 ASCII letters, digits, hyphens or underscores. Do not send application credentials, codes, redirect URIs, tokens or tenant/environment/company fields. Treat the public key as a credential.

Replace the placeholders and save this body as a protected connection.json on your backend. Set the example variables, including a new UUID in CORRELATION_ID, then send the request once:

3. Check the result

Expect HTTP 201 with source: bjornlunden and state: completed. Optionally verify the connection for that company.

Do not automatically replay a credential submission after an uncertain outcome. Use GET first and contact support if you cannot confirm the result. For rejected access, confirm the company's integration activation and the application's vendor permissions before a new attempt. Zwapgrid manages application authentication; your backend does not need a customer refresh token.

Last updated

Was this helpful?