> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kameleoon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Vercel のセットアップ

> Kameleoon を Vercel Edge Functions と連携してエッジでサーバーサイドの実験を実行し、Next.js アプリケーションに最小限のレイテンシでパーソナライズされたコンテンツを提供します。

## 概要

[Vercel Edge Functions](https://vercel.com/features/edge-functions) を Kameleoon と組み合わせて使用することで、Web サイト訪問者にパーソナライズされたコンテンツを効率的に配信できます。これらのエッジ関数は Vercel Edge Network を介してグローバルにデプロイされ、サーバーサイドのロジックがユーザーに近い場所に存在することで、迅速で効率的なコンテンツ配信が可能になります。Vercel 上の [NextJS](https://nextjs.org/) アプリケーションでは、Kameleoon 連携によりエッジで直接実験を行うことができます。Kameleoon Vercel 連携は、Kameleoon の設定を Vercel の Edge Config に直接プッシュすることで、Vercel プロジェクトの初期化を効率化します。

Vercel は Edge Config 値にサイズ制限を課しています。これらの制限を踏まえると、適度なサイズの環境を持つ Vercel Enterprise および Pro のお客様がこの連携から最大の恩恵を受けることができます。詳細については、Vercel のドキュメントの [Edge Config の制限と料金](https://vercel.com/docs/storage/edge-config/edge-config-limits) をご参照ください。

## 前提条件

開始前に、少なくとも 1 つのプロジェクトを持つ Vercel アカウントがあることを確認してください。

## インストール

Vercel 用の Kameleoon 連携をインストールするには：

1. [Vercel Marketplace](https://vercel.com/integrations/kameleoon) に移動します。
2. Kameleoon 連携を検索して **Add Integration** をクリックします。
3. 連携用の Vercel アカウントを選択します。
4. 連携用のプロジェクトを選択します。
5. 連携の権限要件を確認し、**Add Integration** をクリックします。

これで、Kameleoon プロジェクトを Edge Config にマッピングできます。Kameleoon は指定された Edge Config とプロジェクトの設定を同期します。

## 設定

既存の Kameleoon Vercel 連携を変更するには：

1. [Vercel Integrations Dashboard](https://vercel.com/dashboard/integrations) にアクセスします。
2. Kameleoon 連携を見つけて **Manage** をクリックします。
3. **Configure** をクリックして Kameleoon の設定パネルを開きます。
4. 別の Edge Config 送信先を選択するか、さらに接続を追加します。

<Frame>
  ![](https://storage.googleapis.com/kameleoon-storage-documentation/developers/images/feature-management-and-experimentation/setting-up-vercel/integration.png)
</Frame>

5. **Save** をクリックして変更を確定します。

## アンインストール

既存の Vercel 連携を削除するには：

1. [Vercel Integrations Dashboard](https://vercel.com/dashboard/integrations) にアクセスします。
2. Kameleoon 連携を特定し、**Manage** アクションを選択します。
3. **Configure** をクリックして Kameleoon の設定パネルにアクセスします。
4. **Remove connection** を選択します。
5. Vercel Integration Dashboard に戻ります。
6. **Remove Integration** を選択します。
