Skip to main content
Requires a published OpenWork release newer than v0.18.73 whose openwork-ee OCI chart includes headlessRunner and workbot support.
Add Workbot to an existing OpenWork Kubernetes deployment so members can chat from your own dashboard. Workbot needs the headless runner. You can enable both in one Helm upgrade, but rolling out the runner first is recommended on initial setup so you can verify storage and runner health before troubleshooting Workbot DNS, TLS, and ingress.

Prepare your release and model access

  1. Choose a published OpenWork release whose openwork-ee OCI chart includes both headlessRunner and workbot support. Use that same release for the Den API, Den Web, AI Gateway, headless runner and Workbot images. Installing a newer chart with older images does not add support.
  2. Start with your complete, reviewed Helm values for the existing release. Keep your database, authentication and networking settings and existing Secret references. Pin the chart with --version in the commands below and leave top-level image.tag: "" so all five images follow the chart version (or set image.tag to the matching release tag without a v prefix, for example when using mirrored images). Remove or reconcile per-component tags, including any legacy inference.image.tag inherited by Gateway. Make sure your cluster can pull all five matching images, including from your mirrors if you use them.
  3. Make sure AI Gateway is enabled (gateway.enabled: true). In the dashboard, open AI Gateway › AI Providers and configure a provider. Put the model in an active model group with working credentials. Grant access to the intended members and to the admin who will choose the default model. If the provider requires individual sign-in, connect the relevant accounts before testing.
  4. Look up the runner’s startup Gateway model ID (headlessRunner.model.alias) in this deployment. This is a deployment-specific ID starting with gwm_, not a hostname or upstream model name. With an account that has the grant, select the organization, open the browser’s Network panel and reload My Library › Models. Inspect the response to GET /v1/inference-providers?scope=usable, match the model, model group and credential set inside the provider’s models list, and copy id (not upstreamModelId):
    Set headlessRunner.model.protocol to match how OpenWork connects to that provider:
    • anthropic for direct Anthropic providers (Messages API)
    • openai-responses for direct OpenAI providers (Responses API)
    • openai (Chat Completions) for OpenAI-compatible providers in OpenWork (such as TrueFoundry, LiteLLM, OpenRouter and custom OpenAI-compatible endpoints)
    Choose a different model if your provider does not support one of these runner protocols. The startup model ID does not grant anyone access. Workbot uses each signed-in member’s Gateway permissions.

Prepare Secrets, storage and HTTPS

Generate a different random value for each of the four keys below using your secret manager. These are credentials for your deployment. OpenWork and your model provider do not supply them. Use single-line values of at least 32 characters with no whitespace. If you generate the values locally, openssl rand -hex 32 produces 64 hexadecimal characters per run. Generate each value separately and pass the output directly to your secret manager’s secure import mechanism without the trailing newline. Do not print the values to the terminal or pass them as command-line arguments. Provision these two Kubernetes Secrets in the Helm release namespace, separate from the shared Den Secret:
  • runner-runtime: HEADLESS_API_TOKEN, HEADLESS_DEN_CALLBACK_TOKEN (must differ from HEADLESS_API_TOKEN), HEADLESS_GRANT_KEY
  • workbot-runtime: WORKBOT_SESSION_SECRET
Helm references these Secrets but does not create or rotate them. Restrict access to both Secrets, put only their names in Helm values, and reuse the same values across upgrades and if you disable and re-enable the workloads. See Companion Secrets in the chart reference for each key’s purpose, which components receive it, key remapping, and rotation effects. Use a ReadWriteOnce volume for the runner and plan to back up its SQLite database and files together. The runner is a single writer and restarts with a brief interruption during upgrades. Keep its Service private on a trusted cluster network. The chart reference covers existing claims, backups and Pod Security requirements. The companion workloads as rendered do not meet Restricted Pod Security admission. Set config.public.webOrigin and config.public.apiOrigin to your browser-facing Den Web and Den API HTTPS origins, respectively, and retain config.public.gatewayPublicBaseUrl for AI Gateway. Use origins without path prefixes. The runner needs network access and TLS trust for the Den API and Gateway endpoints. Give Workbot its own HTTPS hostname, distinct from Den and Gateway. For the Ingress example below, point DNS at your existing maintained Ingress controller and provision a TLS Secret for that hostname. Browsers and Den API pods must resolve and trust the Workbot URL; Den API uses it to check readiness. Configure every proxy hop to pass streaming responses without buffering and allow long-lived connections. If you terminate TLS at a separate reverse proxy, follow the external edge instructions instead.

Enable the private runner

If you already run an eligible Automation or Slack integration, review its model access first: enabling the runner can let those integrations use it before Workbot is on. If you are replacing manually configured companions, follow the chart migration notes before proceeding. Helm does not adopt those workloads or migrate their data. Add this configuration to your complete openwork-values.yaml. Replace the model alias and protocol with the ones you looked up. Review storageClass before the first apply because Kubernetes cannot change a PVC’s StorageClass after creation. Leave storageClass omitted to use the cluster default, or set a StorageClass that supports ReadWriteOnce. Do not set storageClass: "" unless you want static provisioning.
Confirm your Helm and kubectl context points to the target cluster. Use your existing release name and namespace throughout. Set the variables, render the chart and review the image tags, Secret references and private runner Service before upgrading:
Check kubectl --namespace "$NAMESPACE" get deployments,pods,pvc. The -headless-runner Deployment should have one ready replica and its claim should be Bound. As a deployment admin, open Services (/admin/services) on Den Web and check that the runner is Ready. If the runner is already managed by this chart and ready, keep its values and continue to the next step.

Enable Workbot

Keep the runner settings and replace the workbot block in openwork-values.yaml. Set publicUrl to your Workbot HTTPS origin and use your real IngressClass and TLS Secret names.
Run the same render and upgrade commands. Check kubectl --namespace "$NAMESPACE" get deployments,pods,ingress for a ready -workbot Deployment and the Ingress for your Workbot hostname. In Services, check that Workbot is Ready. A ready pod alone does not prove Den API can reach the Workbot HTTPS endpoint.

Select the model and verify a member reply

  1. As an organization admin, open Manage › Workbot in your OpenWork dashboard. Under Default model, choose the Gateway model you granted to members and click Save model. Use Check availability to refresh the list if needed. Test model is a quick admin check and may use paid inference; it does not verify member access.
  2. In a separate browser session, sign in as a regular member with the model grant. On your self-hosted dashboard, choose the same organization and click Workbot under Work. Confirm the tab opens on your Workbot hostname. Sign in there if asked.
  3. Send a non-sensitive prompt, such as Reply with the words Workbot is ready. Wait for the reply to appear in the chat. Before a wider rollout, also check that a longer response streams through your edge without disconnecting.
If the model is missing or the member cannot send, recheck their model-group grant and provider connection. If the pods are ready but Workbot is not ready in Services, check DNS, routing and certificate trust from Den API to Workbot. If the chat disconnects mid-response, check proxy buffering and idle timeouts before retrying; the runner may still be working. See the chart’s disable and data retention instructions before removing workloads or changing storage.