# Vertex AI 統合

## 概要

Vertex AIは、生成AIを構築および使用するための完全管理型の統合AI開発プラットフォームです。Vertex AI Studio、Agent Builder、および150以上の基盤モデルにアクセスして利用できます。Skydeck.AIをVertex AIと統合した後、GoogleのGeminiモデルをワークスペースで使用できるようになります。

## サービスアカウントの資格情報を生成する

Vertex AIを有効にし、必要な資格情報を生成するには、以下の手順に従ってください。

1. **Google Cloudアカウントを設定する:** [Google Cloud Console](https://console.cloud.google.com/)にアクセスし、Googleアカウントでサインインします。
2. **プロジェクトを選択する:** ページの上部でプロジェクトのドロップダウンをクリックし、既存のプロジェクトを選択します。プロジェクトがない場合は、「新しいプロジェクト」をクリックして作成する必要があります。
3. **Vertex AI APIを有効にする:** [APIとサービスのダッシュボード](https://console.cloud.google.com/apis/dashboard)に移動し（Google Cloud Consoleのメニューから選択できます）、\*\*「+ APIとサービスを有効にする」\*\*ボタンをクリックし、APIライブラリで「**Vertex AI API**」を検索して、プロジェクトのAPIを有効にします。Vertex AI APIは請求アカウントを持つプロジェクトが必要なので、[こちら](https://console.cloud.google.com/billing)で設定する必要があります。Vertex AIの使用に基づいて料金が発生するため、最新の情報については[彼らのドキュメント](https://cloud.google.com/vertex-ai)を参照してください。
4. **サービスアカウントを作成し、資格情報を取得する:** **IAMと管理**セクションに移動して新しいサービスアカウントを作成し、Vertex AIを使用するための適切な役割（通常はVertex AI管理者の役割）を割り当ててから、JSONキーを生成します。詳細についてはこの[リンク](https://developers.google.com/workspace/guides/create-credentials#service-account)を訪れてください。キーを安全に保存し、次のセクションでSkyDeck.AIプラットフォームに追加する方法を確認してください。以下はサンプルのJSONキーです：

```json
{
  "type": "service_account",
  "project_id": "your-project-id",
  "private_key_id": "your-private-key-id",
  "private_key": "your-private-key",
  "client_email": "the-email-of-the-service-account",
  "client_id": "the-client-id",
  "auth_uri": "https://accounts.google.com/o/oauth2/auth",
  "token_uri": "https://oauth2.googleapis.com/token",
  "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
  "client_x509_cert_url": "your-client_x509_cert_url",
  "universe_domain": "googleapis.com"
}
```

## SkyDeck AIへの資格情報の追加

APIキーはコントロールセンターの統合画面に追加されます。

1. ここでSkyDeck AI管理者アカウントにログインまたは作成します: <https://admin.skydeck.ai/>
2. サインインしたら、こちらの統合ページにアクセスします [https://admin.skydeck.ai/integrations/ ↗](https://admin.skydeck.ai/integrations/)、またはサイドバーの**統合**を選択します。
3. LLM統合ページで、**統合の追加**ボタンをクリックし、統合サービスとして**VertexAI**を選択し、資格情報フィールドにJSONキー全体を入力します。

<figure><img src="/files/dRo4skxN6YbdygtQiVpr" alt="vertex ai integration" width="563"><figcaption></figcaption></figure>

これで完了です！強力なSkyDeck AIツールを使用し、Geminiモデルに直接アクセスできます。

## 結論

Vertex AIをSkyDeck AIプラットフォームと統合することで、Googleの高度な言語モデルを活用し、正確で信頼性のある回答を提供する強力な機能と能力のセットが得られます。この統合の利点を最大限に引き出すために、最新のGeminiモデルと機能を常に把握しておくことをお勧めします。追加の支援やお問い合わせについては、[Vertex AI Documentation](https://cloud.google.com/vertex-ai/docs)をご参照いただくか、サポートチームにご連絡ください。


---

# 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.skydeck.ai/ja/integrations/llms-and-databases/vertex-ai-integration.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.
