Connect OpenClaw to Google Chat using Google Cloud Console. This guide covers OpenClaw v2026.2+, Google Chat API setup, service account credentials, space integration, and enterprise security for workspace AI assistants.
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.
Frequently Asked Questions
Is Google Chat bot free?
Yes, the Google Chat API is free. You only need a Google Cloud project, which has a free tier sufficient for most use cases.
Can I use Google Chat bot in direct messages?
Yes, OpenClaw can respond in both direct messages and spaces. Configure space permissions in Google Cloud Console.
Does Google Chat support slash commands?
Yes, configure custom slash commands in Google Cloud Console and handle them in OpenClaw.
Can I add the bot to Google Workspace?
Yes, for Google Workspace domains, the admin needs to install the app. For personal accounts, users can add bots directly.