Skip to content

Authenticating with the Biron API

Authentication uses a system of API keys sent via Basic Auth

To create an API key, which will run requests on behalf of your organization, follow these steps

  1. Log in to https://app.biron-analytics.com
  2. In the side menu, open the Organisation section, then click API keys.
  3. Click Create an API key.
  4. Fill in the details and choose the minimum permissions needed.
  5. Copy the username and password.

Alternative: creating a personal access token

Section titled “Alternative: creating a personal access token”

For occasional exploration needs or one-off operations, you can use personal access tokens, which identify you personally on the platform.

It works exactly the same way as an organization API key, but you click your avatar at the bottom of the side menu, then choose Personal Access Tokens in the user panel.

Include it in the Authorization header of the HTTP request, encoding username:password in Base64, which gives for example Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=

Fenêtre de terminal
curl -u "username:password" \
-X POST "https://nexus.biron-analytics.com/workspace/birondemo_prod/query/sql/http-sample"

When connecting directly to the data warehouse, provide the username and password exactly as given when the API key was created.