OpenClaw Setup Tutorial for Beginners

OpenClaw Setup Tutorial for Beginners

OpenClaw is an open-source AI agent platform for building assistants that can use tools, connect to apps like Slack, and run structured workflows.

This beginner setup guide walks you through how to install OpenClaw, what you need before you start, and how to get your first assistant running.

What is OpenClaw?

OpenClaw is an open-source AI agent platform that lets you build and run personal AI assistants connected to tools like Slack, with web search and custom skills built in. Before you start the OpenClaw setup, you’ll need a Claude subscription (Pro or higher) and a Slack workspace.

Time to complete: ~20 minutes · Skill level: Beginner

OpenClaw Setup: Requirements Before You Start

  • A Claude subscription (to authenticate the agent)
  • A Slack workspace where you can create apps
    • Slack can be replaced with Telegram or your choice of communication interface, and in this guide, we will use Slack
  • Node.js installed on your machine
  • A Brave Search API key (optional but recommended)

Step-by-Step OpenClaw Setup Guide

Step 1: Install OpenClaw

  1. Visit https://openclaw.ai/
  1. Copy the installation command for your OS under “Quick Start
installation command under "Quick start" OpenClaw Setup
The installation command
  1. Create a new project in your IDE (VSCode, Cursor etc.) and run the command in the terminal
  • You can just straight up run the code in the default Terminal like Terminal for Mac or CMD for Windows, but having a dedicated project folder will keep things better organised.
  • Once you run the command, it will then ask you some onboarding questions, use 🔼/🔽 keys and the enter key to navigate around.
OpenClaw Setup
Installation complete

Step 2: Authenticate with Your Claude Subscription

  1. Start with “Quick Start” and configure your preferences from there
Onboarding mode - OpenClaw Setup
Onboarding mode – QuickStart
  1. Then, you will be asked to configure the Model/auth providers. These will power your AI agents. Let’s go with Anthropic for now. Since we already have our Claude account!

For this option, ensure that you already have a Claude subscription!

Generating the ClaudeCode setup token

To get the setup token, in a separate terminal, run claude setup-token

It will then open the browser with a code you can copy and paste. Copy that code and paste it to the same terminal and press enter. Then it will show the session code (starting with sk-ant-oat01-…) in yellow.

  1. Paste the session code to OpenClaw and give it a name.
Named my token name "MyOpenClaw" OpenClaw Setup
Named my token name “MyOpenClaw”
  1. Choose a default model (Sonnet 4.6 is fine for most tasks – we can configure this later anyway)
OpenClaw setup wizard showing default model selection dropdown
Model selection

Step 3: Connect OpenClaw to Slack

The next phase of the OpenClaw setup is connecting your communication channel. Select Slack and give your bot a name (e.g. “Friday”). You’ll need to generate two tokens from the Slack API dashboard: a bot token and an app token. Create a dedicated Slack channel, add your bot to it, and paste the channel ID (not the name) into the OpenClaw setup wizard.

  1. For our case, since we use Slack in our daily workflows, I’ll go with the Slack option. However, feel free to try other channels out.
Selecting Slack for channel
Selecting Slack for channel
  1. We can give it a name – this name will be the name of the bot. We’ll name it “Friday”.
Naming my Slack bot "Friday"
Naming my Slack bot “Friday”
  1. Now it is a slightly more complex part – actually connecting it to Slack. To do this, we need to generate a Slack bot token and paste it in the terminal.
Generating the Slack bot token

💡 We will be following instructions from https://docs.slack.dev/app-management/quickstart-app-settings

  1. First, go to https://api.slack.com/apps?new_app=1 to create a new app. If you haven’t logged in, please log in.
Slack API create new app page for OpenClaw integration
Create new app on Slack
  1. When the pop-up shows, click on “From a manifest” and choose your desired workspace.
  1. After this, you need to COPY and paste the manifest OpenClaw has shown in the terminal into the Slack Wizard (step 2 of 3).
OpenClaw terminal displaying manifest JSON to copy into Slack
Need to copy & paste this manifest to Slack Wizard
  1. But since we can’t really copy this well, let’s just open up Claude in a split terminal and ask to clean it up for us so that we can copy and paste it to our Slack.
  • Copy the full part where it says “Manifest (JSON)” all the way to the last bracket.
  • Open up Claude code and ask it to clean it and save it as a .json file. Please the following prompt:
Please clean this json code and save it as slack-manifest.json. 
{YOUR COPIED MANIFEST”}
Claude cleaning up the Slack manifest JSON into proper format
Asking Claude to clean up the manifest
  1. Once done, it’ll create a separate file called “slack-manifest.json”. Now, we can freely copy this JSON and paste it to the Slack Wizard and hit “Next”.
  1. Finally, click on “Create” to complete the process.
  1. Once you’ve successfully completed it, it should show a page of App Credentials.
  2. Now, on the sidebar, please navigate to “OAuth & permissions” page and click on “Install to [Your Workspace]” under “OAuth Tokens”.
Slack OAuth and Permissions page with Install to Workspace button
  1. When you click the install button, it will bring you to a new page. Click “Allow”.
Slack permission approval screen with Allow button for OpenClaw
  1. Once done, you can finally get your bot token and paste it to OpenClaw!
Slack bot OAuth token displayed ready to copy into OpenClaw
  • P.S. Don’t close this yet as we will need the App token as well!
  1. Next, we need the Slack app token and paste it.
Generating the Slack app token
  1. In the slack App we just created above, now navigate to the “Basic Information” tab and find “App-Level Tokens” section. There, click on “Generate Token and Scopes”.
  1. Add a basic name, I’ve called it “friday-socket-token” as this is required to create a socket between OpenClaw and the Slack channel.
  1. Then, click on “Add Scope” and choose the connections:write option and click “Generate”.
  1. Then, you’ll get the Token you can copy and paste to OpenClaw.
Pasting the Slack app token into OpenClaw terminal setup

  1. Go to your Slack app and create a NEW CHANNEL that you will use to communicate with your OpenClaw bot.
  • Make sure to add your OpenClaw bot into the channel!
Creating a new Slack channel for OpenClaw bot communication
Create a new Slack channel
Inviting the OpenClaw bot into the new Slack channel
Invite your bot to the channel
  1. Add the slack channels you want your bot to communicate to the terminal.
  • ‼️ Use the Slack channel ID, NOT the channel name!
OpenClaw terminal prompting for Slack channel ID input
  • Here, I made a mistake of using the slack channel name. This caused me some trouble downstream so make sure to use the channel ID!
Warning showing mistake of using channel name instead of channel ID
Use channel ID NOT THE NAME (my mistake here, I used channel name 😭)

Step 4: Enable Web Search in Your OpenClaw Setup

We can also configure a search provider for our OpenClaw agent to have web-surfing capabilities. Some options are provided by default, but we can always change it later. For now, we will go with the Brave Search option and get started with $5 per month plan.

Feel free to experiment and do your own research on different search providers. I also think that Tavily search (https://www.tavily.com/ ) is a great contender as well.

OpenClaw setup selecting Brave Search as the search provider
Select Brave Search for Search provider

Get Brave search API key from https://brave.com/search/api/ and paste it here.

How to generate Brave Search API Key

If you don’t have an account already, create an account at https://brave.com/

On the dashboard sidebar, navigate to “API keys” and click on “Add API key” option.

Brave Search API dashboard with API keys management section

Once added, you will now have a new key you can copy and paste to OpenClaw.

Brave Search API key created and ready to copy into OpenClaw

Step 5: Add Skills to Your OpenClaw Setup

As we have covered in our Claude Code skills series, Skills provide the agent with pre-configured abilities that let’s them do very particular things. To effectively use OpenClaw (or any other agents), skills are a must!

OpenClaw comes with a few skills that it can be configured out of the box.

OpenClaw skills selection screen showing available built-in skills
Select skills

You can press space to select a skill to install. For simplicity, I’ve selected all skills. When you hit enter, it will then ask you how you’d like to install the skills. I personally like to use pnpm but it does not matter which one you choose too much.

OpenClaw package manager selection with pnpm option for skills install
pmpm to install

It will prompt you for API keys where necessary. For those, please enter your relevant API keys.

For more available skills for OpenClaw, you can visit:

Step 6: Add Hooks and Launch

The next section is about adding hooks. Hooks are built in “code” that allows the agent to automate a piece of work at particular situations. You can imagine it as like “reading a book” before going to bed or “taking a dog for a walk when waking up”.

OpenClaw provides a few options by default. Enable all of them by toggling with the spacebar and hit enter.

OpenClaw hooks configuration toggles enabled with spacebar
Add hooks

Step 7: Finalising the setup

Now we’re at the final piece. It will then ask you to hatch your bot. We will go with the first option, TUI (Terminal UI) as that is the recommended solution.

OpenClaw hatch bot screen selecting TUI terminal UI option
Select ‘Hatch in TUI’

This is just a simple process to let OpenClaw understand who you are and just giving a little more information about yourself. You can talk to it just like how you’d talk to Claude or ChatGPT.

OpenClaw TUI terminal conversation introducing yourself to the bot
OpenClaw is live!

Now we are ready (almost)

Step 8: Interacting with OpenClaw

To get started with OpenClaw, ensure that your gateway is running!

Run: OpenClaw Gateway

Once we have successfully onboarded OpenClaw, we can view all its configurations, make chat, and settings from the dashboard. Simply run the following command in the terminal:

openclaw dashboard

Terminal running openclaw dashboard command to open web UI
Opening dashboard

Then it will open a new tab for the OpenClaw dashboard.

OpenClaw web dashboard control panel interface overview
Web dashboard

This is the control UI. You can now start to control everything here.

Step 9: Testing it out

When I send a new message to Friday, it gives the response well! Now we’re good to go.

Slack conversation showing successful OpenClaw bot response
Talking with bot on Slack

Common OpenClaw Setup Issues and Fixes

  • Token not recognised — make sure you copied the full sk-ant-oat01-... string with no trailing spaces.
  • Slack bot not responding — confirm you added the bot to the channel and used the channel ID, not the name.
  • Skills failing to install — try switching package managers (npm / pnpm / yarn) if one errors out.

Next steps

Okay so now we’ve installed OpenClaw and we got the basics set up. Well done. Now we just need to figure out what we are actually going to use this for. Tune up for the series and we will be showcasing how we use OpenClaw at Ridio so you can use it in a similar way as well.


Check out our previous posts

👉 How to create a PPT presentation with Claude

👉 How to setup Claude Skills

👉 Claude Code Tutorial for Beginners – Setup Guide


Follow for more AI juice

Share this post!
Selene Lee
Selene Lee
Articles: 11

Leave a Reply

Your email address will not be published. Required fields are marked *