Chat, the Sim Chat workflow block, and Inbox run on a separate service, the Mothership. A self-hosted Sim either connects to the Mothership Sim hosts or to one you run beside it. Without either, set NEXT_PUBLIC_CHAT_DISABLED=true to hide Chat.
Connection settings
These are set on Sim, not on the Mothership.
For the Sim-hosted service, set COPILOT_API_KEY and keep the defaults. Chat attachments also need an object storage bucket; see Object storage.
Run the Mothership
The chart's copilot values deploy the Mothership, its own PostgreSQL (bundled, or external through copilot.database), and a migrations Job. Start from helm/sim/examples/values-copilot.yaml.
With the Mothership enabled, the chart points the app at it: SIM_AGENT_API_URL is the in-cluster Service, MOTHERSHIP_SIM_TRANSPORT is direct, and COPILOT_API_KEY comes from the Mothership's Secret. A key you set in app.env or map through externalSecrets.remoteRefs.app wins. With app.secrets.existingSecret, the chart sets none of them, so store them in that Secret. The app's NetworkPolicy also allows traffic to and from the Mothership pods.
Each Mothership pod gets 120 seconds to hand its in-flight chats to another replica on shutdown (copilot.server.terminationGracePeriodSeconds). Keep it about 30 seconds above the Mothership's COPILOT_SHUTDOWN_HANDOFF_MS.
Run the image from the release bundle as its ENTERPRISE.md describes, with a dedicated PostgreSQL 16+ database and Redis 7+, then set the connection settings on Sim: SIM_AGENT_API_URL to the Mothership origin, COPILOT_API_KEY to its COPILOT_INBOUND_API_KEY, and MOTHERSHIP_SIM_TRANSPORT=direct when the Mothership can reach Sim.
Model routing, provider hosts (Anthropic, Amazon Bedrock, OpenAI, Azure OpenAI, and others), and every Mothership setting are documented in ENTERPRISE.md in the release bundle.
Network access
For AWS GovCloud (US), see Reference architectures.
Verify
Open a new chat in a test workspace, ask it to list a workspace resource, and have it create a test workflow. Then reload the browser during a longer response and confirm the chat recovers. A health check alone does not exercise the license, provider credentials, or the connection back to Sim.