Clawra → Platform Integration
Clawra Platform
Integration
Complete guide to integrating Clawra with Discord, Telegram, WhatsApp, Slack, Signal, and MS Teams through OpenClaw
Hosting Solution
Don’t Let Clawra
Go Offline
Host on Clawra — one-click deployment, auto security updates, always-available hosting. Starting at $9.99/mo
01 — Overview
Supported Messaging
Platforms
Clawra works on multiple messaging platforms through the OpenClaw framework. OpenClaw provides unified integration, so Clawra can interact with users wherever they prefer to chat.
All platforms support Clawra’s core features: personality-driven conversations, memory system, and cross-platform continuity. Some features like selfie generation and video calls work best on certain platforms.
02 — Discord
🎮 Discord Integration
Most popular platform for Clawra with rich features
Discord is the recommended platform for Clawra, offering the best feature support including embeds, reactions, voice, and seamless image sharing for selfies.
Step 1: Create Discord Application
- 1.Go to Discord Developer Portal (discord.com/developers/applications)
- 2.Click "New Application" and give it a name (e.g., "Clawra")
- 3.Agree to the terms and create the application
Step 2: Create Bot User
- 1.In your application dashboard, go to "Bot" section
- 2.Click "Add Bot"
- 3.Confirm by clicking "Yes, do it!"
- 4.Click "Reset Token" to reveal your bot token
- 5.Copy this token — you'll need it for configuration
Step 3: Configure Bot Intents
In the Bot section, under "Privileged Gateway Intents", enable:
- ◆Message Content Intent — Required for Clawra to read messages
- ◆Server Members Intent — Optional, for user information
- ◆Presence Intent — Optional, for status updates
Step 4: Invite Bot to Server
- 1.Go to "OAuth2" > "URL Generator"
- 2.Select scopes: bot
- 3.Select bot permissions: Send Messages, Embed Links, Attach Files, Read Message History, Use Slash Commands
- 4.Copy the generated URL and open it in your browser
- 5.Select your server and authorize the bot
Step 5: Configure Clawra
Add your Discord bot token to your configuration:
# .env file
DISCORD_BOT_TOKEN=your-discord-bot-token-here
# config.yaml
platforms:
discord:
enabled: true
token: "${DISCORD_BOT_TOKEN}"
command_prefix: "/"
status:
activity: "chatting"
status: "online"Discord-Specific Features
- ◆Slash Commands: /selfie, /remember, /recall
- ◆Embeds: Rich formatted responses
- ◆Reactions: React to Clawra's messages
- ◆File Uploads: Easy selfie sharing
03 — Telegram
✈️ Telegram Integration
Simple setup with BotFather
Telegram offers the simplest setup process through BotFather. Telegram bots work well for text conversations and basic image sharing.
Step 1: Create Bot with BotFather
- 1.Open Telegram and search for @BotFather (t.me/BotFather)
- 2.Start a chat and send /newbot
- 3.Follow the prompts to name your bot (e.g., "Clawra")
- 4.Choose a username (must end in 'bot', e.g., "ClawraBot")
- 5.BotFather will provide your API token
- 6.Copy this token — save it for configuration
Step 2: Configure Clawra
Add your Telegram bot token to configuration:
# .env file
TELEGRAM_BOT_TOKEN=your-telegram-bot-token-here
# config.yaml
platforms:
telegram:
enabled: true
token: "${TELEGRAM_BOT_TOKEN}"
parse_mode: "HTML"Step 3: Start Chatting
- 1.Search for your bot on Telegram using its username
- 2.Click "Start" to begin the conversation
- 3.Send "Hi" to test Clawra
Telegram-Specific Features
- ◆Commands: /selfie, /remember, /recall, /help
- ◆Inline Mode: Quick access from any chat
- ◆Groups: Add Clawra to group chats
- ◆Channels: Broadcast updates
04 — WhatsApp
📱 WhatsApp Integration
Requires WhatsApp Business API access
WhatsApp integration requires more setup through the WhatsApp Business API. This is ideal for businesses or users who need WhatsApp specifically.
Prerequisites
- ◆WhatsApp Business Account
- ◆Meta for Developers account
- ◆Approved WhatsApp Business API access
Step 1: Create Meta App
- 1.Go to Meta for Developers (developers.facebook.com/apps)
- 2.Create a new app
- 3.Select "Business" type
- 4.Add "WhatsApp" product
Step 2: Configure WhatsApp
- 1.In the WhatsApp section, add your phone number
- 2.Verify the phone number
- 3.Generate access token
- 4.Copy the phone number ID and access token
Step 3: Configure Clawra
# .env file
WHATSAPP_TOKEN=your-whatsapp-access-token
PHONE_NUMBER_ID=your-phone-number-id
# config.yaml
platforms:
whatsapp:
enabled: true
token: "${WHATSAPP_TOKEN}"
phone_number_id: "${PHONE_NUMBER_ID}"
webhook_verify_token: "your-verify-token"Step 4: Set Up Webhook
WhatsApp requires webhook configuration for real-time message delivery. You'll need to host Clawra on a server with a public URL or use ngrok for local development.
- 1.Set up a webhook endpoint in Clawra configuration
- 2.Configure the webhook URL in WhatsApp dashboard
- 3.Verify the webhook with your verify token
- 4.Subscribe to webhook events (messages, status updates)
Note on WhatsApp
WhatsApp Business API has usage limitations and may require business verification. Consider starting with Discord or Telegram for easier setup.
05 — Other Platforms
Other Supported
Platforms
Slack, Signal, and MS Teams integration through OpenClaw
Slack
Slack integration is great for workplace or community settings.
Setup Steps
- 1.Create a Slack App at api.slack.com/apps
- 2.Enable Bot Token Scopes
- 3.Install app to workspace
- 4.Copy Bot Token and Signing Secret
SLACK_BOT_TOKEN=xoxb-your-token SLACK_SIGNING_SECRET=your-secret
Signal
Signal integration through the Signal CLI REST API.
Setup Steps
- 1.Install Signal CLI REST API
- 2.Register your phone number
- 3.Configure webhook endpoint
- 4.Connect Clawra to the API
Note: Signal integration requires additional setup infrastructure.
Microsoft Teams
Teams integration through Azure Bot Service.
Setup Steps
- 1.Create Azure Bot resource
- 2.Configure Microsoft App ID
- 3.Enable Teams channel
- 4.Configure messaging endpoint
Note: Requires Azure account and may have associated costs.
06 — Multi-Platform
Running Clawra on
Multiple Platforms
Clawra can run on multiple platforms at the same time through OpenClaw. Users on different platforms can interact with the same Clawra instance, and memory is shared across all platforms.
Example Multi-Platform Configuration
# config.yaml — enable multiple platforms simultaneously
platforms:
discord:
enabled: true
token: "${DISCORD_BOT_TOKEN}"
command_prefix: "/"
telegram:
enabled: true
token: "${TELEGRAM_BOT_TOKEN}"
slack:
enabled: true
token: "${SLACK_BOT_TOKEN}"
signing_secret: "${SLACK_SIGNING_SECRET}"
# All platforms share the same memory and personalityBenefits of Multi-Platform
- ◆Unified Memory: Clawra remembers conversations across all platforms
- ◆Consistent Personality: Same character everywhere
- ◆Platform Flexibility: Users choose their preferred platform
- ◆Redundancy: If one platform is down, others still work
Considerations
- ◆Each platform has different message formatting
- ◆File upload size limits vary by platform
- ◆Some features work better on certain platforms
- ◆API rate limits are per-platform
07 — Testing
Testing Your Platform
Integration
Testing Checklist
- ✓Bot token correctly configured
- ✓Platform connection established
- ✓Clawra responds to messages
- ✓Commands work correctly
- ✓Selfie generation sends images (if enabled)
- ✓Memory persists across sessions
- ✓Cross-platform memory works (if multi-platform)
Test Commands
Hi Clawra!Test basic conversationTell me about yourselfTest personality/selfieTest image generation/remember I like coffeeTest memory storage/recallTest memory retrieval08 — Troubleshooting
Platform Integration
Troubleshooting
Solve common platform integration issues
Bot Not Responding
Possible causes
- ◆Incorrect bot token
- ◆Bot not invited to server/channel
- ◆Intents not enabled (Discord)
- ◆OpenClaw not running
Verify token, check bot permissions, ensure OpenClaw is running.
Commands Not Working
Possible causes
- ◆Wrong command prefix
- ◆Missing bot permissions
- ◆Command not registered
Check command prefix in config, verify bot permissions.
Images Not Sending
Possible causes
- ◆fal.ai API not configured
- ◆File size limit exceeded
- ◆Bot lacks file permissions
Check API configuration, verify bot can upload files.
Webhook Issues (WhatsApp)
Possible causes
- ◆Webhook URL not accessible
- ◆Verify token mismatch
- ◆SSL certificate problems
Verify webhook URL is public, check token, ensure valid SSL.
09 — Next Steps