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

# 必要な値を取得し、公開 API 経由で GCP Cloud を接続するための設定を行う

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

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

<figure><img src="/files/16e0fed501c17ba16f6845d36990c5a3dbdec6ec" alt=""><figcaption></figcaption></figure>

Cloud Shell を起動する

<figure><img src="/files/8fb8c9410d9de8d8e3a1fbdd5fbcd89bf3f42481" 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="/files/4d928cb4f58ba3e892d0669b859cbf0f232d0077" alt="" width="375"><figcaption></figcaption></figure>

両方を追加 **セキュリティ レビュアー** および **閲覧者** ロール

<figure><img src="/files/9a322ca1a3735d331f040cb6c2eef3798ca143e7" alt="" width="375"><figcaption></figcaption></figure>

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

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

次へ移動します： **キー** タブを開き、 **新しいキーを作成**

<figure><img src="/files/ac4bcb96adc8a2796222536d223466091f4a6245" 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.
