Element behind the scenes.

Our engineering successes and mistakes building federated, end-to-end encrypted communications.

DevelopmentProduction

# 1. Create a cluster
k3d cluster create my-cluster -p 127.0.0.1:80:80

# 2. Deploy ESS Community
cat values.yaml
serverName: ess.localhost
synapse:
  ingress:
    host: synapse.ess.localhost
matrixAuthenticationService:
  ingress:
    host: mas.ess.localhost
elementWeb:
  ingress:
    host: element.ess.localhost
elementAdmin:
  ingress:
    host: admin.ess.localhost
matrixRTC:
  ingress:
    host: mrtc.ess.localhost
helm install ess \
  oci://ghcr.io/element-hq/ess-helm/matrix-stack \
  -n ess --create-namespace \
  -f values.yaml \
  --wait
kubectl get pods -n ess -o name

# 3. Create a user
kubectl exec -n ess deploy/ess-matrix-authentication-service \
  -c matrix-authentication-service -- \
  mas-cli manage register-user alice \
    --password correct-horse-battery-staple \
    --yes

# 4. Sign in
curl -sf http://ess.localhost/.well-known/matrix/client | jq
curl -sf http://synapse.ess.localhost/_matrix/client/v3/login \
  --json '{"type": "m.login.password",' \
  --json '"identifier": {"type": "m.id.user", "user": "alice"},' \
  --json '"password": "correct-horse-battery-staple"}' | jq

Latest posts

All posts

Guides

Try, tweak and explore Element Server Suite.