First start
Configure single sign-on, sign in as the first administrator, install the license, confirm encrypted storage and complete the setup checklist; use break-glass access when sign-on is down.
People sign in to Synaxis with single sign-on only. So before anyone can use the console, you give the server an
identity provider and map one of its groups to the Administrator role. Until a valid license is installed, Synaxis
runs in setup mode: sign-in, the console, the status and license endpoints and webhooks answer, everything else
answers license-required, and the workers run no jobs.
Configure single sign-on
Register Synaxis with your identity provider as a web application, with the redirect URI
<public URL>/auth/callback/<name>, where<name>is the provider's name in Synaxis (ssobelow). For Entra ID, have the tokens carry group claims (group object ids).Give the server the provider, its client secret as a file, and a role mapping for your administrators' group.
With Docker Compose, save the client secret as
secrets/sso_client_secretand add acompose.override.yamlbesidecompose.yaml:services: server: environment: SYNAXIS_Auth__Providers__0__Name: sso SYNAXIS_Auth__Providers__0__Kind: entra SYNAXIS_Auth__Providers__0__TenantId: <tenant id> SYNAXIS_Auth__Providers__0__ClientId: <client id> SYNAXIS_Auth__Providers__0__ClientSecretFile: /run/secrets/sso_client_secret SYNAXIS_Auth__RoleMappings__0__Group: <administrators' group object id> SYNAXIS_Auth__RoleMappings__0__Roles__0: admin secrets: - sso_client_secret secrets: sso_client_secret: file: ./secrets/sso_client_secretThen run
docker compose up -dagain.With Helm, put the secret in a Kubernetes Secret (
kubectl -n synaxis create secret generic synaxis-sso --from-file=client-secret=./sso_client_secret) and add to your values:config: settings: Auth: Providers: - { Name: sso, Kind: entra, TenantId: "<tenant id>", ClientId: "<client id>", ClientSecretFile: /run/secrets/sso/client-secret } RoleMappings: - { Group: "<administrators' group object id>", Roles: [admin] } extraVolumes: - { name: sso, secret: { secretName: synaxis-sso } } extraVolumeMounts: - { name: sso, mountPath: /run/secrets/sso, readOnly: true }Then run
helm upgradewith the same arguments as the install; the pods restart with the new settings.
Single sign-on describes the other provider kinds (any OpenID Connect provider, GitHub) and every provider setting.
Sign in for the first time
- Open
<public URL>/consoleand sign in with your identity provider. - The first sign-in creates your user. Because your group is mapped to
admin, the console shows every page.
The console opens in the dark theme. To change it, select the theme button in the top bar, or open Me: choose Dark, Light or Same as the system, an Accent color and the Density. Your choice is saved to your profile, so your other browsers follow it.
Tip: If the console shows only Overview and Me, or says Not allowed, your sign-in carried no group the mappings name. Check the group id and that the provider sends group claims, then sign out and in again: mappings apply at each sign-in.
Install the license
If you did not place the license file at deployment (config/license.synlic in Compose, license.existingSecret
in Helm):
- Open License.
- Under Install a license, choose the file in License file, or paste its contents into Or paste it.
- Select Install. The page shows the Licensee, Expires and the State Valid, and the workers start.
From the CLI: synaxis license install license.synlic. See The license.
Complete the setup checklist
Overview shows the Setup checklist to administrators. An item is ticked when it is done:
| Item | How it is done |
|---|---|
| Install a valid license. | Install the license (above) |
| Protect the key ring with a certificate or a key vault key. | Ticked when the server runs with a key-encryption certificate or an Azure Key Vault key, as both deployments require outside development mode |
| Mirror and database volumes hold proprietary code and are on encrypted storage. | Make sure the mirrors, PostgreSQL and Qdrant volumes are on encrypted storage, then select I confirm. The console answers Encrypted storage confirmed. |
| Add a GitHub or Azure DevOps connection. | Add your first connection (GitHub, Azure DevOps) |
| Map a sign-in group to a role (Auth:RoleMappings). | The role mapping you made above |
Note: Confirming encrypted storage records your statement; Synaxis cannot inspect your disks. The mirror and database volumes hold your organization's proprietary code and must be on encrypted storage: Docker's data root in Compose, the workers' storage class, the managed PostgreSQL and Qdrant on Kubernetes.
Break-glass access
The break-glass administrator is the one local account, for when single sign-on is unavailable. It is disabled by default, signs in with a password and a time-based one-time code, and every attempt is audited.
Create it (or reset it) once the server runs, and store the password and the
otpauth://key it prints in your vault. They are shown only once:docker compose exec server dotnet BWTECH.CodeWrightAI.Synaxis.dll break-glass create kubectl -n synaxis exec deploy/synaxis-codewright-synaxis-api -- dotnet BWTECH.CodeWrightAI.Synaxis.dll break-glass createOn Kubernetes the API Deployment is named after the release and the chart (
synaxis-codewright-synaxis-apifor a release namedsynaxis);kubectl -n synaxis get deploylists it.Add the
otpauth://key to an authenticator app.To allow its use, an administrator enables it with the REST API:
POST <public URL>/api/v1/break-glasswith the body{"enabled": true}(and{"enabled": false}to disable it again). Both are audited.To sign in, open
<public URL>/auth/break-glassand enter the password and a current code. Each code works once.
Note: Enabling the account needs an administrator who can sign in, so decide while single sign-on works whether the account stays enabled (its password and key locked in your vault) or is enabled only for planned work on the identity provider. Running
break-glass createagain replaces the password and key and leaves the account disabled.
The first administrator, before single sign-on works
A fresh installation without a working identity provider has nobody who could enable the account. For that one case, the operator who runs the server enables it from the server itself:
docker compose exec server dotnet BWTECH.CodeWrightAI.Synaxis.dll break-glass bootstrap --first-start
kubectl -n synaxis exec deploy/synaxis-codewright-synaxis-api -- dotnet BWTECH.CodeWrightAI.Synaxis.dll break-glass bootstrap --first-start
It prints a new password and otpauth:// key once, and the account is enabled at once; signing in still needs a code.
It works only on a fresh installation: once a person has signed in, a service account exists, or the account is
already enabled, it is refused (exit code 4) and changes nothing. Two runs at once enable one account; the other is
refused. Every run, enabled or refused, is in the audit log (break_glass.bootstrap, break_glass.bootstrap_refused).
Once single sign-on works and an administrator has signed in through it, disable the account
(POST /api/v1/break-glass with {"enabled": false}) and keep it for recovery, as above.
| You want to | Use |
|---|---|
| The first administrator of a fresh installation, with no working sign-in | break-glass bootstrap --first-start |
| A recovery account for later, enabled by an administrator | break-glass create, then POST /api/v1/break-glass |
| New credentials for the recovery account | break-glass create again (it is left disabled) |
Next steps
- Store the secrets your settings name, such as the embedding key:
synaxis secret set openai. - Add a connection and choose its scope.
- Set the models and budgets.
- Tell your developers the server address, so they can sign in from CodeWrightAI and link their accounts.