> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/docs/docs-ja/kuraudosukyan/connect-your-cloud/gcp/get-required-values-+-set-up-configuration-to-connect-gcp-cloud-via-public-api.md).

# 必要な値の取得 + Public API 経由で GCP Cloud を接続するための設定

あなたのアカウントにログイン [Google Cloud](https://console.cloud.google.com/) そしてあなたの **プロジェクト名** ヘッダーでリソース選択モーダルを開きます。

追加したいプロジェクトを選択し、あなたの **プロジェクト ID**

<figure><img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-fd89b3080ea889bb1f561a872ef8cdd207ebe0f0%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

Cloud Shell を有効化する

<figure><img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-38291d0e2202164eeb616a697dc601666dbe5d56%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

次のコマンドを貼り付けて実行してください。成功メッセージが表示されるはずです。

```
gcloud services enable compute.googleapis.com storage-component.googleapis.com iam.googleapis.com container.googleapis.com logging.googleapis.com monitoring.googleapis.com cloudresourcemanager.googleapis.com cloudkms.googleapis.com bigquery-json.googleapis.com dns.googleapis.com sqladmin.googleapis.com
```

次を作成します [サービス アカウント](https://console.cloud.google.com/iam-admin/serviceaccounts/create)。アカウント名は自由に付けられますが、 **aikido** を含めることを推奨します。

<figure><img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-259194bb51a7e3beb9a034853871a892c835e023%2Fimage.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

両方を追加 **Security Reviewer** と **閲覧者** ロール

<figure><img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-175985b1a99f76bc4bf3db55f2084a407258265f%2Fimage.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

クリック **完了**、サービス アカウント作成の手順 3 はスキップできます

新しく作成したサービス アカウントの詳細ページに移動します

次の **キー** タブを開き、 **新しいキーを作成します**

<figure><img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-005fbe51e08b65b8d7c5adb401e8225a4a3eaaac%2Fimage.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

次を選択します: **JSON** オプション。JSON ファイルがダウンロードされるはずです。このファイルを保存してください。

これで、このクラウドを公開 API を使って Aikido に接続できます。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.aikido.dev/docs/docs-ja/kuraudosukyan/connect-your-cloud/gcp/get-required-values-+-set-up-configuration-to-connect-gcp-cloud-via-public-api.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
