(Translated from my Spanish cheat sheet) It works for me this way, using --manual First, review the steps to set up API access permissions here: https://github.com/steipete/gogcli?tab=readme-ov-file Section: Quick Start → 1. Get OAuth2 Credentials You need to download the JSON credentials file and place it in the credentials folder. My steps: Place the credentials JSON file downloaded from Google Cloud Console in /root/.openclaw/credentials/ Enter the container’s interactive session: docker exec -it OpenClaw bash gog auth credentials /root/.openclaw/credentials/client_secret.json gog auth add
[email protected] --services gmail,calendar,drive,sheets --manual Click the URL, open it in your browser, continue through until you reach an error page. Copy that URL and paste it back into the terminal — that’s what it’s requesting. You’ll be prompted to create a passphrase. Run gog auth list to view the stored credentials (you’ll be asked for the secure key again). Then run export
[email protected] To check if it works, try: gog gmail labels list It will ask for your passphrase. To prevent everything from being lost after updates: Add a path to store Google authentication credentials. Container path --> /root/.config/gogcli Host path --> /mnt/user/appdata/openclaw/gog