Guides

Connecting Google Calendar

Connect your Google Calendar using a simple, secure authorization flow designed for applications without a direct browser interface.

Part 1: Set up Your Project in Google Cloud Console

You need to get credentials from Google. The type of credential is critical for this kind of connection.

  1. Create a Google Cloud Project: Go to the Google Cloud Console and create a New Project.
  2. Enable the Google Calendar API: In your project, navigate to APIs & Services → Library, search for, and Enable the "Google Calendar API".
  3. Configure OAuth Consent Screen: Go to APIs & Services → OAuth consent screen. Choose External, then fill in the required app information (App name, support emails).
  4. Create Desktop App Credentials: This is the most important step. Go to APIs & Services → Credentials. Click + Create Credentials and select OAuth client ID. For the Application type, you must select Desktop app. After creation, Google will provide your Client ID and Client Secret. Copy both.

Part 2: Have Your Agent Install and Configure the Skill

  1. Instruct Your Agent: Give your Nimrobo agent this command:
    "Please install and configure the OpenClaw skill for Google Calendar."
  2. Provide Your Credentials: The agent will install the skill and ask for the Client ID and Client Secret you copied from the Google Cloud Console.

Part 3: Authorize the Connection (Device Flow)

This is where you approve the connection using your phone or another device with a browser.

  1. Get a URL and Code from Your Agent: The agent will provide a verification URL and a unique code. It will look like this:
    "To continue, please open a browser on any device and go to: `https://www.google.com/device` and then enter the code: `ABCD-EFGH`"
  2. Authorize on a Different Device: Open the URL on your phone or laptop, sign in to your Google account, and enter the code. You will be asked to grant permission. Click Allow.
  3. Agent Confirms: Your remote agent will detect the approval and confirm that the connection is complete.

Part 4: Verify the Setup

To confirm it's working, ask your agent a question about your schedule:

"What's on my calendar for tomorrow?"