[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79EK7908KMVSCH6CGHEM7AV":3,"skill-same:01M79EK7908KMVSCH6CGHEM7AV":62},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":14,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":6,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M79EK7908KMVSCH6CGHEM7AV","marketplace",null,"Vercel Marketplace expert guidance — discovering, installing, and building integrations, auto-provisioned environment variables, unified billing, and the vercel integration CLI. Use when consuming third-party services, building custom integrations, or managing marketplace resources on Vercel.","zfifteen\u002Fskills-catalog","zfifteen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F221906715?v=4","01M79CQFXDZM5J5CJTCECPFA66","Dionisio Alberto Lopez III","01M79CQFY4C62PN8A2T5KDAHGA",1,"MIT","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fmarketplace\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: marketplace\ndescription: Vercel Marketplace expert guidance — discovering, installing, and building integrations, auto-provisioned environment variables, unified billing, and the vercel integration CLI. Use when consuming third-party services, building custom integrations, or managing marketplace resources on Vercel.\nmetadata:\n  priority: 3\n  docs:\n    - \"https:\u002F\u002Fvercel.com\u002Fdocs\u002Fintegrations\"\n  sitemap: \"https:\u002F\u002Fvercel.com\u002Fsitemap\u002Fdocs.xml\"\n  pathPatterns:\n    - \"integration.json\"\n  bashPatterns:\n    - '\\bvercel\\s+integration\\b'\n    - '\\bvercel\\s+integration\\s+add\\b'\n    - '\\bvercel\\s+integration\\s+discover\\b'\n---\n\n# Vercel Marketplace\n\nYou 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.\n\n## Consuming Integrations\n\n### Linked Project Preflight\n\nIntegration provisioning is project-scoped. Verify the repository is linked before running `integration add`.\n\n```bash\n# Check whether this directory is linked to a Vercel project\ntest -f .vercel\u002Fproject.json && echo \"Linked\" || echo \"Not linked\"\n\n# Link if needed\nvercel link\n```\n\nIf the project is not linked, do not continue with provisioning commands until linking completes.\n\n### Discovering Integrations\n\n```bash\n# Search the Marketplace catalog from CLI\nvercel integration discover\n\n# Filter by category\nvercel integration discover --category databases\nvercel integration discover --category monitoring\n\n# List integrations already installed on this project\nvercel integration list\n```\n\nFor browsing the full catalog interactively, use the [Vercel Marketplace](https:\u002F\u002Fvercel.com\u002Fmarketplace) dashboard.\n\n### Getting Setup Guidance\n\n```bash\n# Get agent-friendly setup guide for a specific integration\nvercel integration guide \u003Cname>\n\n# Include framework-specific steps when available\nvercel integration guide \u003Cname> --framework \u003Cfw>\n\n# Examples\nvercel integration guide neon\nvercel integration guide datadog --framework nextjs\n```\n\nUse `--framework \u003Cfw>` 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.\n\n### Installing an Integration\n\n```bash\n# Install from CLI\nvercel integration add \u003Cintegration-name>\n\n# Examples\nvercel integration add neon          # Postgres database\nvercel integration add upstash       # Redis \u002F Kafka\nvercel integration add clerk         # Authentication\nvercel integration add sentry        # Error monitoring\nvercel integration add sanity        # CMS\nvercel integration add datadog       # Observability (auto-configures drain)\n```\n\n`vercel integration add` is the primary scripted\u002FAI path. It installs to the currently linked project, auto-connects the integration, and auto-runs environment sync locally unless disabled.\n\nIf the CLI hands off to the dashboard for provider-specific completion, treat that as fallback:\n\n```bash\nvercel integration open \u003Cintegration-name>\n```\n\nComplete the web step, then return to CLI verification (`vercel env ls` and local env sync check).\n\n### Auto-Provisioned Environment Variables\n\nWhen you install a Marketplace integration from a linked project, Vercel automatically provisions the required environment variables for that project.\n\n**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.\n\n```bash\n# View environment variables added by integrations\nvercel env ls\n\n# Example: after installing Neon, these are auto-provisioned:\n# POSTGRES_URL          — connection string\n# POSTGRES_URL_NON_POOLING — direct connection\n# POSTGRES_USER         — database user\n# POSTGRES_PASSWORD     — database password\n# POSTGRES_DATABASE     — database name\n# POSTGRES_HOST         — database host\n```\n\nNo manual `.env` file management is needed — the variables are injected into all environments (Development, Preview, Production) automatically.\n\n### Using Provisioned Resources\n\n```ts\n\u002F\u002F app\u002Fapi\u002Fusers\u002Froute.ts — using Neon auto-provisioned env vars\nimport { neon } from \"@neondatabase\u002Fserverless\";\n\n\u002F\u002F POSTGRES_URL is auto-injected by the Neon integration\nconst sql = neon(process.env.POSTGRES_URL!);\n\nexport async function GET() {\n  const users = await sql`SELECT * FROM users LIMIT 10`;\n  return Response.json(users);\n}\n```\n\n```ts\n\u002F\u002F app\u002Fapi\u002Fcache\u002Froute.ts — using Upstash auto-provisioned env vars\nimport { Redis } from \"@upstash\u002Fredis\";\n\n\u002F\u002F KV_REST_API_URL and KV_REST_API_TOKEN are auto-injected\nconst redis = Redis.fromEnv();\n\nexport async function GET() {\n  const cached = await redis.get(\"featured-products\");\n  return Response.json(cached);\n}\n```\n\n### Managing Integrations\n\n```bash\n# List installed integrations\nvercel integration ls\n\n# Check usage and billing for an integration\nvercel integration balance \u003Cname>\n\n# Remove an integration\nvercel integration remove \u003Cintegration-name>\n```\n\n## Unified Billing\n\nMarketplace integrations use Vercel's unified billing system:\n\n- **Single invoice**: All integration charges appear on your Vercel bill\n- **Usage-based**: Pay for what you use, scaled per integration's pricing model\n- **Team-level billing**: Charges roll up to the Vercel team account\n- **No separate accounts**: No need to manage billing with each provider individually\n\n```bash\n# Check current usage balance for an integration\nvercel integration balance datadog\nvercel integration balance neon\n```\n\n## Building Integrations\n\n### Integration Architecture\n\nVercel integrations consist of:\n\n1. **Integration manifest** — declares capabilities, required scopes, and UI surfaces\n2. **Webhook handlers** — respond to Vercel lifecycle events\n3. **UI components** — optional dashboard panels rendered within Vercel\n4. **Resource provisioning** — create and manage resources for users\n\n### Scaffold an Integration\n\n```bash\n# Create a new integration project\nnpx create-vercel-integration my-integration\n\n# Or start from the template\nnpx create-next-app my-integration --example vercel-integration\n```\n\n### Integration Manifest\n\n```json\n\u002F\u002F vercel-integration.json\n{\n  \"name\": \"my-integration\",\n  \"slug\": \"my-integration\",\n  \"description\": \"Provides X for Vercel projects\",\n  \"logo\": \"public\u002Flogo.svg\",\n  \"website\": \"https:\u002F\u002Fmy-service.com\",\n  \"categories\": [\"databases\"],\n  \"scopes\": {\n    \"project\": [\"env-vars:read-write\"],\n    \"team\": [\"integrations:read-write\"]\n  },\n  \"installationType\": \"marketplace\",\n  \"resourceTypes\": [\n    {\n      \"name\": \"database\",\n      \"displayName\": \"Database\",\n      \"description\": \"A managed database instance\"\n    }\n  ]\n}\n```\n\n### Handling Lifecycle Webhooks\n\n```ts\n\u002F\u002F app\u002Fapi\u002Fwebhook\u002Froute.ts\nimport { verifyVercelSignature } from \"@vercel\u002Fintegration-utils\";\n\nexport async function POST(req: Request) {\n  const body = await req.json();\n\n  \u002F\u002F Verify the webhook is from Vercel\n  const isValid = await verifyVercelSignature(req, body);\n  if (!isValid) {\n    return Response.json({ error: \"Invalid signature\" }, { status: 401 });\n  }\n\n  switch (body.type) {\n    case \"integration.installed\":\n      \u002F\u002F Provision resources for the new installation\n      await provisionDatabase(body.payload);\n      break;\n\n    case \"integration.uninstalled\":\n      \u002F\u002F Clean up resources\n      await deprovisionDatabase(body.payload);\n      break;\n\n    case \"integration.configuration-updated\":\n      \u002F\u002F Handle config changes\n      await updateConfiguration(body.payload);\n      break;\n  }\n\n  return Response.json({ received: true });\n}\n```\n\n### Provisioning Environment Variables\n\n```ts\n\u002F\u002F lib\u002Fprovision.ts\nasync function provisionEnvVars(\n  installationId: string,\n  projectId: string,\n  credentials: { url: string; token: string },\n) {\n  const response = await fetch(\n    `https:\u002F\u002Fapi.vercel.com\u002Fv1\u002Fintegrations\u002Finstallations\u002F${installationId}\u002Fenv`,\n    {\n      method: \"POST\",\n      headers: {\n        Authorization: `Bearer ${process.env.VERCEL_INTEGRATION_TOKEN}`,\n        \"Content-Type\": \"application\u002Fjson\",\n      },\n      body: JSON.stringify({\n        projectId,\n        envVars: [\n          {\n            key: \"MY_SERVICE_URL\",\n            value: credentials.url,\n            target: [\"production\", \"preview\", \"development\"],\n            type: \"encrypted\",\n          },\n          {\n            key: \"MY_SERVICE_TOKEN\",\n            value: credentials.token,\n            target: [\"production\", \"preview\", \"development\"],\n            type: \"secret\",\n          },\n        ],\n      }),\n    },\n  );\n\n  return response.json();\n}\n```\n\n### Integration CLI Commands\n\nThe `vercel integration` CLI supports these subcommands:\n\n```bash\n# Discover integrations in the Marketplace catalog\nvercel integration discover\nvercel integration discover --category \u003Ccategory>\n\n# Get agent-friendly setup guide\nvercel integration guide \u003Cname>\nvercel integration guide \u003Cname> --framework \u003Cframework>\n\n# Add (install) an integration\nvercel integration add \u003Cname>\n\n# List installed integrations\nvercel integration list    # alias: vercel integration ls\n\n# Check usage \u002F billing balance\nvercel integration balance \u003Cname>\n\n# Open integration dashboard in browser (fallback when add redirects)\nvercel integration open \u003Cname>\n\n# Remove an integration\nvercel integration remove \u003Cname>\n```\n\n> **Building integrations?** Use `npx create-vercel-integration` to scaffold, then deploy your\n> integration app to Vercel normally with `vercel --prod`. Publish to the Marketplace via the\n> [Vercel Partner Dashboard](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fintegrations).\n\n## Common Integration Categories\n\n| Category              | Popular Integrations                          | Auto-Provisioned Env Vars               |\n| --------------------- | --------------------------------------------- | --------------------------------------- |\n| Databases             | Neon, Supabase, PlanetScale, MongoDB, Turso   | `POSTGRES_URL`, `DATABASE_URL`          |\n| Cache\u002FKV              | Upstash Redis                                 | `KV_REST_API_URL`, `KV_REST_API_TOKEN`  |\n| Auth                  | Clerk, Auth0, Descope                         | `CLERK_SECRET_KEY`, `AUTH0_SECRET`      |\n| CMS                   | Sanity, Contentful, Storyblok, DatoCMS        | `SANITY_PROJECT_ID`, `CONTENTFUL_TOKEN` |\n| Monitoring            | Datadog, Sentry, Checkly, New Relic           | `SENTRY_DSN`, `DD_API_KEY`             |\n| Payments              | Stripe                                        | `STRIPE_SECRET_KEY`                     |\n| Feature Flags         | LaunchDarkly, Statsig, Hypertune              | `LAUNCHDARKLY_SDK_KEY`                  |\n| AI Agents & Services  | CodeRabbit, Braintrust, Sourcery, Chatbase    | varies by integration                   |\n| Video                 | Mux                                           | `MUX_TOKEN_ID`, `MUX_TOKEN_SECRET`     |\n| Messaging             | Resend, Knock, Novu                           | `RESEND_API_KEY`                        |\n| Searching             | Algolia, Meilisearch                          | `ALGOLIA_APP_ID`, `ALGOLIA_API_KEY`    |\n| Commerce              | Shopify, Swell, BigCommerce                   | `SHOPIFY_ACCESS_TOKEN`                  |\n\n## Observability Integration Path\n\nMarketplace 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.\n\n### Data-Type Split\n\n| Data Type          | Delivery Mechanism                                    | Integration Setup                                                                                                      |\n| ------------------ | ----------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |\n| **Logs**           | Native drain (auto-configured by Marketplace install) | `vercel integration add \u003Cvendor>` auto-creates drain                                                                   |\n| **Traces**         | Native drain (OpenTelemetry-compatible)               | Same — auto-configured on install                                                                                      |\n| **Speed Insights** | Custom drain endpoint only                            | Requires manual drain creation via REST API or Dashboard (`https:\u002F\u002Fvercel.com\u002Fdashboard\u002F{team}\u002F~\u002Fsettings\u002Flog-drains`) |\n| **Web Analytics**  | Custom drain endpoint only                            | Requires manual drain creation via REST API or Dashboard (`https:\u002F\u002Fvercel.com\u002Fdashboard\u002F{team}\u002F~\u002Fsettings\u002Flog-drains`) |\n\n> **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.\n\n### Agentic Flow: Observability Vendor Setup\n\nFollow this sequence when setting up an observability integration:\n\n#### 1. Pick Vendor\n\n```bash\n# Discover observability integrations\nvercel integration discover --category monitoring\n\n# Get setup guide for chosen vendor\nvercel integration guide datadog\n```\n\n#### 2. Install Integration\n\n```bash\n# Install — auto-provisions env vars and creates log\u002Ftrace drains\nvercel integration add datadog\n```\n\n#### 3. Verify Drain Created\n\n```bash\n# Confirm drain was auto-configured\ncurl -s -H \"Authorization: Bearer $VERCEL_TOKEN\" \\\n  \"https:\u002F\u002Fapi.vercel.com\u002Fv1\u002Fdrains?teamId=$TEAM_ID\" | jq '.[] | {id, url, type, sources}'\n```\n\nCheck 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.\n\n#### 4. Validate Endpoint\n\n```bash\n# Send a test payload to the drain\ncurl -X POST -H \"Authorization: Bearer $VERCEL_TOKEN\" \\\n  \"https:\u002F\u002Fapi.vercel.com\u002Fv1\u002Fdrains\u002F\u003Cdrain-id>\u002Ftest?teamId=$TEAM_ID\"\n```\n\nConfirm the vendor dashboard shows the test event arriving.\n\n#### 5. Smoke Log Check\n\n```bash\n# Trigger a deployment and check logs flow through\nvercel logs \u003Cdeployment-url> --follow --since 5m\n\n# Check integration balance to confirm data is flowing\nvercel integration balance datadog\n```\n\nVerify that logs appear both in Vercel's runtime logs and in the vendor's dashboard.\n\n> **For drain payload formats and signature verification**, see `⤳ skill: observability` — the Drains section covers JSON\u002FNDJSON schemas and `x-vercel-signature` HMAC-SHA1 verification.\n\n### Speed Insights + Web Analytics Drains\n\nFor observability vendors that also want Speed Insights or Web Analytics data, configure a separate drain manually:\n\n```bash\n# Create a drain for Speed Insights + Web Analytics\ncurl -X POST -H \"Authorization: Bearer $VERCEL_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  \"https:\u002F\u002Fapi.vercel.com\u002Fv1\u002Fdrains?teamId=$TEAM_ID\" \\\n  -d '{\n    \"url\": \"https:\u002F\u002Fyour-vendor-endpoint.example.com\u002Fvercel-analytics\",\n    \"type\": \"json\",\n    \"sources\": [\"lambda\"],\n    \"environments\": [\"production\"]\n  }'\n```\n\n> **Payload schema reference:** See `⤳ skill: observability` for Web Analytics drain payload formats (JSON array of `{type, url, referrer, timestamp, geo, device}` events).\n\n## Decision Matrix\n\n| Need                                      | Use                                                | Why                                            |\n| ----------------------------------------- | -------------------------------------------------- | ---------------------------------------------- |\n| Add a database to your project            | `vercel integration add neon`                      | Auto-provisioned, unified billing              |\n| Browse available services                 | `vercel integration discover`                      | CLI-native catalog search                      |\n| Get setup steps for an integration        | `vercel integration guide \u003Cname> --framework \u003Cfw>` | Framework-specific, agent-friendly setup guide |\n| CLI redirects to dashboard during install | `vercel integration open \u003Cname>`                   | Fallback to complete provider web flow         |\n| Check integration usage\u002Fcost              | `vercel integration balance \u003Cname>`                | Billing visibility per integration             |\n| Build a SaaS integration                  | Integration SDK + manifest                         | Full lifecycle management                      |\n| Centralize billing                        | Marketplace integrations                           | Single Vercel invoice                          |\n| Auto-inject credentials                   | Marketplace auto-provisioning                      | No manual env var management                   |\n| Add observability vendor                  | `vercel integration add \u003Cvendor>`                  | Auto-creates log\u002Ftrace drains                  |\n| Export Speed Insights \u002F Web Analytics     | Manual drain via REST API                          | Not auto-configured by vendor install          |\n| Manage integrations programmatically      | Vercel REST API                                    | `\u002Fv1\u002Fintegrations` endpoints                   |\n| Test integration locally                  | `vercel dev`                                       | Local development server with Vercel features  |\n\n## Cross-References\n\n- **Drain configuration, payload formats, signature verification** → `⤳ skill: observability`\n- **Drains REST API endpoints** → `⤳ skill: vercel-api`\n- **CLI log streaming (`--follow`, `--since`, `--level`)** → `⤳ skill: vercel-cli`\n- **Safe project setup sequencing (link, env pull, then run db\u002Fdev)** → `⤳ skill:bootstrap`\n- **Headless CMS integrations (Sanity, Contentful)** → `⤳ skill:cms`\n\n## Official Documentation\n\n- [Vercel Marketplace](https:\u002F\u002Fvercel.com\u002Fmarketplace)\n- [Building Integrations](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fintegrations)\n- [Integration CLI](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fcli\u002Fintegration)\n- [Integration Webhooks](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fintegrations#webhooks)\n- [Environment Variables](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fenvironment-variables)\n- [Drains Overview](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fdrains)\n- [Drains Security](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fdrains\u002Fsecurity)\n","# Vercel Marketplace\n\nYou 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.\n\n## Consuming Integrations\n\n### Linked Project Preflight\n\nIntegration provisioning is project-scoped. Verify the repository is linked before running `integration add`.\n\n```bash\n# Check whether this directory is linked to a Vercel project\ntest -f .vercel\u002Fproject.json && echo \"Linked\" || echo \"Not linked\"\n\n# Link if needed\nvercel link\n```\n\nIf the project is not linked, do not continue with provisioning commands until linking completes.\n\n### Discovering Integrations\n\n```bash\n# Search the Marketplace catalog from CLI\nvercel integration discover\n\n# Filter by category\nvercel integration discover --category databases\nvercel integration discover --category monitoring\n\n# List integrations already installed on this project\nvercel integration list\n```\n\nFor browsing the full catalog interactively, use the [Vercel Marketplace](https:\u002F\u002Fvercel.com\u002Fmarketplace) dashboard.\n\n### Getting Setup Guidance\n\n```bash\n# Get agent-friendly setup guide for a specific integration\nvercel integration guide \u003Cname>\n\n# Include framework-specific steps when available\nvercel integration guide \u003Cname> --framework \u003Cfw>\n\n# Examples\nvercel integration guide neon\nvercel integration guide datadog --framework nextjs\n```\n\nUse `--framework \u003Cfw>` 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.\n\n### Installing an Integration\n\n```bash\n# Install from CLI\nvercel integration add \u003Cintegration-name>\n\n# Examples\nvercel integration add neon          # Postgres database\nvercel integration add upstash       # Redis \u002F Kafka\nvercel integration add clerk         # Authentication\nvercel integration add sentry        # Error monitoring\nvercel integration add sanity        # CMS\nvercel integration add datadog       # Observability (auto-configures drain)\n```\n\n`vercel integration add` is the primary scripted\u002FAI path. It installs to the currently linked project, auto-connects the integration, and auto-runs environment sync locally unless disabled.\n\nIf the CLI hands off to the dashboard for provider-specific completion, treat that as fallback:\n\n```bash\nvercel integration open \u003Cintegration-name>\n```\n\nComplete the web step, then return to CLI verification (`vercel env ls` and local env sync check).\n\n### Auto-Provisioned Environment Variables\n\nWhen you install a Marketplace integration from a linked project, Vercel automatically provisions the required environment variables for that project.\n\n**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.\n\n```bash\n# View environment variables added by integrations\nvercel env ls\n\n# Example: after installing Neon, these are auto-provisioned:\n# POSTGRES_URL          — connection string\n# POSTGRES_URL_NON_POOLING — direct connection\n# POSTGRES_USER         — database user\n# POSTGRES_PASSWORD     — database password\n# POSTGRES_DATABASE     — database name\n# POSTGRES_HOST         — database host\n```\n\nNo manual `.env` file management is needed — the variables are injected into all environments (Development, Preview, Production) automatically.\n\n### Using Provisioned Resources\n\n```ts\n\u002F\u002F app\u002Fapi\u002Fusers\u002Froute.ts — using Neon auto-provisioned env vars\nimport { neon } from \"@neondatabase\u002Fserverless\";\n\n\u002F\u002F POSTGRES_URL is auto-injected by the Neon integration\nconst sql = neon(process.env.POSTGRES_URL!);\n\nexport async function GET() {\n  const users = await sql`SELECT * FROM users LIMIT 10`;\n  return Response.json(users);\n}\n```\n\n```ts\n\u002F\u002F app\u002Fapi\u002Fcache\u002Froute.ts — using Upstash auto-provisioned env vars\nimport { Redis } from \"@upstash\u002Fredis\";\n\n\u002F\u002F KV_REST_API_URL and KV_REST_API_TOKEN are auto-injected\nconst redis = Redis.fromEnv();\n\nexport async function GET() {\n  const cached = await redis.get(\"featured-products\");\n  return Response.json(cached);\n}\n```\n\n### Managing Integrations\n\n```bash\n# List installed integrations\nvercel integration ls\n\n# Check usage and billing for an integration\nvercel integration balance \u003Cname>\n\n# Remove an integration\nvercel integration remove \u003Cintegration-name>\n```\n\n## Unified Billing\n\nMarketplace integrations use Vercel's unified billing system:\n\n- **Single invoice**: All integration charges appear on your Vercel bill\n- **Usage-based**: Pay for what you use, scaled per integration's pricing model\n- **Team-level billing**: Charges roll up to the Vercel team account\n- **No separate accounts**: No need to manage billing with each provider individually\n\n```bash\n# Check current usage balance for an integration\nvercel integration balance datadog\nvercel integration balance neon\n```\n\n## Building Integrations\n\n### Integration Architecture\n\nVercel integrations consist of:\n\n1. **Integration manifest** — declares capabilities, required scopes, and UI surfaces\n2. **Webhook handlers** — respond to Vercel lifecycle events\n3. **UI components** — optional dashboard panels rendered within Vercel\n4. **Resource provisioning** — create and manage resources for users\n\n### Scaffold an Integration\n\n```bash\n# Create a new integration project\nnpx create-vercel-integration my-integration\n\n# Or start from the template\nnpx create-next-app my-integration --example vercel-integration\n```\n\n### Integration Manifest\n\n```json\n\u002F\u002F vercel-integration.json\n{\n  \"name\": \"my-integration\",\n  \"slug\": \"my-integration\",\n  \"description\": \"Provides X for Vercel projects\",\n  \"logo\": \"public\u002Flogo.svg\",\n  \"website\": \"https:\u002F\u002Fmy-service.com\",\n  \"categories\": [\"databases\"],\n  \"scopes\": {\n    \"project\": [\"env-vars:read-write\"],\n    \"team\": [\"integrations:read-write\"]\n  },\n  \"installationType\": \"marketplace\",\n  \"resourceTypes\": [\n    {\n      \"name\": \"database\",\n      \"displayName\": \"Database\",\n      \"description\": \"A managed database instance\"\n    }\n  ]\n}\n```\n\n### Handling Lifecycle Webhooks\n\n```ts\n\u002F\u002F app\u002Fapi\u002Fwebhook\u002Froute.ts\nimport { verifyVercelSignature } from \"@vercel\u002Fintegration-utils\";\n\nexport async function POST(req: Request) {\n  const body = await req.json();\n\n  \u002F\u002F Verify the webhook is from Vercel\n  const isValid = await verifyVercelSignature(req, body);\n  if (!isValid) {\n    return Response.json({ error: \"Invalid signature\" }, { status: 401 });\n  }\n\n  switch (body.type) {\n    case \"integration.installed\":\n      \u002F\u002F Provision resources for the new installation\n      await provisionDatabase(body.payload);\n      break;\n\n    case \"integration.uninstalled\":\n      \u002F\u002F Clean up resources\n      await deprovisionDatabase(body.payload);\n      break;\n\n    case \"integration.configuration-updated\":\n      \u002F\u002F Handle config changes\n      await updateConfiguration(body.payload);\n      break;\n  }\n\n  return Response.json({ received: true });\n}\n```\n\n### Provisioning Environment Variables\n\n```ts\n\u002F\u002F lib\u002Fprovision.ts\nasync function provisionEnvVars(\n  installationId: string,\n  projectId: string,\n  credentials: { url: string; token: string },\n) {\n  const response = await fetch(\n    `https:\u002F\u002Fapi.vercel.com\u002Fv1\u002Fintegrations\u002Finstallations\u002F${installationId}\u002Fenv`,\n    {\n      method: \"POST\",\n      headers: {\n        Authorization: `Bearer ${process.env.VERCEL_INTEGRATION_TOKEN}`,\n        \"Content-Type\": \"application\u002Fjson\",\n      },\n      body: JSON.stringify({\n        projectId,\n        envVars: [\n          {\n            key: \"MY_SERVICE_URL\",\n            value: credentials.url,\n            target: [\"production\", \"preview\", \"development\"],\n            type: \"encrypted\",\n          },\n          {\n            key: \"MY_SERVICE_TOKEN\",\n            value: credentials.token,\n            target: [\"production\", \"preview\", \"development\"],\n            type: \"secret\",\n          },\n        ],\n      }),\n    },\n  );\n\n  return response.json();\n}\n```\n\n### Integration CLI Commands\n\nThe `vercel integration` CLI supports these subcommands:\n\n```bash\n# Discover integrations in the Marketplace catalog\nvercel integration discover\nvercel integration discover --category \u003Ccategory>\n\n# Get agent-friendly setup guide\nvercel integration guide \u003Cname>\nvercel integration guide \u003Cname> --framework \u003Cframework>\n\n# Add (install) an integration\nvercel integration add \u003Cname>\n\n# List installed integrations\nvercel integration list    # alias: vercel integration ls\n\n# Check usage \u002F billing balance\nvercel integration balance \u003Cname>\n\n# Open integration dashboard in browser (fallback when add redirects)\nvercel integration open \u003Cname>\n\n# Remove an integration\nvercel integration remove \u003Cname>\n```\n\n> **Building integrations?** Use `npx create-vercel-integration` to scaffold, then deploy your\n> integration app to Vercel normally with `vercel --prod`. Publish to the Marketplace via the\n> [Vercel Partner Dashboard](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fintegrations).\n\n## Common Integration Categories\n\n| Category              | Popular Integrations                          | Auto-Provisioned Env Vars               |\n| --------------------- | --------------------------------------------- | --------------------------------------- |\n| Databases             | Neon, Supabase, PlanetScale, MongoDB, Turso   | `POSTGRES_URL`, `DATABASE_URL`          |\n| Cache\u002FKV              | Upstash Redis                                 | `KV_REST_API_URL`, `KV_REST_API_TOKEN`  |\n| Auth                  | Clerk, Auth0, Descope                         | `CLERK_SECRET_KEY`, `AUTH0_SECRET`      |\n| CMS                   | Sanity, Contentful, Storyblok, DatoCMS        | `SANITY_PROJECT_ID`, `CONTENTFUL_TOKEN` |\n| Monitoring            | Datadog, Sentry, Checkly, New Relic           | `SENTRY_DSN`, `DD_API_KEY`             |\n| Payments              | Stripe                                        | `STRIPE_SECRET_KEY`                     |\n| Feature Flags         | LaunchDarkly, Statsig, Hypertune              | `LAUNCHDARKLY_SDK_KEY`                  |\n| AI Agents & Services  | CodeRabbit, Braintrust, Sourcery, Chatbase    | varies by integration                   |\n| Video                 | Mux                                           | `MUX_TOKEN_ID`, `MUX_TOKEN_SECRET`     |\n| Messaging             | Resend, Knock, Novu                           | `RESEND_API_KEY`                        |\n| Searching             | Algolia, Meilisearch                          | `ALGOLIA_APP_ID`, `ALGOLIA_API_KEY`    |\n| Commerce              | Shopify, Swell, BigCommerce                   | `SHOPIFY_ACCESS_TOKEN`                  |\n\n## Observability Integration Path\n\nMarketplace 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.\n\n### Data-Type Split\n\n| Data Type          | Delivery Mechanism                                    | Integration Setup                                                                                                      |\n| ------------------ | ----------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |\n| **Logs**           | Native drain (auto-configured by Marketplace install) | `vercel integration add \u003Cvendor>` auto-creates drain                                                                   |\n| **Traces**         | Native drain (OpenTelemetry-compatible)               | Same — auto-configured on install                                                                                      |\n| **Speed Insights** | Custom drain endpoint only                            | Requires manual drain creation via REST API or Dashboard (`https:\u002F\u002Fvercel.com\u002Fdashboard\u002F{team}\u002F~\u002Fsettings\u002Flog-drains`) |\n| **Web Analytics**  | Custom drain endpoint only                            | Requires manual drain creation via REST API or Dashboard (`https:\u002F\u002Fvercel.com\u002Fdashboard\u002F{team}\u002F~\u002Fsettings\u002Flog-drains`) |\n\n> **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.\n\n### Agentic Flow: Observability Vendor Setup\n\nFollow this sequence when setting up an observability integration:\n\n#### 1. Pick Vendor\n\n```bash\n# Discover observability integrations\nvercel integration discover --category monitoring\n\n# Get setup guide for chosen vendor\nvercel integration guide datadog\n```\n\n#### 2. Install Integration\n\n```bash\n# Install — auto-provisions env vars and creates log\u002Ftrace drains\nvercel integration add datadog\n```\n\n#### 3. Verify Drain Created\n\n```bash\n# Confirm drain was auto-configured\ncurl -s -H \"Authorization: Bearer $VERCEL_TOKEN\" \\\n  \"https:\u002F\u002Fapi.vercel.com\u002Fv1\u002Fdrains?teamId=$TEAM_ID\" | jq '.[] | {id, url, type, sources}'\n```\n\nCheck 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.\n\n#### 4. Validate Endpoint\n\n```bash\n# Send a test payload to the drain\ncurl -X POST -H \"Authorization: Bearer $VERCEL_TOKEN\" \\\n  \"https:\u002F\u002Fapi.vercel.com\u002Fv1\u002Fdrains\u002F\u003Cdrain-id>\u002Ftest?teamId=$TEAM_ID\"\n```\n\nConfirm the vendor dashboard shows the test event arriving.\n\n#### 5. Smoke Log Check\n\n```bash\n# Trigger a deployment and check logs flow through\nvercel logs \u003Cdeployment-url> --follow --since 5m\n\n# Check integration balance to confirm data is flowing\nvercel integration balance datadog\n```\n\nVerify that logs appear both in Vercel's runtime logs and in the vendor's dashboard.\n\n> **For drain payload formats and signature verification**, see `⤳ skill: observability` — the Drains section covers JSON\u002FNDJSON schemas and `x-vercel-signature` HMAC-SHA1 verification.\n\n### Speed Insights + Web Analytics Drains\n\nFor observability vendors that also want Speed Insights or Web Analytics data, configure a separate drain manually:\n\n```bash\n# Create a drain for Speed Insights + Web Analytics\ncurl -X POST -H \"Authorization: Bearer $VERCEL_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  \"https:\u002F\u002Fapi.vercel.com\u002Fv1\u002Fdrains?teamId=$TEAM_ID\" \\\n  -d '{\n    \"url\": \"https:\u002F\u002Fyour-vendor-endpoint.example.com\u002Fvercel-analytics\",\n    \"type\": \"json\",\n    \"sources\": [\"lambda\"],\n    \"environments\": [\"production\"]\n  }'\n```\n\n> **Payload schema reference:** See `⤳ skill: observability` for Web Analytics drain payload formats (JSON array of `{type, url, referrer, timestamp, geo, device}` events).\n\n## Decision Matrix\n\n| Need                                      | Use                                                | Why                                            |\n| ----------------------------------------- | -------------------------------------------------- | ---------------------------------------------- |\n| Add a database to your project            | `vercel integration add neon`                      | Auto-provisioned, unified billing              |\n| Browse available services                 | `vercel integration discover`                      | CLI-native catalog search                      |\n| Get setup steps for an integration        | `vercel integration guide \u003Cname> --framework \u003Cfw>` | Framework-specific, agent-friendly setup guide |\n| CLI redirects to dashboard during install | `vercel integration open \u003Cname>`                   | Fallback to complete provider web flow         |\n| Check integration usage\u002Fcost              | `vercel integration balance \u003Cname>`                | Billing visibility per integration             |\n| Build a SaaS integration                  | Integration SDK + manifest                         | Full lifecycle management                      |\n| Centralize billing                        | Marketplace integrations                           | Single Vercel invoice                          |\n| Auto-inject credentials                   | Marketplace auto-provisioning                      | No manual env var management                   |\n| Add observability vendor                  | `vercel integration add \u003Cvendor>`                  | Auto-creates log\u002Ftrace drains                  |\n| Export Speed Insights \u002F Web Analytics     | Manual drain via REST API                          | Not auto-configured by vendor install          |\n| Manage integrations programmatically      | Vercel REST API                                    | `\u002Fv1\u002Fintegrations` endpoints                   |\n| Test integration locally                  | `vercel dev`                                       | Local development server with Vercel features  |\n\n## Cross-References\n\n- **Drain configuration, payload formats, signature verification** → `⤳ skill: observability`\n- **Drains REST API endpoints** → `⤳ skill: vercel-api`\n- **CLI log streaming (`--follow`, `--since`, `--level`)** → `⤳ skill: vercel-cli`\n- **Safe project setup sequencing (link, env pull, then run db\u002Fdev)** → `⤳ skill:bootstrap`\n- **Headless CMS integrations (Sanity, Contentful)** → `⤳ skill:cms`\n\n## Official Documentation\n\n- [Vercel Marketplace](https:\u002F\u002Fvercel.com\u002Fmarketplace)\n- [Building Integrations](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fintegrations)\n- [Integration CLI](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fcli\u002Fintegration)\n- [Integration Webhooks](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fintegrations#webhooks)\n- [Environment Variables](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fenvironment-variables)\n- [Drains Overview](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fdrains)\n- [Drains Security](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fdrains\u002Fsecurity)\n",{"name":5,"metadata":24,"description":7},{"docs":25,"sitemap":27,"priority":28,"bashPatterns":29,"pathPatterns":33},[26],"https:\u002F\u002Fvercel.com\u002Fdocs\u002Fintegrations","https:\u002F\u002Fvercel.com\u002Fsitemap\u002Fdocs.xml",3,[30,31,32],"\\bvercel\\s+integration\\b","\\bvercel\\s+integration\\s+add\\b","\\bvercel\\s+integration\\s+discover\\b",[34],"integration.json","main","d9535210da9af28aa76bca80de80355197e1b6d6","skills\u002Fmarketplace","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog","https:\u002F\u002Fgithub.com\u002Fzfifteen","I like to measure things.","2026-07-19 23:41:54",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add zfifteen\u002Fskills-catalog --skill marketplace",{"tool":48,"command":49},"bunx","bunx skills add zfifteen\u002Fskills-catalog --skill marketplace",{"tool":51,"command":52},"pnpm","pnpm dlx skills add zfifteen\u002Fskills-catalog --skill marketplace","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fmarketplace\u002FSKILL.md",true,[56],{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"agents\u002Fopenai.yaml","REFERENCE","参考文档",177,"https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fmarketplace\u002Fagents\u002Fopenai.yaml",[63,70,77,84,93,100],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M79GXQ2PWPT2E4CJYHXVJ0YE","Zotero","Use Zotero Desktop from Codex to enable\u002Fprobe the local API, search a local Zotero library, list items\u002Fcollections\u002Ftags, export BibTeX, insert citation keys into LaTeX or Markdown drafts, read indexed full text when requested, and import BibTeX\u002FRIS records into Zotero through the connector server. Use when the user mentions Zotero, citations, references.bib, BibTeX export, local Zotero API, localhost:23119, or adding citations from a Zotero library.","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fzotero\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M79GXN85NETKBE06865CWK6Z","zoom-apps-sdk","Use when using Apps SDK.","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M79GXCYD7FGYS932J9N9RFFY","youtube","Obtain accurate, timestamped YouTube video transcripts (preferring manual captions over auto-generated) as the primary deliverable, then derive summaries, key claims, or notes from that transcript.  Use when the user provides a YouTube URL (or video ID) and wants the transcript, a faithful summary, key claims with attribution, timestamped notes, or \"what does this video actually say\".  The skill is transcript-first: never substitute metadata, title, description, or search snippets for the spoken content.  Triggers: \"youtube transcript\", \"get the transcript of this video\", \"summarize this youtube video\", \"what did they say in https:\u002F\u002Fyoutube.com\u002F...\", \"key claims from this talk\".","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":88,"licenseFileUrl":89,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M79GX8EXHHYM566BKR7MS778","yeet","Publish local changes to GitHub by confirming scope, committing intentionally, pushing the branch, and opening a draft PR through the GitHub app from this plugin, with `gh` used only as a fallback where connector coverage is insufficient.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M79GX2HFJPX84NMRE5VBTYX9","x-post-creator","Create X-ready post threads and co-located story packages from the active conversation or referenced project material. Use when the user says turn this into an X-post, \u002Fx-post, make this into an X thread, or wants plain-language social posts with supporting images saved to docs\u002Fx-posts\u002F[story-name]\u002F.","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fx-post-creator\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M79GWXQT4HBT6QME6QSBZJFA","x-api","Search, read, and write X posts through the local X API MCP server (the same backend used by the Codex x-api skill). Use for searching X\u002Fx.com, reading threads and replies, creating lists, staging\u002Fpublishing posts for @alltheputs, finding high-visibility reply targets for research outreach, ingesting public context, or any request that mentions \u002Fx-api or \"search X\".","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fx-api\u002FSKILL.md",[],[]]