Skip to content
Skip to Content

Link your NordBase account

Connect your NordBase account to your OpenPanel organization with an access token, once, and replace or remove it later.

An organization links one NordBase account, once. Every private Region OpenPanel installs for the organization is then made in that account. Linking needs the Owner or an Admin.

Make an access token in NordBase

In NordBase's console, open Access tokens and create a token with both scopes:

  • regions:read, so OpenPanel can follow a Region's state;
  • regions:write, so it can make, repair and remove Regions.

The token starts with nbt_. OpenPanel needs nothing else from your NordBase account: no database credentials, and no other scope.

Open any ready server's page in OpenPanel. Its NordBase section shows NordBase account: Not linked. Create a token opens NordBase's access tokens page in a new tab.

Click Link NordBase, paste the token into Access token, and click Link NordBase.

OpenPanel checks the token with NordBase before it keeps it. The section then says when it was linked, and by whom.

The check changes nothing in your NordBase account. A token NordBase does not accept, or one without both scopes, is refused with the reason, and nothing is saved.

How OpenPanel keeps it

  • The token is sealed as soon as it arrives and never shown again, not even to the Owner.
  • It is opened only for a call to NordBase: making, checking or removing one of the organization's Regions.
  • Linking, replacing and unlinking are written to the audit log, without the token.

Replace the token

When the token expires or you revoke it in NordBase, OpenPanel's calls to NordBase fail with "NordBase no longer accepts the organization's access token". Make a new token, then click Replace token in the NordBase section of a server that has no Region, and paste it. The new token must belong to the same NordBase account: if the organization already has a Region, a token that cannot see it is refused.

Unlink, in the NordBase section of a server that has no Region, forgets the token. It is refused while NordBase still has a Region on one of the organization's servers: remove the Region first, or replace the token instead. Without the token nobody could follow or remove those Regions.

Unlinking does not delete anything in NordBase. Revoke the token in NordBase too if nothing else uses it.