Skip to content

Quickstart

Three ways to run HelixIAM: pick one. Each needs a HelixIAM licence: you receive an account for the registry registry.helixiam.com and the release files from KubeDNA B.V. (contact@helixiam.com). The commands below expect the registry user name and token in REGISTRY_USER and REGISTRY_TOKEN.

What you need Time to first sign-in For
Helm a cluster, kubectl, Helm 3.8+, Docker, your registry account about 10 minutes trying the Helm chart on a cluster (the production install)
Docker Docker with Compose v2.20+, the release's compose file, your registry account about 3 minutes a first look on your machine, with PostgreSQL
Standalone Java 25 and the standalone zip about 1 minute an evaluation on your own machine: no Docker, no database to install

Need another database than the one a tab uses? Database covers PostgreSQL, MySQL and H2.

Requires a HelixIAM licence

You receive registry credentials and the release files from KubeDNA B.V. No licence yet? Contact contact@helixiam.com.

You need a Kubernetes cluster (1.25 or newer; a local one such as k3d, kind or minikube works), kubectl, Helm 3.8 or newer (for OCI charts), Docker (to build the server image with its database driver) and your registry account. Everything goes into its own namespace, so cleaning up is one command. Sign Helm in to the registry, and give the cluster a pull secret for the images:

echo "$REGISTRY_TOKEN" | helm registry login registry.helixiam.com -u "$REGISTRY_USER" --password-stdin
kubectl create namespace helixiam
kubectl -n helixiam create secret docker-registry helixiam-registry \
  --docker-server=registry.helixiam.com --docker-username="$REGISTRY_USER" --docker-password="$REGISTRY_TOKEN"

1. The Secret. The chart never inlines secrets. It reads four keys from a Secret you create: the database user and password, the encryption key (16 bytes as hex; keep it for the life of the install) and the bootstrap admin password. This generates them:

kubectl -n helixiam create secret generic helixiam-secrets \
  --from-literal=db-username=helix \
  --from-literal=db-password="$(openssl rand -hex 16)" \
  --from-literal=db-encryption="$(openssl rand -hex 16)" \
  --from-literal=admin-password="$(openssl rand -base64 18)"

2. A throwaway PostgreSQL. The chart does not bundle a database. To try it, run one that reads its user and password from the same Secret:

Not for production

One pod, no persistent volume: the data is lost when the pod restarts. In production, point database.host at a managed or replicated PostgreSQL, with TLS (database.sslMode).

kubectl -n helixiam apply -f - <<'EOF'
apiVersion: apps/v1
kind: Deployment
metadata:
  name: postgres
spec:
  replicas: 1
  selector:
    matchLabels: {app: postgres}
  template:
    metadata:
      labels: {app: postgres}
    spec:
      containers:
        - name: postgres
          image: postgres:16-alpine
          env:
            - name: POSTGRES_DB
              value: helixiam
            - name: POSTGRES_USER
              valueFrom: {secretKeyRef: {name: helixiam-secrets, key: db-username}}
            - name: POSTGRES_PASSWORD
              valueFrom: {secretKeyRef: {name: helixiam-secrets, key: db-password}}
          ports:
            - containerPort: 5432
---
apiVersion: v1
kind: Service
metadata:
  name: postgres
spec:
  selector: {app: postgres}
  ports:
    - port: 5432
EOF
kubectl -n helixiam rollout status deploy/postgres

3. Build the server image with its database driver. HelixIAM ships no JDBC driver: you add the PostgreSQL driver to the server image with the release's Dockerfile (more: Your image: add the database driver). Open https://download.helixiam.com, sign in with your licence account, open v1.1.5/ and download postgresql.Dockerfile. In the folder you downloaded it to:

echo "$REGISTRY_TOKEN" | docker login registry.helixiam.com -u "$REGISTRY_USER" --password-stdin
docker build -f postgresql.Dockerfile -t helixiam-server:v1.1.5-postgresql .

The build downloads the driver from Maven Central and refuses any bytes but the pinned ones. Give the image to the cluster. A local cluster loads it directly; name your cluster (k3d's default is k3s-default, kind's kind):

k3d image import -c k3s-default helixiam-server:v1.1.5-postgresql            # k3d
kind load docker-image --name kind helixiam-server:v1.1.5-postgresql          # kind
minikube image load helixiam-server:v1.1.5-postgresql                        # minikube

For another cluster, push it to a registry the cluster pulls from and use that name in the next step (any repository but one ending in /helixiam/helix-iam-server, which the install notes take for the plain image).

4. Install the chart from the OCI registry, with your image, the dashboard on and sessions in PostgreSQL (no Redis). The dashboard's image comes from registry.helixiam.com:

helm install helixiam oci://registry.helixiam.com/helixiam/charts/helixiam --version 1.1.5 \
  --namespace helixiam \
  --set image.repository=helixiam-server \
  --set image.tag=v1.1.5-postgresql \
  --set console.image.repository=registry.helixiam.com/helixiam/helix-dashboard \
  --set database.host=postgres \
  --set secrets.existingSecret=helixiam-secrets \
  --set 'imagePullSecrets[0].name=helixiam-registry' \
  --set config.sessionStore=queue \
  --set console.enabled=true \
  --set config.idpBaseUrl=http://localhost:8080 \
  --set config.spBaseUrl=http://localhost:8090 \
  --set config.cookieSecure=false \
  --set replicaCount=1
kubectl -n helixiam rollout status deploy/helixiam --timeout=5m
kubectl -n helixiam rollout status deploy/helixiam-console

The last two --set lines are for this trial over http://localhost only: cookies without the Secure flag (the chart's default config.cookieSecure=true is for https) and one server replica (default replicaCount=2).

The two base URLs are the addresses of the port-forwards below. The server answers only the hosts of config.idpBaseUrl and config.spBaseUrl, and the dashboard passes on the browser's Host (localhost:8090), so config.allowedHosts needs nothing extra here. Add names to it only when something calls the server on another host, such as an in-cluster relying party on helixiam.helixiam.svc.

5. Port-forward the server and the dashboard, each in its own terminal:

kubectl -n helixiam port-forward svc/helixiam 8080:8080
kubectl -n helixiam port-forward svc/helixiam-console 8090:8080

If the server pod restarts (for example after helm upgrade), run the port-forward again.

The application answers on port 8080. Liveness, readiness and /actuator/health are on the management port 8081, not 8080 (the chart's probes use it, and the Service exposes it): to check them by hand, run kubectl -n helixiam port-forward svc/helixiam 8081:8081 and curl -fsS http://localhost:8081/actuator/health/readiness.

Check the server:

curl -s http://localhost:8080/realms/master/.well-known/openid-configuration | jq .issuer

6. Sign in at http://localhost:8090 as admin, with the password from the Secret:

kubectl -n helixiam get secret helixiam-secrets -o jsonpath='{.data.admin-password}' | base64 --decode; echo

7. Set up the second factor. The chart keeps MFA on (config.mfaEnabled=true), so the first sign-in asks you to enrol an authenticator app:

  1. On Set up your authenticator app, scan the QR code with an authenticator app, or choose Show code to enter the setup key by hand.
  2. Enter the 6-digit code from the app and choose Verify.
  3. On Save your recovery codes, store the codes somewhere safe (each signs you in once if you lose the app; they are shown only now), then choose I saved them, continue.

Verify the chart's signature (optional; needs cosign). The release workflow signs the chart, like the images, keyless with cosign (the certificate identity names the signing workflow; it is not a page you can open). cosign uses the registry login from docker login registry.helixiam.com:

cosign verify registry.helixiam.com/helixiam/charts/helixiam:1.1.5 \
  --certificate-identity https://github.com/melmarzgioui/helixiam/.github/workflows/release.yml@refs/tags/v1.1.5 \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

The same command with registry.helixiam.com/helixiam/helix-iam-server:v1.1.5 or registry.helixiam.com/helixiam/helix-dashboard:v1.1.5 in place of the chart verifies the images (your own image is yours to sign: see CI pipeline).

Clean up. Stop the port-forwards with Ctrl+C, then:

helm -n helixiam uninstall helixiam
kubectl delete namespace helixiam

For production

Use your own PostgreSQL, an ingress with TLS and real https:// base URLs, the dashboard on its own (internal) beheer host, config.adminAllowedHosts so the admin API answers only there, config.trustedProxies for the ingress, and Redis or several replicas for high availability. See Install and High availability.

Requires a HelixIAM licence

You receive registry credentials and the release files from KubeDNA B.V. No licence yet? Contact contact@helixiam.com.

You need Docker with Compose v2.20 or later and BuildKit, Docker's default (docker compose version), the docker-compose.yml of the release (v1.1.5) provided with your licence, your registry account and access to repo1.maven.org.

1. Sign in to the registry and start. The compose file runs PostgreSQL, Mailpit, the server and the dashboard from the signed release images. Sessions are kept in PostgreSQL, so there is no Redis. HelixIAM ships no JDBC driver: the first start builds the server image with the PostgreSQL driver on your machine (--build; the driver comes from Maven Central, pinned by its SHA-256; see Your image: add the database driver). Put the compose file in an empty directory, point it at registry.helixiam.com in a .env file next to it, then start:

cat >> .env <<'EOF'
HELIX_SERVER_IMAGE=registry.helixiam.com/helixiam/helix-iam-server:v1.1.5
HELIX_CONSOLE_IMAGE=registry.helixiam.com/helixiam/helix-dashboard:v1.1.5
EOF
echo "$REGISTRY_TOKEN" | docker login registry.helixiam.com -u "$REGISTRY_USER" --password-stdin
docker compose up -d --build

2. Wait until it is ready. The first start creates the database schema and the master realm. Either watch docker compose ps until server reports healthy, or wait for the readiness endpoint:

until curl -fsS http://localhost:8080/actuator/health/readiness; do sleep 5; done

3. Open the dashboard at http://localhost:8090 and sign in as admin / admin (or the HELIX_ADMIN_PASSWORD you set, see below).

The server answers on http://localhost:8080. For example, the OIDC discovery document:

curl -s http://localhost:8080/realms/master/.well-known/openid-configuration | jq '{issuer, device_authorization_endpoint}'
{
  "issuer": "http://localhost:8080/realms/master",
  "device_authorization_endpoint": "http://localhost:8080/realms/master/oauth2/device_authorization"
}

Mailpit at http://localhost:8025 shows every email the server sends (verification, one-time codes, magic links).

Your own settings. Put them in a .env file next to docker-compose.yml, before the first start:

Key Default Meaning
HELIX_ADMIN_PASSWORD admin the bootstrap admin's password
DB_ENCRYPTION a demo key the key (32 hex characters) that encrypts secrets at rest
HELIX_SERVER_IMAGE, HELIX_CONSOLE_IMAGE the release's images the images of the server (the base the driver is added to) and the dashboard (step 1)
MAVEN_REPOSITORY Maven Central a Maven mirror the driver is downloaded from
echo "HELIX_ADMIN_PASSWORD=$(openssl rand -base64 18)" >> .env
echo "DB_ENCRYPTION=$(openssl rand -hex 16)" >> .env
cat .env

The admin and the encryption key take effect on the first start only, when the database is empty. Changing HELIX_ADMIN_PASSWORD later does not change the admin's password (change it in the dashboard), and changing DB_ENCRYPTION later makes the stored secrets unreadable. To start over with new values, delete the data first with docker compose down -v.

Another version. Use that release's compose file, change the tag of the two image lines in .env to it, then pull, rebuild and restart:

docker compose pull && docker compose up -d --build

Stop and clean up.

docker compose down      # stop; the database is kept for the next start
docker compose down -v   # stop and delete the data (database included)

Trial only

This setup uses a published demo encryption key unless you set your own, a database password written in the compose file, plain http, cookies without the Secure flag and no second factor. Never use it for real users. For a real deployment use the Helm chart with your own secrets and https: see Install.

For an evaluation on your own machine: one zip with the server, the dashboard and an embedded H2 database. No Docker, no database to install, nothing listens beyond your machine.

Requires a HelixIAM licence

You download the zip with your licence account. No licence yet? Contact contact@helixiam.com.

From v1.1.4

The standalone zip ships from v1.1.4. For v1.1.3 and older, use the Docker or Helm tab.

You need Java 25 (java -version; the server does not start on Java 21), on macOS or Linux, and your HelixIAM licence account. On Windows, run it in WSL 2 (the launcher is a bash script) or use the Docker tab.

1. Download and check the zip. Open https://download.helixiam.com and sign in with your licence account (the same one as for the registry). Each release has its own folder: open v1.1.4/ and download both helixiam-standalone-1.1.4.zip and its signature helixiam-standalone-1.1.4.zip.sigstore.json. Then, in the folder you downloaded them to:

VERSION=1.1.4
From a script: oras

The same files are in the registry next to the images. With oras and a registry pull key:

echo "$REGISTRY_TOKEN" | oras login registry.helixiam.com -u "$REGISTRY_USER" --password-stdin
oras pull "registry.helixiam.com/helixiam/files/standalone:$VERSION"

Check the signature (optional; needs cosign):

cosign verify-blob "helixiam-standalone-$VERSION.zip" \
  --bundle "helixiam-standalone-$VERSION.zip.sigstore.json" \
  --certificate-identity "https://github.com/melmarzgioui/helixiam/.github/workflows/release.yml@refs/tags/v$VERSION" \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

2. Unzip and start. Unzip to a folder on your own disk (your home folder, not a USB stick or a network share: the server loads its database driver only from a read-only folder, and those filesystems do not keep file permissions). Run it as your own user, not as root:

unzip "helixiam-standalone-$VERSION.zip" -d ~/helixiam
cd ~/helixiam
bin/helixiam

The first start makes the folder data/: the H2 database, helixiam.env with the generated encryption key and database password, and admin-password with the generated password of the first admin. The server is ready when it prints its summary, among other lines:

HelixIAM ready | mode: evaluation
HelixIAM ready | database: h2 2.4.240 (2025-09-22), file /home/you/helixiam/data/helixiam
HelixIAM ready | listening: sign-in/API http://127.0.0.1:7480
HelixIAM ready | listening: health/metrics http://127.0.0.1:7481
HelixIAM ready | listening: dashboard http://127.0.0.1:7490
HelixIAM ready | dashboard: http://localhost:7490
HelixIAM ready | admin password: in /home/you/helixiam/data/admin-password (change it after signing in)

3. Sign in at http://localhost:7490 as admin, with the password from the file:

cat ~/helixiam/data/admin-password

The first sign-in asks you to set up an authenticator app (scan the QR code, enter the 6-digit code, keep the recovery codes), as in step 6 of the Helm tab. Then change the admin's password.

Ports and addresses. Every port listens on 127.0.0.1 only, so nothing on your network can reach it:

Port Setting What answers
7480 SERVER_PORT sign-in and the API (the issuer http://localhost:7480/realms/master)
7481 HELIX_MANAGEMENT_PORT health and metrics (/actuator/health/readiness)
7490 HELIX_DASHBOARD_PORT the dashboard

A port that is in use stops the start, naming the port and its setting. Choose another one for that start:

SERVER_PORT=7580 bin/helixiam

Check it from another terminal:

curl -fsS http://localhost:7481/actuator/health/readiness
curl -s http://localhost:7480/realms/master/.well-known/openid-configuration | jq .issuer

HTTP on localhost. The standalone server speaks plain http, which browsers accept on localhost only. Cookies go without the Secure flag for that reason. It refuses to listen on any other address than 127.0.0.1 or ::1 (SERVER_ADDRESS): for a server others use, take the Helm chart with https.

Stop and start again. Stop with Ctrl+C. bin/helixiam starts it again with the same data; a second start while one runs is refused (already running, with its process id). Keep data/helixiam.env: without its encryption key the data cannot be read. To start over, stop the server and delete data/.

Evaluation only

H2 runs inside the server's process, on one machine, with plain http. Never use it for real users: its data stays in the evaluation and does not move to a production database. For production use the Helm chart with PostgreSQL or MySQL (see Database).

Before going live

Production checklist

Before going live: set the admin password (or read the generated one from /tmp/helixiam-admin-password and change it), set IDP_BASE_URL / SP_BASE_URL (Helm: config.idpBaseUrl / config.spBaseUrl) to your real https hostnames (WebAuthn requires https), keep db-encryption stable and back it up separately from the database (see Backup), and walk the Security hardening guide.

Next steps

  1. Set up your shell for the API examples: Authenticating to the API.
  2. Register your first application and wire an app to it with the OIDC quickstart — or add a SAML relying party.
  3. Give a bot or AI assistant a first-class identity with Agents, or let a Kubernetes/CI workload authenticate keylessly with Workload identity.
  4. Read Core concepts to understand realms, applications, agents and flows.