Milvus
Zilliz
  • Home
  • Blog
  • Step-by-Step Guide to Setting Up OpenClaw (Previously Clawdbot/Moltbot) with Slack

Step-by-Step Guide to Setting Up OpenClaw (Previously Clawdbot/Moltbot) with Slack

  • Tutorial
February 04, 2026
Min Yin, Lumina Wang

If you’ve been on tech Twitter, Hacker News, or Discord this week, you’ve seen it. A lobster emoji 🦞, screenshots of tasks being completed, and one bold claim: an AI that doesn’t just talkβ€”it actually does.

It got weirder over the weekend. Entrepreneur Matt Schlicht launched Moltbookβ€”a Reddit-style social network where only AI agents can post, and humans can only watch. Within days, over 1.5 million agents signed up. They formed communities, debated philosophy, complained about their human operators, and even founded their own religion called β€œCrustafarianism.” Yes, really.

Welcome to the OpenClaw craze.

The hype is so real that Cloudflare’s stock jumped 14% simply because developers use its infrastructure to run applications. Mac Mini sales reportedly spiked as people buy dedicated hardware for their new AI employee. And the GitHub repo? Over 150,000 stars in just a few weeks.

So naturally, we had to show you how to set up your own OpenClaw instanceβ€”and connect it to Slack so you can boss around your AI assistant from your favorite messaging app.

What Is OpenClaw?

OpenClaw (formerly known as Clawdbot/Moltbot) is an open-source, autonomous AI agent that runs locally on user machines and performs real-world tasks via messaging apps such as WhatsApp, Telegram, and Discord. It automates digital workflowsβ€”such as managing emails, browsing the web, or scheduling meetingsβ€”by connecting to LLMs like Claude or ChatGPT.

In short, it’s like having a 24/7 digital assistant that can think, respond, and actually get stuff done.

Setting Up OpenClaw as a Slack-Based AI Assistant

Imagine having a bot in your Slack workspace that can instantly answer questions about your product, help debug user issues, or point teammates to the right documentationβ€”without anyone having to stop what they’re doing. For us, that could mean faster support for the Milvus community: a bot that answers common questions (β€œHow do I create a collection?”), helps troubleshoot errors, or summarizes release notes on demand. For your team, it might be onboarding new engineers, handling internal FAQs, or automating repetitive DevOps tasks. The use cases are wide open.

In this tutorial, we’ll walk through the basics: installing OpenClaw on your machine and connecting it to Slack. Once that’s done, you’ll have a working AI assistant ready to customize for whatever you need.

Prerequisites

  • A Mac or Linux machine

  • An Anthropic API key (or Claude Code CLI access)

  • A Slack workspace where you can install apps

That’s it. Let’s get started.

Step 1: Install OpenClaw

Run the installer:

curl -fsSL https://molt.bot/install.sh | bash

When prompted, select Yes to continue.

Then, choose QuickStart mode.

Step 2: Choose Your LLM

The installer will ask you to pick a model provider. We’re using Anthropic with the Claude Code CLI for authentication.

  1. Select Anthropic as the provider
  1. Complete the verification in your browser when prompted.
  1. Choose anthropic/claude-opus-4-5-20251101 as your default model

Step 3: Set Up Slack

When asked to select a channel, choose Slack.

Proceed to name your bot. We called ours β€œClawdbot_Milvus.”

Now you’ll need to create a Slack app and grab two tokens. Here’s how:

3.1 Create a Slack App

Go to the Slack API website and create a new app from scratch.

Give it a name and select the workspace you want to use.

3.2 Set Bot Permissions

In the sidebar, click OAuth & Permissions. Scroll down to Bot Token Scopes and add the permissions your bot needs.

3.3 Enable Socket Mode

Click Socket Mode in the sidebar and toggle it on.

This will generate an App-Level Token (starts with xapp-). Copy it somewhere safe.

3.4 Enable Event Subscriptions

Go to Event Subscriptions and toggle it on.

Then choose which events your bot should subscribe to.

3.5 Install the App

Click Install App in the sidebar, then Request to Install (or install directly if you’re a workspace admin).

Once approved, you’ll see your Bot User OAuth Token (starts with xoxb-). Copy this as well.

Step 4: Configure OpenClaw

Back in the OpenClaw CLI:

  1. Enter your Bot User OAuth Token (xoxb-...)

  2. Enter your App-Level Token (xapp-...)

  1. Select which Slack channels the bot can access
  1. Skip skills configuration for nowβ€”you can always add them later
  1. Select Restart to apply your changes

Step 5: Try It Out

Head over to Slack and send your bot a message. If everything’s set up correctly, OpenClaw will respond and be ready to run tasks on your machine.

Tips

  1. Run clawdbot dashboard to manage settings through a web interface
  1. If something goes wrong, check the logs for error details

A Word of Caution

OpenClaw is powerfulβ€”and that’s exactly why you should be careful. β€œActually does things” means it can execute real commands on your machine. That’s the whole point, but it comes with risk.

The good news:

  • It’s open source, so the code is auditable

  • It runs locally, so your data isn’t on someone else’s server

  • You control what permissions it has

The not-so-good news:

  • Prompt injection is a real riskβ€”a malicious message could potentially trick the bot into running unintended commands

  • Scammers have already created fake OpenClaw repos and tokens, so be careful what you download

Our advice:

  • Don’t run this on your primary machine. Use a VM, a spare laptop, or a dedicated server.

  • Don’t grant more permissions than you need.

  • Don’t use this in production yet. It’s new. Treat it like the experiment it is.

  • Stick to official sources: @openclaw on X and OpenClaw.

Once you give an LLM the ability to execute commands, there’s no such thing as 100% secure. That’s not an OpenClaw problemβ€”that’s the nature of agentic AI. Just be smart about it.

What’s Next?

Congratulations! You now have a local AI assistant running on your own infrastructure, accessible through Slack. Your data stays yours, and you’ve got a tireless helper ready to automate the repetitive stuff.

From here, you can:

  • Install more Skills to expand what OpenClaw can do

  • Set up scheduled tasks so it works proactively

  • Connect other messaging platforms like Telegram or Discord

  • Explore the Milvus ecosystem for AI search capabilities

Have questions or want to share what you’re building?

Happy hacking! 🦞

Like the article? Spread the word

Keep Reading