OpenClaw Installation and Configuration on Ubuntu instance
OpenClaw is an open-source AI automation platform used to run and manage AI agents that can interact with users, execute tasks, and integrate with different tools and services. It works as a gateway between AI models, automation tools, and communication channels.
OpenClaw supports multiple AI providers such as Anthropic, OpenAI, and others, allowing agents to process prompts and perform automated workflows. It provides both a Command Line Interface (CLI) and a Web Control Dashboard for managing agents, monitoring sessions, and configuring integrations.
OpenClaw is commonly used for AI assistants, DevOps automation, workflow automation, and chatbot integrations.
Prerequisites
Ubuntu 22.04 / Ubuntu 24.04
Minimum 4 GB RAM
At least 20 GB free disk space
Recommended system environment:
Ubuntu Linux server or virtual machine
Internet connectivity
Terminal access to the server
Basic knowledge of Linux command-line operations
Before installing OpenClaw, the following prerequisites must be satisfied:
1. Install OpenClaw
First, install OpenClaw using the official installation script.
curl -fsSL https://openclaw.ai/install.sh | bashPurpose
This script automatically:
Installs Node.js
Installs required build tools
Installs the OpenClaw CLI using npm
Sets up the OpenClaw environment

2. OpenClaw Onboarding Configuration
After installing OpenClaw and running the application for the first time, the Onboarding Wizard starts automatically. This interactive wizard helps configure the initial environment and settings required for the OpenClaw agent.
The onboarding process guides the user through several configuration options including security confirmation, model provider configuration, channel setup, and additional features.
Step 1 — Security Confirmation
The onboarding wizard first displays a security notice explaining that OpenClaw operates as a personal AI agent and may execute actions depending on enabled tools.
The user must confirm the message to proceed.
Selection:
This confirms that the user understands the security considerations.
Step 3 — Select Onboarding Mode
OpenClaw provides multiple setup modes for configuration.
For initial setup, QuickStart mode is selected because it automatically configures the gateway and default parameters.
Example configuration:
This creates a secure local communication gateway for the OpenClaw agent.
Step 4 — Model Provider Configuration
OpenClaw allows users to select different AI model providers depending on their requirements.
Supported providers include:
OpenAI
Anthropic
Local models
Other supported APIs
Users can configure the provider and specify the required API credentials.
Example:
Step 5 — Channel Integration
OpenClaw supports multiple messaging platforms for communication with the agent.
Users can configure their preferred platform.
Examples include:
Telegram
WhatsApp
Discord
Slack
Google Chat
Microsoft Teams
Signal
Matrix
IRC
Example configuration:
Step 6 — Configure Web Search
OpenClaw provides optional web search capability that allows the agent to retrieve information from the internet.
Users can select a search provider and configure the required API key.
Example:
Step 7 — Skills and Hooks Configuration
The onboarding wizard also allows users to configure optional features such as:
Skills (additional capabilities for the agent)
Hooks (automation triggers for commands)
These features can be enabled based on user requirements.
Example:
Step 8 — Start the Agent
After completing onboarding, OpenClaw starts the agent session.
Example command generated by the system:
This launches the OpenClaw terminal interface for interacting with the agent.
3. Check Gateway Status
Verify that the OpenClaw gateway service is running.
Expected output:
This confirms the gateway is active.

4. Configure Gateway for LAN Access
Edit the OpenClaw configuration file.
Modify the gateway section:

Restart the gateway:
Verify:
Expected:
Check status again:

8. Launch OpenClaw Terminal Interface
Run the OpenClaw TUI.
This allows interaction with the configured AI agent.
9. Access OpenClaw Dashboard
Generate the dashboard URL:
Example output:
10. Access Dashboard Remotely (SSH Tunnel)
If running on a remote server:
Open in browser:


Last updated