Best way right now is: don’t “add Gmail/Calendar API keys” to OpenClaw directly — instead, give OpenClaw a tool it can call that already knows how to do OAuth. The recommended path is the bundled gog skill (gogcli), which supports Gmail + Google Calendar (and Drive/Contacts/etc).
0) Quick checks (so I don’t guess)
- What does
openclaw --versionprint? - Where is your Gateway running (macOS / Linux / VPS)?
(And please don’t paste any secrets/tokens here.)
1) Use the gog skill for Gmail + Calendar (recommended)
Docs/skill: https://docs.openclaw.ai/tools/skills (skills overview)
On the Gateway host (and as the same OS user that runs the gateway service):
- Install gogcli
- macOS (Homebrew):
brew install steipete/tap/gogcli
(Linux works too, but tell me your distro and I’ll point you at the right install method.)
- Put your Google OAuth client secret JSON on the gateway host (download from GCP Console → Credentials → OAuth client → download JSON)