# OpenClaw > Self-hosted AI assistant gateway for WhatsApp, Telegram, Discord, iMessage, and more messaging platforms ## Docs - [Agent Protocol](https://mintlify.wiki/openclaw/openclaw/api/agent-protocol.md): Agent communication protocol, RPC calls, and tool invocation - [Authentication](https://mintlify.wiki/openclaw/openclaw/api/authentication.md): Gateway API authentication mechanisms - [Events](https://mintlify.wiki/openclaw/openclaw/api/events.md): Event types, subscriptions, event streaming, and channel events - [Messages](https://mintlify.wiki/openclaw/openclaw/api/messages.md): Message format, sending messages, attachments, and media - [API Overview](https://mintlify.wiki/openclaw/openclaw/api/overview.md): Gateway API overview, endpoints, and authentication - [REST Endpoints](https://mintlify.wiki/openclaw/openclaw/api/rest-endpoints.md): HTTP REST API endpoints for OpenClaw Gateway - [Sessions](https://mintlify.wiki/openclaw/openclaw/api/sessions.md): Session management API - create, list, delete, and patch sessions - [WebSocket Protocol](https://mintlify.wiki/openclaw/openclaw/api/websocket.md): WebSocket connection, RPC protocol, and event streaming - [Discord Channel](https://mintlify.wiki/openclaw/openclaw/channels/discord.md): Connect OpenClaw to Discord with a bot token from the Discord Developer Portal - [iMessage Channel](https://mintlify.wiki/openclaw/openclaw/channels/imessage.md): Connect OpenClaw to iMessage on macOS using Messages.app integration - [Channels Overview](https://mintlify.wiki/openclaw/openclaw/channels/overview.md): Connect OpenClaw to WhatsApp, Telegram, Discord, Slack, Signal, iMessage, and more - [Pairing & Device Verification](https://mintlify.wiki/openclaw/openclaw/channels/pairing.md): Secure device pairing with QR codes, approval flows, and pairing tokens - [Signal Channel](https://mintlify.wiki/openclaw/openclaw/channels/signal.md): Connect OpenClaw to Signal using signal-cli with phone number registration - [Slack Channel](https://mintlify.wiki/openclaw/openclaw/channels/slack.md): Connect OpenClaw to Slack using Socket Mode with bot and app tokens - [Telegram Channel](https://mintlify.wiki/openclaw/openclaw/channels/telegram.md): Connect OpenClaw to Telegram using a bot token from @BotFather - [WhatsApp Channel](https://mintlify.wiki/openclaw/openclaw/channels/whatsapp.md): Connect OpenClaw to WhatsApp using the Baileys library with QR code pairing - [openclaw agent](https://mintlify.wiki/openclaw/openclaw/cli/agent.md): Run one agent turn via the Gateway - [openclaw channels](https://mintlify.wiki/openclaw/openclaw/cli/channels.md): Manage connected chat channels and accounts - [openclaw config](https://mintlify.wiki/openclaw/openclaw/cli/config.md): Get, set, and manage OpenClaw configuration - [openclaw daemon](https://mintlify.wiki/openclaw/openclaw/cli/daemon.md): Manage the Gateway service (launchd/systemd/schtasks) - [openclaw doctor](https://mintlify.wiki/openclaw/openclaw/cli/doctor.md): Health checks and quick fixes for the gateway and channels - [openclaw gateway](https://mintlify.wiki/openclaw/openclaw/cli/gateway.md): Run, inspect, and query the WebSocket Gateway - [openclaw logs](https://mintlify.wiki/openclaw/openclaw/cli/logs.md): Tail gateway file logs via RPC - [openclaw onboard](https://mintlify.wiki/openclaw/openclaw/cli/onboard.md): Interactive onboarding wizard for gateway, workspace, and skills - [CLI Overview](https://mintlify.wiki/openclaw/openclaw/cli/overview.md): OpenClaw command-line interface overview and installation - [openclaw update](https://mintlify.wiki/openclaw/openclaw/cli/update.md): Update OpenClaw and inspect update channel status - [Agents](https://mintlify.wiki/openclaw/openclaw/concepts/agents.md): AI agents process messages and generate responses using the Pi agent runtime - [Architecture](https://mintlify.wiki/openclaw/openclaw/concepts/architecture.md): Understanding OpenClaw's system architecture and component design - [Channels](https://mintlify.wiki/openclaw/openclaw/concepts/channels.md): Multi-channel messaging support for WhatsApp, Telegram, Discord, and more - [Gateway](https://mintlify.wiki/openclaw/openclaw/concepts/gateway.md): The Gateway is OpenClaw's central control plane for channels, sessions, and agents - [Routing](https://mintlify.wiki/openclaw/openclaw/concepts/routing.md): Message routing logic, allowlists, and multi-agent routing in OpenClaw - [Sessions](https://mintlify.wiki/openclaw/openclaw/concepts/sessions.md): Session management, storage, and lifecycle in OpenClaw - [Configuration](https://mintlify.wiki/openclaw/openclaw/configuration.md): Configure OpenClaw's gateway, agents, channels, and security settings - [Deployment Guide](https://mintlify.wiki/openclaw/openclaw/guides/deployment.md): Deploy OpenClaw to production environments with best practices for local, VPS, and cloud platforms - [Docker Setup](https://mintlify.wiki/openclaw/openclaw/guides/docker.md): Run OpenClaw gateway in Docker containers with docker-compose for production deployments - [Multi-Agent Routing](https://mintlify.wiki/openclaw/openclaw/guides/multi-agent.md): Route channels and users to isolated agents with separate workspaces, sessions, and configurations - [Security Guide](https://mintlify.wiki/openclaw/openclaw/guides/security.md): Secure your OpenClaw gateway with authentication, allowlists, TLS, and security best practices - [Troubleshooting Guide](https://mintlify.wiki/openclaw/openclaw/guides/troubleshooting.md): Diagnose and fix common OpenClaw issues with installation, gateway, channels, authentication, and performance - [Installation](https://mintlify.wiki/openclaw/openclaw/installation.md): Detailed installation instructions for OpenClaw on macOS, Linux, and Windows - [Introduction](https://mintlify.wiki/openclaw/openclaw/introduction.md): OpenClaw is a self-hosted AI assistant gateway that connects AI agents to your messaging channels - [Android App](https://mintlify.wiki/openclaw/openclaw/platforms/android.md) - [iOS App](https://mintlify.wiki/openclaw/openclaw/platforms/ios.md) - [macOS App](https://mintlify.wiki/openclaw/openclaw/platforms/macos.md) - [Web Control UI](https://mintlify.wiki/openclaw/openclaw/platforms/web.md) - [Plugin Architecture](https://mintlify.wiki/openclaw/openclaw/plugins/architecture.md): How OpenClaw loads and manages plugins - [Built-in Extensions](https://mintlify.wiki/openclaw/openclaw/plugins/built-in-extensions.md): Overview of OpenClaw's built-in plugins and extensions - [Channels](https://mintlify.wiki/openclaw/openclaw/plugins/channels.md): Build custom channel plugins for messaging platforms - [Plugin Examples](https://mintlify.wiki/openclaw/openclaw/plugins/examples.md): Real-world plugin implementations - [Getting Started](https://mintlify.wiki/openclaw/openclaw/plugins/getting-started.md): Create your first OpenClaw plugin - [Hooks](https://mintlify.wiki/openclaw/openclaw/plugins/hooks.md): Intercept and modify behavior with lifecycle hooks - [Introduction to Plugins](https://mintlify.wiki/openclaw/openclaw/plugins/introduction.md): Extend OpenClaw with custom channels, tools, and hooks - [Plugin SDK Reference](https://mintlify.wiki/openclaw/openclaw/plugins/plugin-sdk.md): Complete reference for the OpenClaw Plugin SDK - [Publishing Plugins](https://mintlify.wiki/openclaw/openclaw/plugins/publishing.md): Share your OpenClaw plugins on npm - [Tools](https://mintlify.wiki/openclaw/openclaw/plugins/tools.md): Add custom agent tools to extend AI capabilities - [Quickstart](https://mintlify.wiki/openclaw/openclaw/quickstart.md): Get OpenClaw up and running in under 5 minutes