Overview
ClawControl provides optional configuration overrides for OpenClaw’s gateway and browser behavior. These settings are defined in your deployment’sconfig.json and override OpenClaw’s default configuration.
The configuration is applied during deployment in src/services/setup/index.ts:240.
Gateway Configuration
Customize the OpenClaw gateway settings that control how you access the web dashboard.Gateway server configuration.
Gateway Authentication
ClawControl automatically generates a secure authentication token for your gateway during deployment. This token is:- Generated in
src/services/deployment.ts:670using 32 random bytes - Stored in the deployment state at
~/.clawcontrol/deployments/<name>/state.json - Written to OpenClaw’s config as
gateway.auth.token - Required to access the web dashboard
Tailscale Integration
When Tailscale is enabled (default), ClawControl configures:src/services/setup/index.ts:271-274.
Browser Configuration
Configure the browser automation settings used by OpenClaw agents.Browser automation configuration.
Default Browser Settings
ClawControl sets the following browser defaults (seesrc/services/setup/index.ts:251-263):
browser settings override these defaults.
Agent Configuration
Configure the AI provider, model, and communication channel for your OpenClaw agent.AI agent and channel configuration.
How Agent Config is Applied
ClawControl transforms your agent config into OpenClaw’s internal format (seesrc/services/setup/index.ts:287-318):
- Model Configuration: Combines
aiProviderandmodelinto a model key - Auth Profile: Creates an API key authentication profile for the provider
- Channel Setup: Configures Telegram with bot token and access control
Example Configurations
Minimal Configuration
Use all defaults, only specify agent settings:Custom Gateway Port
Change the gateway port from default 18789:Non-Headless Browser
Enable visible browser UI (useful for debugging):OpenRouter with Multiple Models
Use OpenRouter as a gateway to multiple AI providers:Telegram Access Control
Restrict bot access to a specific user:Schema Reference
OpenClawConfigSchema:src/types/index.ts:134-150
OpenClawAgentConfigSchema: src/types/index.ts:155-164
Configuration Implementation: src/services/setup/index.ts:240-284