Run the following command to authenticate with your Google Cloud
account:
gcloudauthlogin
Enable the GKE Multi-Cloud API and its service dependencies with the
following commands. These commands will enable the APIs for the project
configured in your Google Cloud CLI.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[],[],null,["# Configure the Google Cloud CLI\n\nBefore using GKE on AWS, you must install the Google Cloud CLI and enable\nrequired APIs.\n\nTo configure Google Cloud CLI, run the following commands:\n\n1. Check your Google Cloud CLI installation with the following command:\n\n gcloud version\n\n2. If the Google Cloud CLI is not installed, or if its version is earlier than\n 412.0.0,\n [Install the latest version of the Google Cloud CLI](https://cloud.google.com/sdk/docs/install).\n\n3. Install the `kubectl`\n [additional component](https://cloud.google.com/sdk/docs/components#additional_components).\n\n4. If you haven't already done so,\n [create your Google Cloud project](/resource-manager/docs/creating-managing-projects#creating_a_project).\n Save your project's name, you'll use it later.\n\n5. Run the following command to authenticate with your Google Cloud\n account:\n\n gcloud auth login\n\n6. Enable the GKE Multi-Cloud API and its service dependencies with the\n following commands. These commands will enable the APIs for the project\n configured in your Google Cloud CLI.\n\n gcloud services enable gkemulticloud.googleapis.com\n gcloud services enable gkeconnect.googleapis.com\n gcloud services enable gkehub.googleapis.com\n gcloud services enable connectgateway.googleapis.com\n gcloud services enable cloudresourcemanager.googleapis.com\n gcloud services enable anthos.googleapis.com\n gcloud services enable logging.googleapis.com\n gcloud services enable monitoring.googleapis.com\n gcloud services enable opsconfigmonitoring.googleapis.com\n gcloud services enable kubernetesmetadata.googleapis.com\n\nWhat's next\n-----------\n\n- [Configure the AWS CLI](/kubernetes-engine/multi-cloud/docs/aws/how-to/configure-aws-cli)"]]