Skip to main content

Documentation Index

Fetch the complete documentation index at: https://labs.prompthon.io/llms.txt

Use this file to discover all available pages before exploring further.

Use this page after the Windows or Mac setup page. It prepares the account pieces that OpenClaw needs for a Discord-backed workshop agent.
Bot tokens and API keys are secrets. Keep them out of screenshots, pull requests, chat messages, and public docs.

Create A Discord Bot

  1. Install Discord from discord.com and create or sign in to your account.
Create or sign in to a Discord account
  1. Open the Discord Developer Portal and create an application.
Create a Discord application
  1. Add a bot to the application.
Create the Discord bot
  1. Enable the bot intents required by your workshop flow. For the OpenClaw workshop, enable Message Content Intent.
Enable the Discord bot message content intent
  1. Generate or copy the bot token and save it locally for onboarding. Do not paste it into source files.
  2. Authorize the bot into the Discord server you will use for the workshop.
Authorize the Discord bot If Discord gives you an OAuth URL, open a new tab and paste it there. Paste the Discord OAuth URL into a browser tab Use Tavily only if you want agents to perform web searches during the workshop.
  1. Go to tavily.com and create an account.
  2. Create an API key and save it locally for onboarding.
Create a Tavily API key If you skip Tavily, the agent can still run local workflows, but web-search features will not be available.

Install OpenClaw

Install the CLI:
npm install -g openclaw@latest
Check the installed version and run diagnostics:
openclaw --version
openclaw doctor

Run Onboarding

Start onboarding:
openclaw onboard --install-daemon
During onboarding:
  • For channel, select Discord.
  • Paste the Discord bot token when prompted.
  • Allow all channels unless your workshop has a narrower channel policy.
  • For search provider, select Tavily and paste the API key if you created one.
  • For skills, enable summarize.
  • For hooks, enable command-logger and session-memory.
  • For bot launch, select hatch in terminal.
After onboarding, keep OpenClaw Commands open as the quick reference.