google-workspace-setup

Install CLI tooling, provision a Cloud project, enable seven Workspace APIs, and complete OAuth Desktop authorization.

1.7k|523|Updated May 5, 2026
One-click install
npx skills add https://github.com/Lilac-Labs/gini-agent --skill google-workspace-setup-lilac-labs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: google-workspace-setup
Source: https://github.com/Lilac-Labs/gini-agent/tree/main/skills/google/google-workspace-setup
Command: npx skills add https://github.com/Lilac-Labs/gini-agent --skill google-workspace-setup-lilac-labs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill sets up Google Workspace access end-to-end so you can use Gini’s Gmail, Calendar, Drive, Docs, Sheets, Meet, and Forms capabilities without manually configuring OAuth and cloud project settings.

Core Features & Use Cases

  • Installs required CLI tools: Installs gws and Google Cloud SDK (gcloud) when missing and verifies versions.
  • Creates or reuses a Cloud project: Finds an existing active Gini-managed project, restores a recently deleted one, or creates a deterministic new one.
  • Enables required Workspace APIs: Enables the full set of seven Google Workspace APIs so users can pivot across products later without re-running setup.
  • Captures OAuth Desktop credentials safely: Uses an inline connector form to collect OAuth Client ID and Client Secret without writing secrets to disk or echoing them in chat.
  • Runs OAuth login with human approval: Guides the sign-in and consent flow via the user’s default browser and completes authorization for the chosen scopes.

Quick Start

Tell the agent to set up Google Workspace for you, then follow the on-screen milestones to complete browser sign-in and paste the OAuth Client credentials into the inline form.

Frequently Asked Questions about google-workspace-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up OAuth authentication for Google Workspace APIs?

OAuth setup for Google Workspace involves installing CLI tooling, provisioning a managed Cloud project, enabling seven Workspace APIs, and completing a browser-based Desktop authorization flow. It uses an inline connector form to securely capture OAuth Client credentials without writing secrets to disk.

What do I need to configure before enabling Google Workspace API access?

Before enabling Google Workspace API access, you need to provide OAuth Client ID and Secret credentials. The setup installs missing CLI tools like gcloud, provisions or reuses an active Cloud project, and applies the required API permissions for user-controlled scopes.

Can I reuse an existing Google Cloud project for Google Workspace setup?

Yes, you can reuse an existing Google Cloud project for Google Workspace setup. The process is idempotent, finding an existing active managed project or restoring a recently deleted one before falling back to creating a deterministic new one.

How do I enable multiple Google Workspace APIs like Gmail and Drive at once?

You enable multiple Google Workspace APIs like Gmail and Drive at once through an automated setup process that provisions the full set of seven Workspace APIs simultaneously. This allows you to pivot across products later without needing to re-run the setup.

Why does Google Workspace CLI setup require browser sign-in?

Google Workspace CLI setup requires browser sign-in to complete the human-in-the-loop OAuth authorization flow. This ensures secure user-controlled consent for the chosen scopes, granting the CLI explicit permission to interact with your Workspace data.