# How to make a Google Cloud project for Workspace CLI tools

Published: 2026-03-17T00:00:00.000Z
Canonical: https://wow.pjh.is/journal/google-cloud-console-setup-for-cli-tools

To use tools like [gog](https://gogcli.sh/) and [gdoc](https://github.com/LucaDeLeo/gdoc), you need to create a Google Cloud project. This takes \~10 minutes.

To do this—of course—just ask your agent to walk you through the steps. Or, if you're feeling lazy, to [do it with Chrome](https://code.claude.com/docs/en/chrome)!

The full steps are below.

N.B. A critical step, which my agent missed initially: **publish the app**. If you leave the app in "testing" mode, you'll be logged out every 7 days.

> ## Create a project
>
> 1. Go to [console.cloud.google.com](https://console.cloud.google.com/)
> 2. Click the project dropdown (top left) → **New Project**
> 3. Name it something like "Agent CLI Tools" → **Create**
> 4. Select the new project from the dropdown
>
> ## Enable APIs
>
> Go to **APIs & Services → Library** and enable each API you need. For gog and gdoc, you'll probably want:
>
> * Gmail API
> * Google Calendar API
> * Google Drive API
> * Google Docs API
> * Google Sheets API
>
> Search for each by name, click into it, click **Enable**.
>
> ## Configure the OAuth consent screen
>
> Go to **APIs & Services → OAuth consent screen**.
>
> 1. Select **External** user type → **Create**
> 2. Fill in the required fields:
>    * **App name:** anything (e.g. "CLI Tools")
>    * **User support email:** your email
>    * **Developer contact email:** your email
> 3. Click **Save and Continue** through the remaining steps (Scopes, Test Users, Summary)—defaults are fine for now
>
> ## Create OAuth credentials
>
> Go to **APIs & Services → Credentials**.
>
> 1. Click **Create Credentials → OAuth client ID**
> 2. Application type: **Desktop app**
> 3. Name: anything (e.g. "CLI")
> 4. Click **Create**
> 5. Download the JSON file—you'll need it in a moment.
>
> ## Publish the app
>
> Go to **APIs & Services → OAuth consent screen** and click **Publish App**.
>
> Your app will be limited to 100 users, unless you verify it (hard, and takes 4-6 weeks).
>
> ## Authorise your accounts
>
> Run your CLI clients and follow their instructions to auth. You'll need that JSON file you downloaded earlier. When done, delete it.
