marketplace

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Vercel Marketplace

Vercel Marketplace

You are an expert in the Vercel Marketplace — the integration platform that connects third-party services to Vercel projects with unified billing, auto-provisioned environment variables, and one-click setup.
你是 Vercel Marketplace 领域的专家——这是一个将第三方服务连接到 Vercel 项目的集成平台,支持统一账单、自动预配置环境变量和一键设置。

Consuming Integrations

使用集成

Linked Project Preflight

关联项目预检

Integration provisioning is project-scoped. Verify the repository is linked before running
integration add
.
bash
undefined
集成预配置是项目维度的,在运行
integration add
前请先确认代码仓库已和 Vercel 项目关联。
bash
undefined

Check whether this directory is linked to a Vercel project

检查当前目录是否已关联到 Vercel 项目

test -f .vercel/project.json && echo "Linked" || echo "Not linked"
test -f .vercel/project.json && echo "Linked" || echo "Not linked"

Link if needed

按需关联项目

vercel link

If the project is not linked, do not continue with provisioning commands until linking completes.
vercel link

如果项目未关联,请不要继续执行预配置命令,先完成关联操作。

Discovering Integrations

查找集成

bash
undefined
bash
undefined

Search the Marketplace catalog from CLI

从 CLI 搜索应用市场目录

vercel integration discover
vercel integration discover

Filter by category

按类别过滤

vercel integration discover --category databases vercel integration discover --category monitoring
vercel integration discover --category databases vercel integration discover --category monitoring

List integrations already installed on this project

列出当前项目已安装的集成

vercel integration list

For browsing the full catalog interactively, use the [Vercel Marketplace](https://vercel.com/marketplace) dashboard.
vercel integration list

如果需要交互式浏览完整目录,请访问 [Vercel Marketplace](https://vercel.com/marketplace) 控制台。

Getting Setup Guidance

获取设置指南

bash
undefined
bash
undefined

Get agent-friendly setup guide for a specific integration

获取指定集成的适用于 Agent 的设置指南

vercel integration guide <name>
vercel integration guide <name>

Include framework-specific steps when available

存在可用步骤时包含框架专属的配置步骤

vercel integration guide <name> --framework <fw>
vercel integration guide <name> --framework <fw>

Examples

示例

vercel integration guide neon vercel integration guide datadog --framework nextjs

Use `--framework <fw>` as the default discovery flow when framework-specific setup matters. The guide returns structured setup steps including required environment variables, SDK packages, and code snippets — ideal for agentic workflows.
vercel integration guide neon vercel integration guide datadog --framework nextjs

当框架专属设置很重要时,请默认使用 `--framework <fw>` 作为查找流程。指南会返回结构化的设置步骤,包含所需的环境变量、SDK 包和代码片段——非常适合 Agent 工作流使用。

Installing an Integration

安装集成

bash
undefined
bash
undefined

Install from CLI

从 CLI 安装

vercel integration add <integration-name>
vercel integration add <integration-name>

Examples

示例

vercel integration add neon # Postgres database vercel integration add upstash # Redis / Kafka vercel integration add clerk # Authentication vercel integration add sentry # Error monitoring vercel integration add sanity # CMS vercel integration add datadog # Observability (auto-configures drain)

`vercel integration add` is the primary scripted/AI path. It installs to the currently linked project, auto-connects the integration, and auto-runs environment sync locally unless disabled.

If the CLI hands off to the dashboard for provider-specific completion, treat that as fallback:

```bash
vercel integration open <integration-name>
Complete the web step, then return to CLI verification (
vercel env ls
and local env sync check).
vercel integration add neon # Postgres 数据库 vercel integration add upstash # Redis / Kafka vercel integration add clerk # 身份认证 vercel integration add sentry # 错误监控 vercel integration add sanity # CMS vercel integration add datadog # 可观测性(自动配置数据出口)

`vercel integration add` 是脚本化/AI 操作的主要路径。它会安装到当前关联的项目,自动连接集成,并且默认在本地自动同步环境变量(除非手动禁用)。

如果 CLI 跳转到控制台需要完成服务商专属的配置步骤,请使用以下命令作为备选方案:

```bash
vercel integration open <integration-name>
完成网页端操作后,回到 CLI 执行验证(
vercel env ls
和本地环境变量同步检查)。

Auto-Provisioned Environment Variables

自动预配置环境变量

When you install a Marketplace integration from a linked project, Vercel automatically provisions the required environment variables for that project.
IMPORTANT: Provisioning delay after install. After installing a database integration (especially Neon), the resource may take 1–3 minutes to fully provision. During this window, connection attempts return HTTP 500 errors. Do NOT debug the connection string or code — just wait and retry. If local env sync was disabled or skipped, run
vercel env pull .env.local --yes
after a brief wait to get the finalized credentials.
bash
undefined
当你在已关联的项目中安装应用市场集成时,Vercel 会自动为该项目预配置所需的环境变量。
重要提示:安装后的预配置延迟。安装数据库集成(尤其是 Neon)后,资源可能需要 1-3 分钟 才能完成全量预配置。在此期间,连接尝试会返回 HTTP 500 错误。请不要调试连接字符串或代码——只需等待并重试即可。如果本地环境变量同步被禁用或跳过,请在短暂等待后执行
vercel env pull .env.local --yes
获取最终的凭证信息。
bash
undefined

View environment variables added by integrations

查看集成添加的环境变量

vercel env ls
vercel env ls

Example: after installing Neon, these are auto-provisioned:

示例:安装 Neon 后会自动预配置以下变量:

POSTGRES_URL — connection string

POSTGRES_URL — 连接字符串

POSTGRES_URL_NON_POOLING — direct connection

POSTGRES_URL_NON_POOLING — 直连地址

POSTGRES_USER — database user

POSTGRES_USER — 数据库用户

POSTGRES_PASSWORD — database password

POSTGRES_PASSWORD — 数据库密码

POSTGRES_DATABASE — database name

POSTGRES_DATABASE — 数据库名称

POSTGRES_HOST — database host

POSTGRES_HOST — 数据库地址


No manual `.env` file management is needed — the variables are injected into all environments (Development, Preview, Production) automatically.

无需手动管理 `.env` 文件——这些变量会自动注入到所有环境(开发、预览、生产)中。

Using Provisioned Resources

使用预配置资源

ts
// app/api/users/route.ts — using Neon auto-provisioned env vars
import { neon } from "@neondatabase/serverless";

// POSTGRES_URL is auto-injected by the Neon integration
const sql = neon(process.env.POSTGRES_URL!);

export async function GET() {
  const users = await sql`SELECT * FROM users LIMIT 10`;
  return Response.json(users);
}
ts
// app/api/cache/route.ts — using Upstash auto-provisioned env vars
import { Redis } from "@upstash/redis";

// KV_REST_API_URL and KV_REST_API_TOKEN are auto-injected
const redis = Redis.fromEnv();

export async function GET() {
  const cached = await redis.get("featured-products");
  return Response.json(cached);
}
ts
// app/api/users/route.ts — 使用 Neon 自动预配置的环境变量
import { neon } from "@neondatabase/serverless";

// POSTGRES_URL 由 Neon 集成自动注入
const sql = neon(process.env.POSTGRES_URL!);

export async function GET() {
  const users = await sql`SELECT * FROM users LIMIT 10`;
  return Response.json(users);
}
ts
// app/api/cache/route.ts — 使用 Upstash 自动预配置的环境变量
import { Redis } from "@upstash/redis";

// KV_REST_API_URL 和 KV_REST_API_TOKEN 会自动注入
const redis = Redis.fromEnv();

export async function GET() {
  const cached = await redis.get("featured-products");
  return Response.json(cached);
}

Managing Integrations

管理集成

bash
undefined
bash
undefined

List installed integrations

列出已安装的集成

vercel integration ls
vercel integration ls

Check usage and billing for an integration

查看指定集成的使用量和账单情况

vercel integration balance <name>
vercel integration balance <name>

Remove an integration

移除集成

vercel integration remove <integration-name>
undefined
vercel integration remove <integration-name>
undefined

Unified Billing

统一账单

Marketplace integrations use Vercel's unified billing system:
  • Single invoice: All integration charges appear on your Vercel bill
  • Usage-based: Pay for what you use, scaled per integration's pricing model
  • Team-level billing: Charges roll up to the Vercel team account
  • No separate accounts: No need to manage billing with each provider individually
bash
undefined
应用市场集成使用 Vercel 的统一账单系统:
  • 单一账单:所有集成的费用都会展示在你的 Vercel 账单中
  • 按使用付费:根据实际使用量付费,按各集成的定价模式计算
  • 团队级账单:费用统一计入 Vercel 团队账户
  • 无需单独开户:不需要单独管理每个服务商的账单信息
bash
undefined

Check current usage balance for an integration

查看指定集成的当前使用余额

vercel integration balance datadog vercel integration balance neon
undefined
vercel integration balance datadog vercel integration balance neon
undefined

Building Integrations

构建集成

Integration Architecture

集成架构

Vercel integrations consist of:
  1. Integration manifest — declares capabilities, required scopes, and UI surfaces
  2. Webhook handlers — respond to Vercel lifecycle events
  3. UI components — optional dashboard panels rendered within Vercel
  4. Resource provisioning — create and manage resources for users
Vercel 集成包含以下部分:
  1. 集成清单——声明能力、所需权限和 UI 展示面
  2. Webhook 处理程序——响应 Vercel 生命周期事件
  3. UI 组件——可选的控制台面板,在 Vercel 内部渲染
  4. 资源预配置——为用户创建和管理资源

Scaffold an Integration

初始化集成项目

bash
undefined
bash
undefined

Create a new integration project

创建一个新的集成项目

npx create-vercel-integration my-integration
npx create-vercel-integration my-integration

Or start from the template

或者从模板开始

npx create-next-app my-integration --example vercel-integration
undefined
npx create-next-app my-integration --example vercel-integration
undefined

Integration Manifest

集成清单

json
// vercel-integration.json
{
  "name": "my-integration",
  "slug": "my-integration",
  "description": "Provides X for Vercel projects",
  "logo": "public/logo.svg",
  "website": "https://my-service.com",
  "categories": ["databases"],
  "scopes": {
    "project": ["env-vars:read-write"],
    "team": ["integrations:read-write"]
  },
  "installationType": "marketplace",
  "resourceTypes": [
    {
      "name": "database",
      "displayName": "Database",
      "description": "A managed database instance"
    }
  ]
}
json
// vercel-integration.json
{
  "name": "my-integration",
  "slug": "my-integration",
  "description": "Provides X for Vercel projects",
  "logo": "public/logo.svg",
  "website": "https://my-service.com",
  "categories": ["databases"],
  "scopes": {
    "project": ["env-vars:read-write"],
    "team": ["integrations:read-write"]
  },
  "installationType": "marketplace",
  "resourceTypes": [
    {
      "name": "database",
      "displayName": "Database",
      "description": "A managed database instance"
    }
  ]
}

Handling Lifecycle Webhooks

处理生命周期 Webhook

ts
// app/api/webhook/route.ts
import { verifyVercelSignature } from "@vercel/integration-utils";

export async function POST(req: Request) {
  const body = await req.json();

  // Verify the webhook is from Vercel
  const isValid = await verifyVercelSignature(req, body);
  if (!isValid) {
    return Response.json({ error: "Invalid signature" }, { status: 401 });
  }

  switch (body.type) {
    case "integration.installed":
      // Provision resources for the new installation
      await provisionDatabase(body.payload);
      break;

    case "integration.uninstalled":
      // Clean up resources
      await deprovisionDatabase(body.payload);
      break;

    case "integration.configuration-updated":
      // Handle config changes
      await updateConfiguration(body.payload);
      break;
  }

  return Response.json({ received: true });
}
ts
// app/api/webhook/route.ts
import { verifyVercelSignature } from "@vercel/integration-utils";

export async function POST(req: Request) {
  const body = await req.json();

  // 验证 Webhook 来自 Vercel
  const isValid = await verifyVercelSignature(req, body);
  if (!isValid) {
    return Response.json({ error: "Invalid signature" }, { status: 401 });
  }

  switch (body.type) {
    case "integration.installed":
      // 为新安装的实例预配置资源
      await provisionDatabase(body.payload);
      break;

    case "integration.uninstalled":
      // 清理资源
      await deprovisionDatabase(body.payload);
      break;

    case "integration.configuration-updated":
      // 处理配置变更
      await updateConfiguration(body.payload);
      break;
  }

  return Response.json({ received: true });
}

Provisioning Environment Variables

预配置环境变量

ts
// lib/provision.ts
async function provisionEnvVars(
  installationId: string,
  projectId: string,
  credentials: { url: string; token: string },
) {
  const response = await fetch(
    `https://api.vercel.com/v1/integrations/installations/${installationId}/env`,
    {
      method: "POST",
      headers: {
        Authorization: `Bearer ${process.env.VERCEL_INTEGRATION_TOKEN}`,
        "Content-Type": "application/json",
      },
      body: JSON.stringify({
        projectId,
        envVars: [
          {
            key: "MY_SERVICE_URL",
            value: credentials.url,
            target: ["production", "preview", "development"],
            type: "encrypted",
          },
          {
            key: "MY_SERVICE_TOKEN",
            value: credentials.token,
            target: ["production", "preview", "development"],
            type: "secret",
          },
        ],
      }),
    },
  );

  return response.json();
}
ts
// lib/provision.ts
async function provisionEnvVars(
  installationId: string,
  projectId: string,
  credentials: { url: string; token: string },
) {
  const response = await fetch(
    `https://api.vercel.com/v1/integrations/installations/${installationId}/env`,
    {
      method: "POST",
      headers: {
        Authorization: `Bearer ${process.env.VERCEL_INTEGRATION_TOKEN}`,
        "Content-Type": "application/json",
      },
      body: JSON.stringify({
        projectId,
        envVars: [
          {
            key: "MY_SERVICE_URL",
            value: credentials.url,
            target: ["production", "preview", "development"],
            type: "encrypted",
          },
          {
            key: "MY_SERVICE_TOKEN",
            value: credentials.token,
            target: ["production", "preview", "development"],
            type: "secret",
          },
        ],
      }),
    },
  );

  return response.json();
}

Integration CLI Commands

集成 CLI 命令

The
vercel integration
CLI supports these subcommands:
bash
undefined
vercel integration
CLI 支持以下子命令:
bash
undefined

Discover integrations in the Marketplace catalog

在应用市场目录中查找集成

vercel integration discover vercel integration discover --category <category>
vercel integration discover vercel integration discover --category <category>

Get agent-friendly setup guide

获取适用于 Agent 的设置指南

vercel integration guide <name> vercel integration guide <name> --framework <framework>
vercel integration guide <name> vercel integration guide <name> --framework <framework>

Add (install) an integration

添加(安装)集成

vercel integration add <name>
vercel integration add <name>

List installed integrations

列出已安装的集成

vercel integration list # alias: vercel integration ls
vercel integration list # 别名: vercel integration ls

Check usage / billing balance

查看使用量/账单余额

vercel integration balance <name>
vercel integration balance <name>

Open integration dashboard in browser (fallback when add redirects)

在浏览器中打开集成控制台(add 命令跳转时的备选方案)

vercel integration open <name>
vercel integration open <name>

Remove an integration

移除集成

vercel integration remove <name>

> **Building integrations?** Use `npx create-vercel-integration` to scaffold, then deploy your
> integration app to Vercel normally with `vercel --prod`. Publish to the Marketplace via the
> [Vercel Partner Dashboard](https://vercel.com/docs/integrations).
vercel integration remove <name>

> **要构建集成?** 使用 `npx create-vercel-integration` 初始化项目,然后使用 `vercel --prod` 正常将集成应用部署到 Vercel。通过 [Vercel 合作伙伴控制台](https://vercel.com/docs/integrations) 发布到应用市场。

Common Integration Categories

常见集成分类

CategoryPopular IntegrationsAuto-Provisioned Env Vars
DatabasesNeon, Supabase, PlanetScale, MongoDB, Turso
POSTGRES_URL
,
DATABASE_URL
Cache/KVUpstash Redis
KV_REST_API_URL
,
KV_REST_API_TOKEN
AuthClerk, Auth0, Descope
CLERK_SECRET_KEY
,
AUTH0_SECRET
CMSSanity, Contentful, Storyblok, DatoCMS
SANITY_PROJECT_ID
,
CONTENTFUL_TOKEN
MonitoringDatadog, Sentry, Checkly, New Relic
SENTRY_DSN
,
DD_API_KEY
PaymentsStripe
STRIPE_SECRET_KEY
Feature FlagsLaunchDarkly, Statsig, Hypertune
LAUNCHDARKLY_SDK_KEY
AI Agents & ServicesCodeRabbit, Braintrust, Sourcery, Chatbasevaries by integration
VideoMux
MUX_TOKEN_ID
,
MUX_TOKEN_SECRET
MessagingResend, Knock, Novu
RESEND_API_KEY
SearchingAlgolia, Meilisearch
ALGOLIA_APP_ID
,
ALGOLIA_API_KEY
CommerceShopify, Swell, BigCommerce
SHOPIFY_ACCESS_TOKEN
分类热门集成自动预配置的环境变量
数据库Neon, Supabase, PlanetScale, MongoDB, Turso
POSTGRES_URL
,
DATABASE_URL
缓存/KVUpstash Redis
KV_REST_API_URL
,
KV_REST_API_TOKEN
身份认证Clerk, Auth0, Descope
CLERK_SECRET_KEY
,
AUTH0_SECRET
CMSSanity, Contentful, Storyblok, DatoCMS
SANITY_PROJECT_ID
,
CONTENTFUL_TOKEN
监控Datadog, Sentry, Checkly, New Relic
SENTRY_DSN
,
DD_API_KEY
支付Stripe
STRIPE_SECRET_KEY
功能开关LaunchDarkly, Statsig, Hypertune
LAUNCHDARKLY_SDK_KEY
AI Agent 与服务CodeRabbit, Braintrust, Sourcery, Chatbase因集成而异
视频Mux
MUX_TOKEN_ID
,
MUX_TOKEN_SECRET
消息推送Resend, Knock, Novu
RESEND_API_KEY
搜索Algolia, Meilisearch
ALGOLIA_APP_ID
,
ALGOLIA_API_KEY
电商Shopify, Swell, BigCommerce
SHOPIFY_ACCESS_TOKEN

Observability Integration Path

可观测性集成路径

Marketplace observability integrations (Datadog, Sentry, Axiom, Honeycomb, etc.) connect to Vercel's Drains system to receive telemetry. Understanding the data-type split is critical for correct setup.
应用市场可观测性集成(Datadog、Sentry、Axiom、Honeycomb 等)会连接到 Vercel 的 Drains 系统接收遥测数据。理解数据类型拆分对正确配置非常重要。

Data-Type Split

数据类型拆分

Data TypeDelivery MechanismIntegration Setup
LogsNative drain (auto-configured by Marketplace install)
vercel integration add <vendor>
auto-creates drain
TracesNative drain (OpenTelemetry-compatible)Same — auto-configured on install
Speed InsightsCustom drain endpoint onlyRequires manual drain creation via REST API or Dashboard (
https://vercel.com/dashboard/{team}/~/settings/log-drains
)
Web AnalyticsCustom drain endpoint onlyRequires manual drain creation via REST API or Dashboard (
https://vercel.com/dashboard/{team}/~/settings/log-drains
)
Key distinction: When you install an observability vendor via the Marketplace, it auto-configures drains for logs and traces only. Speed Insights and Web Analytics data require a separate, manually configured drain pointing to a custom endpoint. See
⤳ skill: observability
for drain setup details.
数据类型交付机制集成配置
日志原生 Drain(应用市场安装时自动配置)
vercel integration add <vendor>
会自动创建 Drain
链路追踪原生 Drain(兼容 OpenTelemetry)同上——安装时自动配置
速度洞察仅支持自定义 Drain 端点需要通过 REST API 或控制台手动创建 Drain(
https://vercel.com/dashboard/{team}/~/settings/log-drains
网页分析仅支持自定义 Drain 端点需要通过 REST API 或控制台手动创建 Drain(
https://vercel.com/dashboard/{team}/~/settings/log-drains
核心区别: 通过应用市场安装可观测性厂商集成时,只会自动配置日志和链路追踪的 Drain。速度洞察和网页分析数据需要单独手动配置指向自定义端点的 Drain。查看
⤳ skill: observability
了解 Drain 设置详情。

Agentic Flow: Observability Vendor Setup

Agent 工作流:可观测性厂商设置

Follow this sequence when setting up an observability integration:
设置可观测性集成时请遵循以下顺序:

1. Pick Vendor

1. 选择厂商

bash
undefined
bash
undefined

Discover observability integrations

查找可观测性集成

vercel integration discover --category monitoring
vercel integration discover --category monitoring

Get setup guide for chosen vendor

获取所选厂商的设置指南

vercel integration guide datadog
undefined
vercel integration guide datadog
undefined

2. Install Integration

2. 安装集成

bash
undefined
bash
undefined

Install — auto-provisions env vars and creates log/trace drains

安装——自动预配置环境变量并创建日志/链路追踪 Drain

vercel integration add datadog
undefined
vercel integration add datadog
undefined

3. Verify Drain Created

3. 验证 Drain 已创建

bash
undefined
bash
undefined

Confirm drain was auto-configured

确认 Drain 已自动配置

curl -s -H "Authorization: Bearer $VERCEL_TOKEN"
"https://api.vercel.com/v1/drains?teamId=$TEAM_ID" | jq '.[] | {id, url, type, sources}'

Check the response for a drain pointing to the vendor's ingestion endpoint. If no drain appears, the integration may need manual drain setup — see `⤳ skill: observability` for REST API drain creation.
curl -s -H "Authorization: Bearer $VERCEL_TOKEN"
"https://api.vercel.com/v1/drains?teamId=$TEAM_ID" | jq '.[] | {id, url, type, sources}'

检查响应中是否存在指向厂商摄入端点的 Drain。如果没有找到对应的 Drain,集成可能需要手动配置 Drain——查看 `⤳ skill: observability` 了解 REST API 创建 Drain 的方法。

4. Validate Endpoint

4. 验证端点

bash
undefined
bash
undefined

Send a test payload to the drain

向 Drain 发送测试 payload

curl -X POST -H "Authorization: Bearer $VERCEL_TOKEN"
"https://api.vercel.com/v1/drains/<drain-id>/test?teamId=$TEAM_ID"

Confirm the vendor dashboard shows the test event arriving.
curl -X POST -H "Authorization: Bearer $VERCEL_TOKEN"
"https://api.vercel.com/v1/drains/<drain-id>/test?teamId=$TEAM_ID"

确认厂商控制台收到测试事件。

5. Smoke Log Check

5. 日志冒烟测试

bash
undefined
bash
undefined

Trigger a deployment and check logs flow through

触发一次部署并检查日志流

vercel logs <deployment-url> --follow --since 5m
vercel logs <deployment-url> --follow --since 5m

Check integration balance to confirm data is flowing

检查集成使用量确认数据正在流转

vercel integration balance datadog

Verify that logs appear both in Vercel's runtime logs and in the vendor's dashboard.

> **For drain payload formats and signature verification**, see `⤳ skill: observability` — the Drains section covers JSON/NDJSON schemas and `x-vercel-signature` HMAC-SHA1 verification.
vercel integration balance datadog

验证日志同时出现在 Vercel 运行时日志和厂商控制台中。

> **关于 Drain payload 格式和签名验证**,查看 `⤳ skill: observability`——Drain 部分涵盖了 JSON/NDJSON  schema 和 `x-vercel-signature` HMAC-SHA1 验证方法。

Speed Insights + Web Analytics Drains

速度洞察 + 网页分析 Drain

For observability vendors that also want Speed Insights or Web Analytics data, configure a separate drain manually:
bash
undefined
如果可观测性厂商还需要速度洞察或网页分析数据,请手动配置单独的 Drain:
bash
undefined

Create a drain for Speed Insights + Web Analytics

为速度洞察 + 网页分析创建 Drain

curl -X POST -H "Authorization: Bearer $VERCEL_TOKEN"
-H "Content-Type: application/json"
"https://api.vercel.com/v1/drains?teamId=$TEAM_ID"
-d '{ "url": "https://your-vendor-endpoint.example.com/vercel-analytics", "type": "json", "sources": ["lambda"], "environments": ["production"] }'

> **Payload schema reference:** See `⤳ skill: observability` for Web Analytics drain payload formats (JSON array of `{type, url, referrer, timestamp, geo, device}` events).
curl -X POST -H "Authorization: Bearer $VERCEL_TOKEN"
-H "Content-Type: application/json"
"https://api.vercel.com/v1/drains?teamId=$TEAM_ID"
-d '{ "url": "https://your-vendor-endpoint.example.com/vercel-analytics", "type": "json", "sources": ["lambda"], "environments": ["production"] }'

> **Payload schema 参考:** 查看 `⤳ skill: observability` 了解网页分析 Drain 的 payload 格式(`{type, url, referrer, timestamp, geo, device}` 事件的 JSON 数组)。

Decision Matrix

决策矩阵

NeedUseWhy
Add a database to your project
vercel integration add neon
Auto-provisioned, unified billing
Browse available services
vercel integration discover
CLI-native catalog search
Get setup steps for an integration
vercel integration guide <name> --framework <fw>
Framework-specific, agent-friendly setup guide
CLI redirects to dashboard during install
vercel integration open <name>
Fallback to complete provider web flow
Check integration usage/cost
vercel integration balance <name>
Billing visibility per integration
Build a SaaS integrationIntegration SDK + manifestFull lifecycle management
Centralize billingMarketplace integrationsSingle Vercel invoice
Auto-inject credentialsMarketplace auto-provisioningNo manual env var management
Add observability vendor
vercel integration add <vendor>
Auto-creates log/trace drains
Export Speed Insights / Web AnalyticsManual drain via REST APINot auto-configured by vendor install
Manage integrations programmaticallyVercel REST API
/v1/integrations
endpoints
Test integration locally
vercel dev
Local development server with Vercel features
需求使用方式原因
为项目添加数据库
vercel integration add neon
自动预配置,统一账单
浏览可用服务
vercel integration discover
CLI 原生目录搜索
获取集成的设置步骤
vercel integration guide <name> --framework <fw>
框架专属、适用于 Agent 的设置指南
安装时 CLI 跳转到控制台
vercel integration open <name>
完成服务商网页端流程的备选方案
查看集成使用量/费用
vercel integration balance <name>
每个集成的账单可见性
构建 SaaS 集成集成 SDK + 清单全生命周期管理
统一账单应用市场集成单一 Vercel 账单
自动注入凭证应用市场自动预配置无需手动管理环境变量
接入可观测性厂商
vercel integration add <vendor>
自动创建日志/链路追踪 Drain
导出速度洞察 / 网页分析通过 REST API 手动创建 Drain厂商安装不会自动配置
程序化管理集成Vercel REST API
/v1/integrations
端点
本地测试集成
vercel dev
支持 Vercel 特性的本地开发服务器

Cross-References

交叉参考

  • Drain configuration, payload formats, signature verification
    ⤳ skill: observability
  • Drains REST API endpoints
    ⤳ skill: vercel-api
  • CLI log streaming (
    --follow
    ,
    --since
    ,
    --level
    )
    ⤳ skill: vercel-cli
  • Safe project setup sequencing (link, env pull, then run db/dev)
    ⤳ skill:bootstrap
  • Drain 配置、payload 格式、签名验证
    ⤳ skill: observability
  • Drain REST API 端点
    ⤳ skill: vercel-api
  • CLI 日志流(
    --follow
    ,
    --since
    ,
    --level
    ⤳ skill: vercel-cli
  • 安全的项目设置顺序(关联、拉取环境变量、然后运行 db/dev)
    ⤳ skill:bootstrap

Official Documentation

官方文档