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

> ## Agent Instructions
> Enclave in these docs is the code and cloud security platform at enclave.ai. It is not Open Enclave, Intel SGX or other hardware enclaves, or enclave.gg.
> People use Enclave in the web app at https://app.enclave.ai or the desktop app. These docs describe no public Enclave API or CLI, so don't invent endpoints, commands, or config files.
> Connecting an integration needs a person to sign in and approve access in a browser. Tell the user the exact step to take instead of saying you completed it.

# Vercel

> 连接 Vercel 团队，让 Enclave 可以将你的项目、域名和部署与代码关联起来。

连接 Vercel，让 Enclave 知道你的哪些仓库部署在 Vercel 上、使用哪些域名，以及采用哪些保护设置。访问是只读的。

## 开始之前

* 你需要拥有 Enclave 中的 **Owner** 或 **Admin** 角色。
* Enclave 连接的是 Vercel **团队**，而不是个人账号。

> [!WARNING]
>
> Vercel 会将集成与安装它的人绑定。如果此人离开团队，Vercel 会停用该集成，并且该团队在 Enclave 中会显示 **Reconnect needed**。请由会长期留在团队中的人来安装。

## 连接团队

**1. 开始安装**

打开 **Settings → Integrations**，点击 **Vercel** 旁边的 **Connect**，然后点击 **Connect Vercel team**。

**2. 安装到你的团队**

在 Vercel 中选择团队，然后选择 **All projects** 或特定项目。Enclave 仅支持团队安装，不支持个人账号。

**3. 检查连接**

回到 Enclave，该团队会出现在 **Teams** 下。对你希望 Enclave 看到的每个团队重复此操作。

Enclave 会立即扫描该团队，之后每天扫描一次。

## Enclave 读取什么

对于安装可以访问的每个项目：

* 关联的 Git 仓库
* 生产环境 URL 和域名
* 最新的生产部署
* 部署保护设置

Enclave 不读取环境变量。

## 管理连接

打开 **Settings → Integrations → Vercel**。

* **Refresh status** 会检查安装状态。如果安装已在 Vercel 中被移除或暂停，团队会显示 **Reconnect needed**。重新连接该团队即可修复。
* **Remove** 会将该团队从 Enclave 中移除，并在 Vercel 中从该团队卸载 Enclave。如果 Enclave 无法卸载，应用会提示你自行在 Vercel 中移除该集成。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.