Register a server
Registering connects one self-hosted server to your organization's licence. The server asks; an admin of the organization approves on the portal; the server fetches its licence. Nobody copies a key.
Before you start
- The organization has a paid licence with a free server slot (Manage licences and servers).
- You are an admin of the organization on the portal, or can reach one within 10 minutes.
- The server can make outbound HTTPS requests to
app.joobq.io. Your browser does not need to reach the server for the approval, and the portal never needs to.
Choose a route
| Route | Use it when | Who approves |
|---|---|---|
| The setup page | A new server, and you can open it in a browser | An admin, with a code |
| A terminal | No browser can open the server | An admin, with a code |
| An enrollment token | A pipeline or an orchestrator starts the server | Nobody at start: an admin made the token beforehand |
| The Licence card | The server already runs and must be connected again | An admin, with a code |
How a code is approved
The first, second and fourth routes use the same handshake:
The server is registered only when it collects its licence. A code that is never approved, or approved and never collected, changes nothing.
Only approve a code your own server is showing you
Approving a code connects whichever server asked for it to your organization. Never approve a code someone sent you. Every connection is mailed to all admins of the organization; if one is not yours, disable it (Manage).
From the setup page
On the server:
- Start the server (Deploy the server). It prints a one-time setup code in its log.
- Open the server, enter the setup code, enter its public address (
https://...) and choose Sign in with JoobQ. - The page shows a short code such as
WDJB-MJHTand an Open JoobQ button.
On the portal (the button takes you there, with the code filled in):
- Sign in as an admin. On Connect a server, check what the page shows: the server's name, its declared address, and the address the request came from.
- Choose Approve.


Back on the server: within a few seconds the setup page moves on to the connections.
From a terminal
On the server's host, with its environment and data volume:
./joobqui connect --url https://jobs.example.comIt prints the code and a link, waits until an admin has approved it on the portal, and saves the licence. In Compose: docker compose -f deploy/selfhosted.compose.yml --env-file deploy/.env exec app ./joobqui connect --url ....
Unattended, with an enrollment token
- On the portal's Deployments & licensing page, an admin creates a token under Enrollment tokens (Manage). It is shown once.
- Start the server with
JOOBQUI_ENROLLMENT_TOKEN(orJOOBQUI_ENROLLMENT_TOKEN_FILE) andJOOBQUI_PUBLIC_URL. It connects itself before it starts, with no sign-in.
The full recipe, with the connections and JOOBQUI_SETUP=off, is in Unattended install.
Reconnect a running server
A server whose licence was disconnected, disabled or replaced is connected again from its own console: Settings → Licence → Reconnect shows a code, an admin approves it on the portal as above, and the server restarts by itself to use the new licence. From a terminal: ./joobqui connect --reconnect.


When the organization already has an active server at the same address, the portal's button reads Approve and reconnect: once this server has collected its licence, the old one stops being licensed. That is how you replace a server, or cut off a copy of its data volume that is running somewhere else.
Check it worked
On the server:
./joobqui license:statusprints eligible, status, tier, the seats and paid_until as JSON, and exits with status 0 when the server is licensed.
On the portal, the server is listed under Connected self-hosted servers on Deployments & licensing, with the time of its last check-in.
If it is not: Licensing troubleshooting.
Next
Members of the organization can now choose Sign in with JoobQ on the server's sign-in page and get their portal role there. For local accounts and the SDK token, continue with First sign-in.