This article was originally written in Korean and automatically translated into English using AI.
Summary: A summary of installing OpenClaw (OpenClaw AI agent framework) locally and configuring the model, channel, and skills through onboard. Follow along with the Telegram bot authentication and security warning checkpoints to run the agent safely.
Overview
What is OpenClaw
OpenClaw is a Node.js-based open-source framework that lets developers build autonomously operating AI agents.
It can be integrated with various models such as Claude and GPT.
Tasks like reading files, running commands, and calling external services can be connected as tools to automate them.
If you proceed with the default installation mode, you enter onboard after installation.
The setup proceeds through an interactive UI.
The configuration file is written to ~/.openclaw/openclaw.json by default.
Even if you interrupt onboard midway, you can resume editing by running it again.
If needed, you can also reset and configure it again.
1. Agree to the Security Warning
⚠️ **Security Warning — Please Read Carefully**
OpenClaw is a hobby project and is still in beta. Unexpected issues or incomplete features may exist. This bot can read files or execute tasks when tools are enabled. A malicious prompt could trick the bot into performing unsafe actions. If you are not familiar with basic security and access control, running OpenClaw is not recommended. Get help from someone experienced before enabling tools or exposing it to the internet.
Important: OpenClaw can read files or execute commands once tools are enabled.
If exposed externally it can become very dangerous, so it is safer not to connect it to a public channel with the default settings as-is.
For example, if you ask the chatbot to read a file, it may output it verbatim.
2. Choose Installation Mode
Manual mode is used when you want to specify the gateway and workspace manually.
Choose Gateway (usually the local machine)
Specify Workspace Path
Default path is ~/.openclaw/workspace
3. Choose Model and Auth Provider
Just enable the provider(s) you need. Once selected, it walks you through the authentication process.
Claude (Anthropic) example
Some agents are installed automatically.
In some cases a manual installation is required.
Verify the token
1claude setup-token
You can usually keep the default for model selection.
You can change it anytime if needed.
Cloud models like ChatGPT may incur usage-based billing if you use an API key method. However, even if you use a subscription account, there is a way to integrate without an API key, so it’s worth checking out.
ChatGPT: OpenAI Codex (ChatGPT OAuth)
Claude: Anthropic token (paste in setup-token)
Gemini: Google Gemini CLI OAuth
4. Choose Channel
Choose the messenger channel you want. Telegram is often chosen because it’s free.
Create and enter a Telegram bot token
A Telegram bot isn’t created or managed through an admin console — you create and manage it by chatting with @BotFather.
5. Choose Skills
OpenClaw provides additional functionality in forms such as skills and plugins. By default, it’s fine to start by turning on only the skills you need.
Tasks you have it perform repeatedly can later be turned into a skill and attached.
Example settings needed for advanced features
It’s safer to enable these only when you need tasks like the following.
Searching for places on Google Maps
Image generation
Searching Notion data
Speech-to-text (STT)
Text-to-speech (TTS)
Google Places
This is the Google API key setup needed for place search.
Example: “Recommend a highly rated restaurant in Gangnam-gu, Seoul”
Image Generation (Gemini, Nano Banana)
Set this up when using Gemini-based image generation features.
Notion
Used when referencing data from Notion pages.
Image Generation (OpenAI)
Whisper (STT)
Converts a voice file into text.
If you send a message by voice in Telegram, it can convert it to text for processing.
ElevenLabs (TTS)
Used to convert text into speech.
6. Configure Hooks
Notes per item boot-md
Automatically runs BOOT.md when the gateway starts, loading the initial instructions.
bootstrap-extra-files
Automatically injects initial workspace files using glob or path patterns.
Personally, I’d recommend enabling everything except this option.
Specifying the wrong path can pollute the workspace.
command-logger
Logs all command events to a central audit log file.
session-memory
Automatically saves the session context to memory when /new is run.
7. Run the Bot
💡
If execution permission is required on macOS
Choose whether to run with the TUI or the Web UI.
The web UI looks more convenient, but if you plan to use a channel-based assistant, the TUI is enough too.
Run screen
8. Telegram User Authentication
After creating the bot, sending it a message starts the user authentication process. Authentication is required because just any user shouldn’t be able to access OpenClaw through the bot.
The authentication code is delivered as a Telegram message.
Just copy the guided command and run it manually in the terminal.
9. Decide How You’re Addressed and the Bot’s Name
💡 Decide the name the bot will call you and the name you’ll call the bot. After configuring this, you can chat with it like a regular ChatGPT.
Installed in the global scope, but the global node version in use is 20.11
Solution based on the global scope
1# Check version 2❯ node -v
3 4# Check the running process 5ps -ef | grep openclaw
6 7# Note: even if you kill the process, if it's registered as a service or launcher it will auto-restart 8# If it's registered as a service or launcher, you need to stop the launcher 9# For mac: find the running openclaw10launchctl list | grep openclaw
1112# Stop the running openclaw13launchctl unload ~/Library/LaunchAgents/ai.openclaw.gateway.plist
141516# Install the new version and change the default version17nvm install 2218nvm use 2219nvm alias default 22