# Google Cloud Services

## Connection Requirements

{% stepper %}
{% step %}

### Service Account Email

Email address of the Service Account that the integration will use.

{% hint style="info" %}
How to get it (Console UI):

* Open IAM & Admin > Service Accounts.
* If needed, select the correct Project in the top bar.
* Use an existing service account or click Create Service Account.
* After creation, copy the Email shown in the list (e.g., `my-sa@project-id.iam.gserviceaccount.com`).
  {% endhint %}
  {% endstep %}

{% step %}

### Service Account Key File

The JSON key for the service account (downloaded once).

{% hint style="info" %}
How to create & download (Console UI):

* Go to IAM & Admin > Service Accounts and click the service account name.
* Open the Keys tab.
* Click Add key > Create new key > choose JSON > Create.
* A `.json` file downloads. Store it securely; this is your key file.
  {% endhint %}

{% hint style="warning" %}
This JSON is the copy of the private key. Keep it safe. If lost, delete the old key and create a new one.
{% endhint %}
{% endstep %}

{% step %}

### Zone ID

The specific Compute Engine zone to target (e.g., `us-central1-a`).

{% hint style="info" %}
How to find a zone (Console UI):

* Open Compute Engine > VM instances.
* Check the Zone column for any VM (examples: `us-central1-a`, `europe-west1-b`).
* Or go to Compute Engine > Settings and see your Default region and zone.
  {% endhint %}
  {% endstep %}

{% step %}

### Project ID

The unique Project ID (not project name). Example: `my-prod-123456`.

{% hint style="info" %}
Project picker:

* In the top bar, click the Project picker and locate your project.
* Or open Home > Dashboard and copy the Project ID under Project info.
  {% endhint %}

{% hint style="warning" %}
Permissions required:

* `compute.instances.list`
* `vpcaccess.connectors.list`
* `cloudsql.instances.list`
* `cloudfunctions.functions.list`
* `networkconnectivity.spokes.list`
* `logging.buckets.list`
* `iam.serviceAccounts.list`
  {% endhint %}
  {% endstep %}
  {% endstepper %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.octoxlabs.com/adapters/adapters/google-cloud-services.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
