Vercel Documentation

Ship anything with Vercel

Deploy your first app, set up your coding agent to build and deploy on Vercel, or call any AI model through AI Gateway.

Deploy an app
Set up your agent
Call a model

terminal

npm i -g vercel
vercel login
vercel

terminal

# Plugin for Claude Code, Codex, Grok Build, Cursor, Copilot, Kimi Code
npx plugins add vercel/vercel-plugin

# Skills for any other agent
npx skills add vercel-labs/agent-skills

# Let your agent manage projects, deployments, and logs
npx -y add-mcp https://mcp.vercel.com -g

# Route your agent's model calls through AI Gateway
npx vercel ai-gateway setup

terminal

# Create an API key and export the key it prints
vercel ai-gateway api-keys create
export AI_GATEWAY_API_KEY="your-ai-gateway-api-key"

# Call any model through one endpoint
curl https://ai-gateway.vercel.sh/v1/chat/completions \
  -H "Authorization: Bearer $AI_GATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-opus-5",
    "messages": [{ "role": "user", "content": "Why is the sky blue?" }]
  }'

Set up your coding agent

Set up the agent you code with, and the platform for the agents you ship. This prompt installs the Vercel Plugin or Agent Skills, connects the Vercel MCP server, and deploys your project:

Agent Prompt

Help me set up this project on Vercel. Read https://vercel.com/docs/getting-started-with-vercel first. Then: 1. Install the Vercel CLI globally (npm i -g vercel) and log in with vercel login. 2. If you are Claude Code, OpenAI Codex, Grok Build, Cursor, GitHub Copilot, or Kimi Code, install the Vercel Plugin with npx plugins add vercel/vercel-plugin. Otherwise, install Vercel Skills with npx skills add vercel-labs/agent-skills. 3. Connect the Vercel MCP server with npx -y add-mcp https://mcp.vercel.com -g. 4. Deploy with vercel and share the preview URL. 5. Suggest next steps based on my project, such as adding a custom domain, setting environment variables, or configuring Vercel Functions.

What's new

The latest changes across the Vercel platform. Browse the full changelog for everything that shipped.

Build with AI

Build your app

Next.js: Deploy Next.js with zero configuration, or bring one of 40+ supported frameworks.
Functions: Run server-side code on demand with Fluid compute, which scales concurrency for AI and I/O-heavy workloads.
Routing Middleware: Run code before a request completes to rewrite, redirect, or personalize responses.
Incremental Static Regeneration: Regenerate static pages on a schedule or on demand without rebuilding your whole site.
Image Optimization: Resize and convert images on demand and serve them from the CDN in modern formats.
Environments: Manage local, preview, production, and custom environments and the variables each one uses.

Secure your app

Deploy and operate

Guides and tutorials

Go deeper with guides, videos, and tutorials from the Vercel Knowledge Base: