Prerequisites

Before you start the tutor, you need to set up your environment. Don't worry, it's straightforward.

1. Google Cloud Project

You need a Google Cloud Project to deploy your services to. This is where your resources live.

2. Cloud Run Admin API

APIs (Application Programming Interfaces) allow tools like this tutor to interact with Google Cloud resources.

You must enable the Cloud Run Admin API for your project.

gcloud services enable run.googleapis.com

(You can also do this in the Cloud Console under "APIs & Services").

3. gcloud CLI

The Google Cloud CLI (`gcloud`) is the primary tool for managing Google Cloud resources from your terminal.

Install gcloud CLI

After installing, run:

gcloud init

4. Node.js

The Cloud Run Tutor is built with Node.js. You need version 22.x or higher.

node --version

If you don't have it, we recommend using nvm (Node Version Manager) to install it:

nvm install 22
nvm use 22
Next: Set up MCP →