Skip to content

Register an app

Build an app when other people will connect their HalationLab.ai accounts to it. For your own account, an API key is simpler.

In the HalationLab.ai app, open Account → Connected apps → Your apps and choose Register an app. Registering gives the app no access: each person who connects it still chooses what it can do.

Setting Choices
Name Up to 80 characters, shown to people on the consent screen. Apps are shown as unverified.
Kind Desktop or command-line app, Browser app or Server app. Fixed once registered.
Redirect URIs Up to 10 exact URIs.
Resources API (https://api.halationlab.ai/v1), AI assistant tools (MCP), or both.
Scopes The scopes the app may ask for. By default, every published scope.

You get a client ID. A server app also gets a client secret, shown once; rotate it in the same place if it is lost.

Kind Client authentication Redirect URIs
Desktop or command-line app None: a public client using PKCE http loopback only: http://127.0.0.1, http://[::1] or http://localhost, with any port
Browser app None: a public client using PKCE https
Server app Client secret in the Authorization header (client_secret_basic, the default) or the request body (client_secret_post), plus PKCE https

Every app uses PKCE. A browser app can call the API directly from the page with its access token: cross-origin requests are allowed and are authorised only by the bearer credential. Never put an API key or a client secret in a browser app.

  • Register each exact URI. Wildcards, fragments (#) and user names or passwords in the URI are not allowed.
  • Up to 2,048 characters each.
  • An https redirect cannot point at this computer (localhost, 127.0.0.1); use a desktop app for a loopback redirect.

An account can have 10 active apps and register up to 20 a day.

The OAuth flow, scopes and budgets.