Setting up Cloud Build

This page describes the steps to set up Cloud Build. For information about charges to Cloud Build, see Pricing.

  1. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  2. Verify that billing is enabled for your Google Cloud project.

  3. Enable the required API.

    Enable the API

  4. Install the Google Cloud CLI. After installation, initialize the Google Cloud CLI by running the following command:

    gcloud init

    If you're using an external identity provider (IdP), you must first sign in to the gcloud CLI with your federated identity.

  5. If you've already installed gcloud CLI previously, make sure you have the latest available version:

     gcloud components update