> ## 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.

# OpenClaw Accounts And Onboarding

> Create the Discord bot, optionally prepare Tavily, install OpenClaw, and run onboarding.

<div className="not-prose my-4 rounded-md border border-gray-200 bg-gray-50 p-2 text-sm dark:border-gray-800 dark:bg-gray-900/40">
  <div className="mb-2 px-1 text-xs font-semibold uppercase tracking-wide text-gray-500 dark:text-gray-400">Need help?</div>

  <div className="flex flex-wrap gap-2">
    <a className="inline-flex items-center gap-2 rounded-md border border-gray-200 bg-white px-3 py-1.5 font-medium text-gray-700 no-underline shadow-sm hover:border-gray-300 hover:bg-gray-50 dark:border-gray-800 dark:bg-gray-950/60 dark:text-gray-200 dark:hover:bg-gray-900" href="https://discord.gg/sDE2HhGTg4" target="_blank" rel="noreferrer">
      <Icon icon="discord" iconType="brands" size={14} />

      <span>Ask in Discord</span>
    </a>

    <a className="inline-flex items-center gap-2 rounded-md border border-gray-200 bg-white px-3 py-1.5 font-medium text-gray-700 no-underline shadow-sm hover:border-gray-300 hover:bg-gray-50 dark:border-gray-800 dark:bg-gray-950/60 dark:text-gray-200 dark:hover:bg-gray-900" href="https://github.com/Prompthon-IO/agent-systems-handbook/issues/new/choose" target="_blank" rel="noreferrer">
      <Icon icon="github" iconType="brands" size={14} />

      <span>Open a GitHub issue</span>
    </a>

    <a className="inline-flex items-center gap-2 rounded-md border border-gray-200 bg-white px-3 py-1.5 font-medium text-gray-700 no-underline shadow-sm hover:border-gray-300 hover:bg-gray-50 dark:border-gray-800 dark:bg-gray-950/60 dark:text-gray-200 dark:hover:bg-gray-900" href="https://github.com/Prompthon-IO/agent-systems-handbook/blob/main/SUPPORT.md" target="_blank" rel="noreferrer">
      <Icon icon="life-ring" size={14} />

      <span>Support guide</span>
    </a>
  </div>
</div>

Use this page after the Windows or Mac setup page. It prepares the account
pieces that OpenClaw needs for a Discord-backed workshop agent.

<Warning>
  Bot tokens and API keys are secrets. Keep them out of screenshots, pull
  requests, chat messages, and public docs.
</Warning>

## Create A Discord Bot

1. Install Discord from [discord.com](https://discord.com/) and create or sign in
   to your account.

<img src="https://mintcdn.com/agentizeai/ntzh5biAzyfS_g8Q/assets/openclaw-workshop/accounts-and-onboarding/discord-create-account.png?fit=max&auto=format&n=ntzh5biAzyfS_g8Q&q=85&s=e39290607c041f8eb26e5dcd44641869" alt="Create or sign in to a Discord account" width="1776" height="1436" data-path="assets/openclaw-workshop/accounts-and-onboarding/discord-create-account.png" />

2. Open the [Discord Developer Portal](https://discord.com/developers/home) and
   create an application.

<img src="https://mintcdn.com/agentizeai/ntzh5biAzyfS_g8Q/assets/openclaw-workshop/accounts-and-onboarding/discord-create-application.png?fit=max&auto=format&n=ntzh5biAzyfS_g8Q&q=85&s=6ab883048783d7a6e2f727555d7fedc8" alt="Create a Discord application" width="2334" height="946" data-path="assets/openclaw-workshop/accounts-and-onboarding/discord-create-application.png" />

3. Add a bot to the application.

<img src="https://mintcdn.com/agentizeai/ntzh5biAzyfS_g8Q/assets/openclaw-workshop/accounts-and-onboarding/discord-create-bot.png?fit=max&auto=format&n=ntzh5biAzyfS_g8Q&q=85&s=0f9c6abb9c7d2d792b09d4b7c939e30a" alt="Create the Discord bot" width="2134" height="1628" data-path="assets/openclaw-workshop/accounts-and-onboarding/discord-create-bot.png" />

4. Enable the bot intents required by your workshop flow. For the OpenClaw
   workshop, enable Message Content Intent.

<img src="https://mintcdn.com/agentizeai/ntzh5biAzyfS_g8Q/assets/openclaw-workshop/accounts-and-onboarding/discord-save-bot-token.png?fit=max&auto=format&n=ntzh5biAzyfS_g8Q&q=85&s=893e7e2526a155d857b237d12745fce9" alt="Enable the Discord bot message content intent" width="2144" height="716" data-path="assets/openclaw-workshop/accounts-and-onboarding/discord-save-bot-token.png" />

5. Generate or copy the bot token and save it locally for onboarding. Do not
   paste it into source files.

6. Authorize the bot into the Discord server you will use for the workshop.

<img src="https://mintcdn.com/agentizeai/ntzh5biAzyfS_g8Q/assets/openclaw-workshop/accounts-and-onboarding/discord-authorize-bot.png?fit=max&auto=format&n=ntzh5biAzyfS_g8Q&q=85&s=7f2b99a4ee398dcb8c32c37a9d3aa2b0" alt="Authorize the Discord bot" width="3092" height="2300" data-path="assets/openclaw-workshop/accounts-and-onboarding/discord-authorize-bot.png" />

If Discord gives you an OAuth URL, open a new tab and paste it there.

<img src="https://mintcdn.com/agentizeai/ntzh5biAzyfS_g8Q/assets/openclaw-workshop/accounts-and-onboarding/discord-paste-oauth-url.png?fit=max&auto=format&n=ntzh5biAzyfS_g8Q&q=85&s=55d34eaf4dae46c03942c9994afd80e1" alt="Paste the Discord OAuth URL into a browser tab" width="2814" height="442" data-path="assets/openclaw-workshop/accounts-and-onboarding/discord-paste-oauth-url.png" />

## Optional: Prepare Tavily Search

Use Tavily only if you want agents to perform web searches during the workshop.

1. Go to [tavily.com](https://www.tavily.com/) and create an account.
2. Create an API key and save it locally for onboarding.

<img src="https://mintcdn.com/agentizeai/ntzh5biAzyfS_g8Q/assets/openclaw-workshop/accounts-and-onboarding/tavily-api-key.png?fit=max&auto=format&n=ntzh5biAzyfS_g8Q&q=85&s=d7f908f1135f4cab722d8f39a9d5e991" alt="Create a Tavily API key" width="1168" height="721" data-path="assets/openclaw-workshop/accounts-and-onboarding/tavily-api-key.png" />

If you skip Tavily, the agent can still run local workflows, but web-search
features will not be available.

## Install OpenClaw

Install the CLI:

```bash theme={null}
npm install -g openclaw@latest
```

Check the installed version and run diagnostics:

```bash theme={null}
openclaw --version
openclaw doctor
```

## Run Onboarding

Start onboarding:

```bash theme={null}
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](/workshops/openclaw/commands) open as
the quick reference.
