> [!CAUTION]
> You are currently viewing version 1.8 of the Apigee hybrid documentation. **This version is end of life.** You should upgrade to a newer version. For more information, see [Supported versions](https://docs.cloud.google.com/apigee/docs/hybrid/supported-platforms.md.txt#supported-versions).

<button class="button button-with-icon cloud-select-dropdown__button button-primary" aria-haspopup="true">Version 1.8 (unsupported)</button>

- Supported versions:
- [v1.17 (latest)](https://docs.cloud.google.com/apigee/docs/hybrid/v1.17/precog-enableapi.md.txt)
- [v1.16](https://docs.cloud.google.com/apigee/docs/hybrid/v1.16/precog-enableapi.md.txt)
- [v1.15](https://docs.cloud.google.com/apigee/docs/hybrid/v1.15/precog-enableapi.md.txt)
- [v1.14](https://docs.cloud.google.com/apigee/docs/hybrid/v1.14/precog-enableapi.md.txt)
- [List of supported versions](https://docs.cloud.google.com/apigee/docs/hybrid/supported-platforms.md.txt#supported-versions)
- Unsupported versions:
- [v1.13](https://docs.cloud.google.com/apigee/docs/hybrid/v1.13/precog-enableapi.md.txt)
- [v1.12](https://docs.cloud.google.com/apigee/docs/hybrid/v1.12/precog-enableapi.md.txt)
- [v1.11](https://docs.cloud.google.com/apigee/docs/hybrid/v1.11/precog-enableapi.md.txt)
- [v1.10](https://docs.cloud.google.com/apigee/docs/hybrid/v1.10/precog-enableapi.md.txt)
- [v1.9](https://docs.cloud.google.com/apigee/docs/hybrid/v1.9/precog-enableapi.md.txt)
- [v1.8](https://docs.cloud.google.com/apigee/docs/hybrid/v1.8/precog-enableapi.md.txt)
- [v1.7](https://docs.cloud.google.com/apigee/docs/hybrid/v1.7/precog-enableapi.md.txt)
- [v1.6](https://docs.cloud.google.com/apigee/docs/hybrid/v1.6/precog-enableapi.md.txt)
- [v1.5](https://docs.cloud.google.com/apigee/docs/hybrid/v1.5/precog-enableapi.md.txt)
- [v1.4](https://docs.cloud.google.com/apigee/docs/hybrid/v1.4/precog-enableapi.md.txt)
- [v1.3](https://docs.cloud.google.com/apigee/docs/hybrid/v1.3/precog-enableapi.md.txt)
- [v1.2](https://docs.cloud.google.com/apigee/docs/hybrid/v1.2/precog-enableapi.md.txt)
- [v1.1](https://docs.cloud.google.com/apigee/docs/hybrid/v1.1/precog-enableapi.md.txt)

To use Apigee hybrid, you must (unless otherwise noted) enable the following
[service APIs](https://docs.cloud.google.com/service-usage/docs/enable-disable.md.txt):

| Task | Description |
|---|---|
| Apigee API | Provides communication between your project and other hybrid services and Google Cloud APIs. |
| Apigee Connect API | Provides communication between the Apigee management plane and the runtime plane. |
| Cloud Pub/Sub API | Required for the Apigee quota feature to operate. |
| Cloud Resource Manager API | Used by hybrid to validate service accounts. |
| Kubernetes Engine API | Enable if you plan to use Google Kubernetes Engine (GKE), or GKE on-prem (Anthos) for your hybrid runtime installation. |
| Compute Engine API | Used for cluster management (GKE-based and OpenShift on Google Cloud-based clusters only). |
| Google Cloud APIs | This is a meta service for Google Cloud APIs for convenience (OpenShift on Google Cloud-based clusters only). |
| Cloud DNS API | Google Cloud DNS is a scalable, reliable, and managed authoritative Domain Name System (DNS) service running on the same infrastructure as Google. (OpenShift on Google Cloud-based clusters only). |
| Identity and Access Management (IAM) API | Manages identity and access control for Google Cloud Platform resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls. (OpenShift on Google Cloud-based clusters only). |
| IAM Service Account Credentials API | Service Account Credentials API allows developers to create short-lived, limited-privilege credentials for their service accounts on Google Cloud. (OpenShift on Google Cloud-based clusters only). |
| Service Management API | Google Service Management allows service producers to publish their services on Google Cloud Platform so that they can be discovered and used by service consumers. (OpenShift on Google Cloud-based clusters only). |
| Service Usage API | Enables services that service consumers want to use on Google Cloud Platform, lists the available or enabled services, or disables services that service consumers no longer use. (OpenShift on Google Cloud-based clusters only). |
| Google Cloud Storage JSON API | Lets you store and retrieve potentially-large, immutable data objects (OpenShift on Google Cloud-based clusters only). |
| Cloud Storage | Google Cloud Storage is a RESTful service for storing and accessing your data on Google's infrastructure. (OpenShift on Google Cloud-based clusters only). |


Use `gcloud` to enable the required APIs as explained in the following steps. If you prefer,
you can use the [Cloud Console](https://docs.cloud.google.com/endpoints/docs/openapi/enable-api.md.txt) to enable the APIs.

> [!NOTE]
> **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.

1. Complete the [Prerequisites](https://docs.cloud.google.com/apigee/docs/hybrid/v1.8/prerequisites.md.txt), and be sure you have the [gcloud CLI](https://docs.cloud.google.com/sdk/docs/install) installed in your local shell:

       gcloud -h

2. 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):

   ```
   export PROJECT_ID=YOUR_PROJECT_ID
   ```

   > [!NOTE]
   > **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.

3. Select the tab for your intended installation to see the command to enable the APIs:

   ### GKE


   If you will be running your clusters in Google Cloud (GKE), enable the APIs with the
   following command:

   ```
   gcloud services enable \
       apigee.googleapis.com \
       apigeeconnect.googleapis.com \
       cloudresourcemanager.googleapis.com \
       compute.googleapis.com \
       container.googleapis.com \
       pubsub.googleapis.com --project $PROJECT_ID
   ```

   ### OpenShift on Google Cloud


   If you will be running your clusters on OpenShift *on Google Cloud*, enable these
   APIs with the following command:

   ```
   gcloud services enable \
       apigee.googleapis.com \
       apigeeconnect.googleapis.com \
       cloudapis.googleapis.com \
       cloudresourcemanager.googleapis.com \
       compute.googleapis.com \
       dns.googleapis.com \
       iam.googleapis.com \
       iamcredentials.googleapis.com \
       pubsub.googleapis.com  --project $PROJECT_ID
       servicemanagement.googleapis.com \
       serviceusage.googleapis.com \
       storage-api.googleapis.com \
       storage-component.googleapis.com  --project $PROJECT_ID
   ```

   ### Other Platforms


   Enable the APIs with the following command if you will be running your clusters in
   another Kubernetes platform, such as
   - GKE on-prem
   - Anthos on bare metal
   - AKS
   - GKE on AWS
   - EKS

   ```
   gcloud services enable \
       apigee.googleapis.com \
       apigeeconnect.googleapis.com \
       cloudresourcemanager.googleapis.com \
       pubsub.googleapis.com  --project $PROJECT_ID
   ```
4. Verify that all APIs are enabled, using the following command:

   ```
   gcloud services list --project $PROJECT_ID
   ```


   The output should include all the APIs you just enabled, as in this example:

   ```
   NAME                                 TITLE
   apigee.googleapis.com                Apigee API
   apigeeconnect.googleapis.com         Apigee Connect API
   bigquery.googleapis.com              BigQuery API
   bigquery.googleapis.com              BigQuery API
   bigquerystorage.googleapis.com       BigQuery Storage API
   cloudapis.googleapis.com             Google Cloud APIs
   clouddebugger.googleapis.com         Cloud Debugger API
   cloudresourcemanager.googleapis.com  Cloud Resource Manager API
   cloudtrace.googleapis.com            Cloud Trace API
   compute.googleapis.com               Compute Engine API
   container.googleapis.com             Kubernetes Engine API
   containeranalysis.googleapis.com     Container Analysis API
   containerregistry.googleapis.com     Container Registry API
   datastore.googleapis.com             Cloud Datastore API
   iam.googleapis.com                   Identity and Access Management (IAM) API
   iamcredentials.googleapis.com        IAM Service Account Credentials API
   logging.googleapis.com               Cloud Logging API
   monitoring.googleapis.com            Cloud Monitoring API
   oslogin.googleapis.com               Cloud OS Login API
   pubsub.googleapis.com                Cloud Pub/Sub API
   servicemanagement.googleapis.com     Service Management API
   serviceusage.googleapis.com          Service Usage API
   sql-component.googleapis.com         Cloud SQL
   storage-api.googleapis.com           Google Cloud Storage JSON API
   storage-component.googleapis.com     Cloud Storage
   ```

## Next step


Go to Step 2: [Create an organization](https://docs.cloud.google.com/apigee/docs/hybrid/v1.8/precog-provision.md.txt).