The QuickStart for installing the Currents Helm Chart on EKS runs through the commands to get the Currents App setup. This includes installing dependencies like MongoDB, ClickHouse, and RustFS into your Kubernetes namespace.
Your EKS Nodes must have been given IAM permissions to pull images from Current’s Private ECR repositories. See how.
app is the endpoint for serving the web frontend and REST API endpoints.director is the endpoint the test reporters communicate with.Create a namespace: currents to contain the resources related to the Currents install.
kubectl create namespace currents
kubectl ns currents
Currents depends on several third-party services that are not bundled with the Helm chart. You are responsible for allocating resources, installing, and maintaining these services. The in-cluster setups in the dependencies guide are for evaluation. The Redis this quickstart installs with the chart suits installs recording up to about 100 runs a day; see Redis for larger ones.
See Currents Service Dependencies.
Configure and install the Currents Helm Chart once all the services are ready.
# Better Auth secret (64 characters recommended)
kubectl create secret generic currents-better-auth --from-literal=secret=$(head -c 512 /dev/urandom | LC_ALL=C tr -cd 'a-zA-Z0-9' | head -c 64)
# Internal API secret (for service-to-service auth)
kubectl create secret generic currents-api-internal-token --from-literal=token=$(head -c 512 /dev/urandom | LC_ALL=C tr -cd 'a-zA-Z0-9' | head -c 64)
# Root user password (used for initial admin account)
# IMPORTANT: Save this password - you'll need it to log in the first time
kubectl create secret generic currents-root-user --from-literal=password=$(head -c 512 /dev/urandom | LC_ALL=C tr -cd 'a-zA-Z0-9' | head -c 32)
# To retrieve the generated password later:
# kubectl get secret currents-root-user -o jsonpath='{.data.password}' | base64 -d
Create a config file for the Currents Helm Charts values
Be sure to customize the following:
global.ingressClassNamecurrents.domainscurrents.email.fromcurrents.email.hostcurrents.objectStorage.endpointcurrents.objectStorage.bucketcurrents.appContentStorage.bucket (see App content bucket)director.ingress.annotationsdirector.ingress.hostsserver.ingress.annotationsserver.ingress.hostsAlso see the full Configuration Reference
Here is the sample config file
currents-helm-config.yaml
global:
imagePullPolicy: IfNotPresent
# Place the ingressClass name for your alb IngressClass here
ingressClassName: alb-currents
currents:
domains:
https: true
# This is the domain you want to access the app via the webbrowser
appHost: currents.eks.currents-sandbox.work
# This is the domain used to reach the director, called from the test reporters
recordApiHost: currents-record.eks.currents-sandbox.work
email:
smtp:
# The domain in the from address needs to be one your SMTP server is authorized to send from
from: "Currents Report <report@eks.example.com>"
# Enter your SMTP host
host: smtp.mailgun.org
secretName: currents-email-smtp
objectStorage:
# Enter your storage provider endpoint
endpoint: https://s3.us-east-1.amazonaws.com
# Enter your bucket name
bucket: currents-my-org-name
# Enter your region
region: us-east-1
# AUTHENTICATION CONFIGURATION:
# Option 1: For IAM role-based authentication (recommended for AWS)
# If using IAM roles for S3 access, REMOVE the secretName line completely
# Option 2: For secret key-based authentication
# If using secret keys, you MUST create this secret before installation
secretName: currents-storage-user
# NOTE: Choose either IAM (remove secretName) OR secret-based authentication.
# Do NOT leave secretName in your configuration if you haven't created the secret.
# Option 3: For RustFS deployed in the same K8s namespace
# Use the following settings instead if you setup RustFS
# secretName: currents-rustfs-user
# secretIdKey: RUSTFS_ACCESS_KEY
# secretAccessKey: RUSTFS_SECRET_KEY
# Set the endpoint to your RustFS route
# endpoint: https://storage.eks.example.com
# internalEndpoint: http://rustfs-svc:9000
# bucket: currents
# pathStyle: true
# Context shares, organization logos and session files. Endpoint and
# credentials default to the objectStorage ones above.
appContentStorage:
bucket: currents-app-content-my-org-name
gitlab:
state:
secretName: currents-gitlab-key
secretKey: gitlab-key.pem
betterAuth:
secretName: currents-better-auth
rootUser:
password:
secretName: currents-root-user
apiInternalToken:
secretName: currents-api-internal-token
mongoConnection:
secretName: mongodb-currents-currents-user
key: connectionString.standardSrv
clickhouse:
user:
secretName: clickhouse-currents-pass
secretPasswordKey: password
tls:
enabled: false
host: clickhouse-clickhouse
director:
ingress:
enabled: true
annotations:
# Set to 'internet-facing' to expose to the public
alb.ingress.kubernetes.io/scheme: internal
alb.ingress.kubernetes.io/listen-ports: '[{"HTTPS": 443}]'
alb.ingress.kubernetes.io/group.name: currents
# Set the ARN a resource managed by aws certificate manager, that matches the DNS host
alb.ingress.kubernetes.io/certificate-arn: "arn:aws:acm:"
alb.ingress.kubernetes.io/target-type: ip
hosts:
# Set the Director DNS name, often called the RECORD API
- host: ""
paths:
- path: /
pathType: Prefix
server:
ingress:
enabled: true
annotations:
# Set to 'internet-facing' to expose to the public
alb.ingress.kubernetes.io/scheme: internal
alb.ingress.kubernetes.io/listen-ports: '[{"HTTPS": 443}]'
alb.ingress.kubernetes.io/group.name: currents
# Set the ARN a resource managed by aws certificate manager, that matches the DNS host
alb.ingress.kubernetes.io/certificate-arn: "arn:aws:acm:"
alb.ingress.kubernetes.io/target-type: ip
hosts:
# Set the server DNS name, often called APP
- host: ""
paths:
- path: /
pathType: Prefix
redis:
enabled: true
See the full available configuration values here: https://github.com/currents-dev/helm-charts/blob/main/charts/currents/values.yaml
helm upgrade --install currents currents --repo https://currents-dev.github.io/helm-charts/ -f currents-helm-config.yaml
If you are using S3 Object Storage and plan to use IAM roles to grant the Pods access rather than a secret, now is the time to follow Setting up IAM Roles for Accessing Object Storage
The Helm install step will have created a new load balancer which you can find in your ec2/LoadBalancers from the AWS console.
Configure your DNS to point the domains we used for Currents at the newly created balancer.
After following all the above steps, you should now be able to access the Currents Dashboard on the DNS you attached to the server.
And you can have Currents Test reporters access the director DNS by setting the CURRENTS_API_URL when you call them.
For example:
CURRENTS_API_URL=https://currents-record.eks.example.com npx pwc --key <your-key> --project-id <your projectid>
When you need to move to a newer Currents release, follow the dedicated EKS Upgrade Guide. Read the guide for each chart version you pass first: see Upgrade Guides by Version.
The ai-queue-worker deployment runs the AI tasks (test explanations, chat) from the ai-bmq Redis queue. It is off by default, because it needs an LLM endpoint you provide. webhooks does not run AI tasks.
AI stays off for an organization until an admin grants AI consent in its settings. Turn the worker on first: AI tasks requested without it wait in the queue and never finish.
To turn it on, set aiQueueWorker.enabled: true and the LLM endpoint in aiQueueWorker.env. The chart then also has the scheduler build the MongoDB indexes for the AI collections, including the ones that expire old AI sessions. The worker uses the image currents/on-prem/ai-queue-worker, so your nodes need pull access to that repository too (see IAM Resources).
aiQueueWorker:
enabled: true
env:
- name: LLM_PROVIDER_URL
value: https://llm.example.com/v1
- name: LLM_API_KEY
valueFrom:
secretKeyRef:
name: currents-llm
key: api-key
Optional settings go in the same list: LLM_MODEL, LLM_EXPLANATION_MODEL, LLM_REASONING_EFFORT, LLM_EXPLANATION_REASONING_EFFORT, EXPLANATION_TRACE_TOOLS, AI_QUEUE_CONCURRENCY (default 5) and LOG_LEVEL. To give the LLM settings to every service instead, put them in global.env.
If you set AI_QUEUE_WORKER_ENABLED=true on webhooks to run AI tasks, AI stops at this upgrade until you turn the worker on as above. Remove the variable from webhooks and move the LLM_* settings to aiQueueWorker.env. On webhooks that variable now only starts the Slack AI answer worker; set SLACK_AI_CALLBACK_WORKER_ENABLED=true there instead.
Remote MCP is served at https://<appHost>/mcp. MCP clients authenticate with a Currents API key or personal access token, or sign in with a Currents account through the OAuth provider. Both are on by default; turn them off with currents.mcp.enabled: false and currents.oauth.enabled: false.
OAuth needs currents.domains.https: true. With https: false, the chart leaves OAuth off unless appHost is localhost or a *.localhost name, which is enough for an evaluation but not for a real setup. See Remote MCP and OAuth for the values.
The API checks each OAuth access token against its own signing keys, fetched from https://<appHost>/api/auth/jwks. If the server pod cannot reach or trust that URL (split DNS, an internal CA), every token is rejected at /mcp; point the API at itself instead:
server:
env:
- name: OAUTH_JWKS_URL
value: http://localhost:4000/api/auth/jwks
The API answers trace links at https://<appHost>/t, with no values to set. A trace link gives an agent read access to one failed test’s Playwright trace: its summary, frames, page snapshots, network requests and an animation of the failure. Agents get the links in context shares and from MCP, and reach them at the same address as the dashboard.
To serve trace links on a host of their own, set currents.domains.traceLinkHost. Links then point at https://<traceLinkHost>/t, and the server ingress routes /t on that host to the server. Point the host’s DNS at the ingress, and add it to server.ingress.tls when TLS ends at the ingress:
currents:
domains:
traceLinkHost: traces.example.com
server:
ingress:
tls:
- secretName: currents-tls
hosts:
- ""
- traces.example.com
Trace work runs on worker threads in the server pod, one job per thread, so it doesn’t slow the rest of the API. The threads follow the pod’s CPU limit, or the node’s CPUs if it has none:
| CPU limit | Threads |
|---|---|
| 1 | One, for reads and renders |
| 2–3 | One for reads, one for renders |
| 4 or more | Two for reads, one for renders |
In testing, a server pod with 2 CPUs and 2 GiB answered about 2 agent investigations per second, with animations under 1.5 s at the 95th percentile and the rest of the API still answering in 2–3 ms. A busy hour of 10 failing runs uses about a sixth of that. The test ran on Apple Silicon; x86 cloud vCPUs render more slowly, so take it as an upper bound.
503 with Retry-After: 5, and agents retry.server:
resources:
requests:
cpu: "2"
memory: 2Gi
limits:
cpu: "2"
memory: 2Gi
To get a trace link and read it with an agent, see Read a Trace with an Agent.
Delegate sign-in to your SAML 2.0 identity provider (Okta, Microsoft Entra ID, etc.). Users sign in email-first — they enter their email, are redirected to your IdP to authenticate, and are auto-provisioned into your organization on return. SMTP must be configured (used for provisioning and invitations).
https://<appHost>/api/auth/sso/saml2/sp/acs/okta
— the last segment is your providerId; <appHost> is your currents.domains.appHost.
Use the same URL as the Recipient and Destination. In Okta, leave “Use this for Recipient URL and Destination URL” checked (the default) and both follow the Single Sign-On URL. Currents rejects an assertion whose Recipient or Destination is any other URL.currents-onprem:your-org — a stable opaque identifier, not a URL.PersistentThen download the app’s IdP metadata XML (it contains the IdP sign-on URL, entity ID, and signing certificate).
kubectl create secret generic currents-sso-saml --from-file=idp-metadata.xml=./idp-metadata.xml
currents-helm-config.yaml, under currents:):
currents:
sso:
saml:
enabled: true
# Must match the Audience / SP Entity ID in your IdP (opaque, not a URL)
issuer: "currents-onprem:your-org"
# Your IdP name; the last path segment of the ACS callback URL
providerId: okta
metadataSecretName: currents-sso-saml
# Optional:
# defaultRole: member
# allowedDomains: "acme.com,acme.io"
# Accept sign-ins started from the IdP's app dashboard
# allowIdpInitiated: true
helm upgrade --install currents currents --repo https://currents-dev.github.io/helm-charts/ -f currents-helm-config.yaml
Sign in from the dashboard by entering your email — you’ll be redirected to your IdP. New SSO users join your organization automatically with the role from defaultRole (default member); the root admin continues to sign in with email + password.
A sign-in started from the IdP’s app dashboard (an Okta tile, the Entra My Apps portal) is refused unless allowIdpInitiated is true. Currents can’t match it to a request of its own, so leave it off unless your users need the tile.
Once SSO is on, Currents serves its SP metadata at https://<appHost>/api/auth/sso/saml2/sp/metadata?providerId=okta (with your providerId), for IdPs that import it.
To rotate the IdP signing certificate, replace the secret with the refreshed metadata and restart the server pod:
kubectl create secret generic currents-sso-saml --from-file=idp-metadata.xml=./idp-metadata.xml \
--dry-run=client -o yaml | kubectl apply -f -
kubectl rollout restart deploy -l app.kubernetes.io/component=server
See the Configuration Reference for all SSO values.