💬
Google Chat Integration
Connect OpenClaw to Google Chat and have your AI assistant help your workspace.
TL;DR
- ✓ Create a Google Cloud project and enable Chat API
- ✓ Create a Chat bot and configure credentials
- ✓ Add credentials to openclaw.json
- ✓ Time: ~15 minutes
Setup Steps
Step 1: Create Google Cloud Project
- Go to Google Cloud Console
- Create a new project
- Enable "Google Chat API"
- Go to "Credentials" → "Create Credentials" → "Service Account"
- Create a key and download the JSON file
Step 2: Configure Chat Bot
- In Google Cloud Console, go to "Configuration" under Google Chat API
- Set App name, avatar, and description
- Under "Connection settings", select "Bot URL"
- Set the Bot URL to your OpenClaw server endpoint
- Under "Permissions", add users and groups who can use the bot
Step 3: Configure openclaw.json
{
"channels": {
"googlechat": {
"enabled": true,
"credentials": {
"type": "service_account",
"project_id": "your-project-id",
"private_key": "-----BEGIN PRIVATE KEY-----
...",
"client_email": "your-service-account@..."
},
"space": "spaces/your-space-id"
}
}
} Step 4: Start OpenClaw
openclaw start Your Google Chat bot is now active! Add it to spaces to start chatting.
Features
Space Integration
Add to direct messages and spaces.
Card Messages
Support for interactive cards and buttons.
File Handling
Process attachments from Google Chat.
Slash Commands
Respond to custom slash commands.