[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CVRBB7S9Z1XQBFM3ZYAKP2":3,"skill-same:01M7CVRBB7S9Z1XQBFM3ZYAKP2":64},{"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":39,"ownerHtmlUrl":40,"ownerBlogUrl":41,"ownerDescription":42,"updatedAt":43,"install":44,"resources":57},"01M7CVRBB7S9Z1XQBFM3ZYAKP2","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.","realsudarshan\u002FSD-skill","realsudarshan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128029723?v=4","01M7CTP2JEKQ9KBJ51NRZ2777Z","Sudarshan Dhakal","01M7CTP2JYR2PRY3BWGA30HX7J",0,"MIT","https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill\u002Fblob\u002Fmain\u002Fofficial-openai\u002Fopenai-local-vercel-marketplace\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","92c2f40ebfad0c0aa3cc1faa89ffd6b23f9e8d1b","official-openai\u002Fopenai-local-vercel-marketplace","https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill","https:\u002F\u002Fsd-skill.vercel.app","https:\u002F\u002Fgithub.com\u002Frealsudarshan","sudarshandhakal.com.np","Innvotative","2026-11-12 23:03:50",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add realsudarshan\u002FSD-skill --skill marketplace",{"tool":50,"command":51},"bunx","bunx skills add realsudarshan\u002FSD-skill --skill marketplace",{"tool":53,"command":54},"pnpm","pnpm dlx skills add realsudarshan\u002FSD-skill --skill marketplace","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill\u002Fblob\u002Fmain\u002Fofficial-openai\u002Fopenai-local-vercel-marketplace\u002FSKILL.md",true,[58],{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"agents\u002Fopenai.yaml","REFERENCE","参考文档",182,"https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill\u002Fblob\u002Fmain\u002Fofficial-openai\u002Fopenai-local-vercel-marketplace\u002Fagents\u002Fopenai.yaml",[65,74,82,90,98,106],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":70,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7CW5Y6EPMPMNDWE4EN2GXRX","winui-app","Bootstrap, develop, and design modern WinUI 3 desktop applications with C# and the Windows App SDK using official Microsoft guidance, WinUI Gallery patterns, Windows App SDK samples, and CommunityToolkit components. Use when creating a brand new app, preparing a machine for WinUI, reviewing, refactoring, planning, troubleshooting, environment-checking, or setting up WinUI 3 XAML, controls, navigation, windowing, theming, accessibility, responsiveness, performance, deployment, or related Windows app design and development work.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill\u002Fblob\u002Fmain\u002Freccomended\u002Fwinui-app\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill\u002Fblob\u002Fmain\u002Freccomended\u002Fwinui-app\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":78,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7CW5RWFX7616ENEG573VFWG","vercel-deploy","Deploy applications and websites to Vercel. Use when the user requests deployment actions like \"deploy my app\", \"deploy and give me the link\", \"push this live\", or \"create a preview deployment\".","https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill\u002Fblob\u002Fmain\u002Freccomended\u002Fvercel-deploy\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill\u002Fblob\u002Fmain\u002Freccomended\u002Fvercel-deploy\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":86,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7CW5M4VZHQPWG764X1W0S3B","security-best-practices","Perform language and framework specific security best-practice reviews and suggest improvements. Trigger only when the user explicitly requests security best practices guidance, a security review\u002Freport, or secure-by-default coding help. Trigger only for supported languages (python, javascript\u002Ftypescript, go). Do not trigger for general code review, debugging, or non-security tasks.","https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill\u002Fblob\u002Fmain\u002Freccomended\u002Fsecurity-best-practices\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill\u002Fblob\u002Fmain\u002Freccomended\u002Fsecurity-best-practices\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":94,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7CW5EBTWA7PQ54HYFT1YW39","playwright","Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging) via `playwright-cli` or the bundled wrapper script.","https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill\u002Fblob\u002Fmain\u002Freccomended\u002Fplaywright\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill\u002Fblob\u002Fmain\u002Freccomended\u002Fplaywright\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":102,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M7CW4DA7SZ4D9JMR3P7VJVM0","openai-docs","Use when the user asks how to build with OpenAI products or APIs and needs up-to-date official documentation with citations, help choosing the latest model for a use case, or model upgrade and prompt-upgrade guidance; prioritize OpenAI docs MCP tools, use bundled references only as helper context, and restrict any fallback browsing to official OpenAI domains.","https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill\u002Fblob\u002Fmain\u002Freccomended\u002Fopenai-docs\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill\u002Fblob\u002Fmain\u002Freccomended\u002Fopenai-docs\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":110,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":19},"01M7CW3EHY7X60KB9SYEMRD3YR","netlify-deploy","Deploy web projects to Netlify using the Netlify CLI (`npx netlify`). Use when the user asks to deploy, host, publish, or link a site\u002Frepo on Netlify, including preview and production deploys.","https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill\u002Fblob\u002Fmain\u002Freccomended\u002Fnetlify-deploy\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Frealsudarshan\u002FSD-skill\u002Fblob\u002Fmain\u002Freccomended\u002Fnetlify-deploy\u002FSKILL.md",[],[]]