Crie uma variável de ambiente PROJECT_ID em que o
valor é o ID do projeto do Google Cloud que você pretende usar para a Apigee híbrida.
O ID do projeto é uma string exclusiva usada para diferenciar seu projeto de todos os outros no Google Cloud.
Se necessário, consulte Localizar o ID do projeto:
export PROJECT_ID=YOUR_PROJECT_ID
Selecione a guia da instalação desejada para ver o comando para ativar as APIs:
(Opcional) Para verificar se as APIs necessárias estão ativadas, execute este comando.
Se as APIs necessárias estiverem na lista retornada, elas estarão ativadas.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-08-28 UTC."],[[["\u003cp\u003eApigee hybrid requires enabling specific Google Cloud service APIs, which can be done via the \u003ccode\u003egcloud\u003c/code\u003e CLI or the Cloud Console.\u003c/p\u003e\n"],["\u003cp\u003eYou must set a \u003ccode\u003ePROJECT_ID\u003c/code\u003e environment variable that matches your project ID in the Google Cloud, as it will be used throughout the instructions.\u003c/p\u003e\n"],["\u003cp\u003eThe specific APIs required depend on your cluster platform, with different lists for OpenShift, GKE on Google Cloud, and other platforms.\u003c/p\u003e\n"],["\u003cp\u003eYou can enable the necessary APIs by running a \u003ccode\u003egcloud services enable\u003c/code\u003e command with the list of relevant API names for your platform, along with your \u003ccode\u003e$PROJECT_ID\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eYou can verify that the APIs are enabled by running \u003ccode\u003egcloud services list\u003c/code\u003e and ensuring that the required APIs are within the returned list.\u003c/p\u003e\n"]]],[],null,["# Step 1: Enable APIs\n\n| You are currently viewing version 1.12 of the Apigee hybrid documentation. **This version is end of life.** You should upgrade to a newer version. For more information, see [Supported versions](/apigee/docs/hybrid/supported-platforms#supported-versions).\n\nApigee hybrid requires certain [Google\nCloud service APIs](/service-usage/docs/enable-disable). In this step, you will enable the APIs that are required for your installation platform.\n\n\nUse `gcloud` to enable the required APIs as explained in the following steps. If you prefer,\nyou can use the [Cloud Console](/endpoints/docs/openapi/enable-api) to enable the APIs.\n| **Note:**The Apigee hybrid installation steps are written for the Linux/UNIX/Mac command shell. If you are using Windows, substitute the equivalent Windows command line syntax.\n\n1. Complete the [Prerequisites](/apigee/docs/hybrid/v1.12/prerequisites), and be sure you have the [gcloud CLI](/sdk/docs/install) installed in your local shell: \n\n gcloud --help\n\n2. Create a `PROJECT_ID` environment variable where the value is the ID of the Google Cloud project you plan to use for Apigee hybrid. A project ID is a unique string used to differentiate your project from all others in Google Cloud. If needed, see [Locate the project ID](https://support.google.com/googleapi/answer/7014113): \n\n ```\n export PROJECT_ID=YOUR_PROJECT_ID\n ```\n | **Note:** Be sure the project ID is correct. This variable is used throughout the hybrid installation instructions. Do not include a period after the project ID.\n3. Select the tab for your intended installation to see the command to enable the APIs:\n\n ### OpenShift\n\n\n If you will be running your clusters on OpenShift, enable the APIs with the\n following command:\n\n #### *Click to see details on the APIs*\n\n ```\n gcloud services enable \\\n apigee.googleapis.com \\\n apigeeconnect.googleapis.com \\\n cloudapis.googleapis.com \\\n cloudresourcemanager.googleapis.com \\\n compute.googleapis.com \\\n dns.googleapis.com \\\n iam.googleapis.com \\\n iamcredentials.googleapis.com \\\n pubsub.googleapis.com \\\n servicemanagement.googleapis.com \\\n serviceusage.googleapis.com \\\n storage-api.googleapis.com \\\n storage-component.googleapis.com --project $PROJECT_ID\n ```\n\n ### Other Platforms\n\n If you will be running your clusters on one of the following platforms\n run the command below to enable the required APIs:\n - Software-only Google Distributed Cloud on VMware or bare metal\n - AKS\n - GKE on AWS\n - EKS\n\n #### *Click to see details on the APIs*\n\n ```\n gcloud services enable \\\n apigee.googleapis.com \\\n apigeeconnect.googleapis.com \\\n cloudresourcemanager.googleapis.com \\\n pubsub.googleapis.com --project $PROJECT_ID\n ```\n\n ### GKE on Google Cloud\n\n\n If you will be running your clusters on Google Kubernetes Engine (GKE), run this\n command to enable the required APIs:\n\n #### *Click to see details on the APIs*\n\n ```\n gcloud services enable \\\n apigee.googleapis.com \\\n apigeeconnect.googleapis.com \\\n cloudresourcemanager.googleapis.com \\\n compute.googleapis.com \\\n container.googleapis.com \\\n pubsub.googleapis.com --project $PROJECT_ID\n \n ```\n4. (Optional) To verify that the required APIs are enabled, execute this command. If the required APIs are in the returned list, then they are enabled. \n\n ```\n gcloud services list --project $PROJECT_ID\n ```\n\nNext step\n---------\n\n\nGo to Step 2: [Create an organization](/apigee/docs/hybrid/v1.12/precog-provision)."]]