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

Need help?

[Ask in Discord](https://discord.gg/sDE2HhGTg4)

[Open a GitHub issue](https://github.com/Prompthon-IO/agent-systems-handbook/issues/new/choose)

[Support guide](https://github.com/Prompthon-IO/agent-systems-handbook/blob/main/SUPPORT.md)

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.

## Create A Discord Bot

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

![Create or sign in to a Discord account](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)

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

![Create a Discord application](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)

3. Add a bot to the application.

![Create the Discord bot](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)

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

![Enable the Discord bot message content intent](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)

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.

![Authorize the Discord bot](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)

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

![Paste the Discord OAuth URL into a browser tab](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)

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

![Create a Tavily API key](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)

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](https://labs.prompthon.io/workshops/openclaw/commands.md) open as
the quick reference.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.