Steadybase
Deployment

Environment Variables

Complete reference for all Steadybase environment variables.

Environment Variables

Complete reference for all environment variables used by Steadybase.

Required

These variables must be set for the server to start:

VariableDescriptionExample
PORTExpress server port3000

:::note If Temporal Cloud variables are not set, the server starts in demo mode with simulated workers and workflows. :::

Temporal Cloud

Required for live workflow execution:

VariableDescriptionExample
TEMPORAL_ADDRESSTemporal Cloud gRPC endpointus-west-2.aws.api.temporal.io:7233
TEMPORAL_NAMESPACENamespace identifierquickstart-steadybase.fwo3l
TEMPORAL_TASK_QUEUEWorker task queue namesteadybase-gtm
TEMPORAL_TLS_CERTmTLS client certificate (Base64 or file path)/path/to/client.pem or Base64 string
TEMPORAL_TLS_KEYmTLS client private key (Base64 or file path)/path/to/client.key or Base64 string

Certificate Formats

The TLS certificate and key can be provided in two formats:

# Option 1: File paths
TEMPORAL_TLS_CERT=/etc/steadybase/certs/client.pem
TEMPORAL_TLS_KEY=/etc/steadybase/certs/client.key
 
# Option 2: Base64-encoded strings
TEMPORAL_TLS_CERT=LS0tLS1CRUdJTi...
TEMPORAL_TLS_KEY=LS0tLS1CRUdJTi...

AI / LLM

VariableDescriptionRequiredExample
CLAUDE_CLI_PATHPath to Claude CLI executableFor Brain API/usr/local/bin/claude

:::info The Anthropic SDK is initialized via the @anthropic-ai/sdk package, which reads ANTHROPIC_API_KEY from the environment automatically. :::

Integrations

VariableDescriptionRequired ForExample
VAPI_API_KEYVAPI API key for voice featuresVAPI integrationvapi-...
VAPI_ASSISTANT_IDVAPI assistant identifierVAPI integrationasst-...
SLACK_BOT_TOKENSlack bot OAuth tokenSlack notificationsxoxb-...
SLACK_SIGNING_SECRETSlack request signing secretSlack webhook verificationSecret string

Authentication (Future)

These variables exist in the codebase but are currently disabled (Cognito integration is not active):

VariableDescriptionStatusExample
COGNITO_USER_POOL_IDAWS Cognito user poolDisabledus-west-2_XXXXXXXXX
COGNITO_CLIENT_IDCognito app client IDDisabledClient ID string
COGNITO_REGIONAWS region for CognitoDisabledus-west-2

Experimental

VariableDescriptionStatusExample
LOCAL_LLM_URLURL for local LLM endpointFuturehttp://100.x.x.x:8080/v1

Security Best Practices

:::warning Never commit .env files to version control. Always use .env.example with placeholder values. :::

  • Set file permissions to 600 on .env files
  • Use AWS Secrets Manager for production deployments (Phase 2)
  • Rotate credentials regularly
  • Use separate credentials for development and production
  • Never log environment variable values

Example .env File

# Server
PORT=3000
 
# Temporal Cloud
TEMPORAL_ADDRESS=us-west-2.aws.api.temporal.io:7233
TEMPORAL_NAMESPACE=your-namespace
TEMPORAL_TASK_QUEUE=steadybase-gtm
TEMPORAL_TLS_CERT=/path/to/client.pem
TEMPORAL_TLS_KEY=/path/to/client.key
 
# AI
CLAUDE_CLI_PATH=/usr/local/bin/claude
 
# Integrations (optional)
VAPI_API_KEY=your-vapi-key
VAPI_ASSISTANT_ID=your-assistant-id
SLACK_BOT_TOKEN=xoxb-your-token
SLACK_SIGNING_SECRET=your-secret

On this page