Google OAuth Setup Tutorial for OpenClaw

Google OAuth Setup Tutorial for OpenClaw

Getting Started with Google Cloud Console

Creating a New Project

  • Begin by signing into your Google account and opening the Google Cloud Console.
  • Click on "Select a project" in the upper left corner, then choose "New Project."
  • Name your project (e.g., "OpenClaw") and click "Create."

Enabling APIs for Google Services

  • After creating the project, navigate to "APIs and services" on the left side and click "Enable APIs and services."
  • Search for each individual Google service you want to use (e.g., Gmail, Calendar, Drive, Sheets, Docs, People) and enable them one by one.
  • Acknowledge that this OAuth process can be tedious but is essential for setup.

Configuring OAuth Consent Screen

  • Click on "OAuth consent screen" from the left menu and select "Get started."
  • Provide an app name (e.g., "OpenClaw"), select your email as user support email, choose external audience, and agree to terms of service.

Adding Test Users

  • Scroll down to add test users under the test user section; enter your email address and save.

Setting Up OAuth Credentials

  • Go back to “Credentials” under “APIs & Services,” create credentials by selecting “OAuth client ID.”
  • Choose “Desktop app” as application type, name it (e.g., “OpenClaw”), then download the JSON file containing client secrets.

Connecting Your Bot with Google Account

Sending Client Secret JSON

  • Attach the downloaded JSON file in a message via Telegram along with context about enabling APIs for all Google Workspace services.

Following Connection Instructions

  • The bot will respond with instructions including opening a long URL in your browser. Select your Google account when prompted.

Handling Verification Warnings

  • You may encounter a warning stating that Google hasn't verified this app; proceed by clicking continue since you are the developer.

Testing Functionality of OpenClaw

Performing Write Tests

  • Ask OpenClaw to add an event (e.g., meeting with John Smith at 12:00 p.m. Friday). It will ask clarifying questions regarding duration.

Performing Read Tests

  • Add another event (e.g., lunch with Dave at 1:00 p.m. Wednesday), then query OpenClaw about Wednesday's calendar events.
Playlists:
Video description

Learn how to complete the Google OAuth setup for OpenClaw. This step-by-step tutorial walks you through Google Cloud Console, enabling APIs, and generating your Client Secret JSON so your AI bot can automate Gmail and Calendar. ✅ Hostinger VPS (Exclusive Discount): https://meticsmedia.com/hostinger-MBXR 🎓Complete Tutorial: https://youtu.be/st534T7-mdE 🔗 Links Mentioned in Video Google Cloud Console: https://console.cloud.google.com/ 📍 Exclusive Deals & Discounts: https://meticsmedia.com/deals