Skip to content
Agent Stack
  • AI SDK
  • AI Gateway
  • Sandbox
  • Passport
  • Connect
  • eve
Core Platform
  • Security
  • Content Delivery
  • Fluid Compute
  • Observability
  • Workflows
  • CI/CD
Tools
  • Next.js
  • Vercel Agent
  • Vercel Plugin
  • Open Source
  • Domains↗
  • v0↗
Learn
  • Docs
  • About
  • Blog
  • Changelog
  • Knowledge Base
Build
  • AI Apps
  • Web Apps
  • Marketing Sites
  • Platforms
  • Commerce
Explore
  • Customers
  • Marketplace
  • Partner Finder
  • AWS
  • Community↗
EnterprisePricing
Contact
Log InSign Up
Dashboard

Products

Agent Stack

  • AI SDK
  • AI Gateway
  • Sandbox
  • Passport
  • Connect
  • eve

Core Platform

  • Security
  • Content Delivery
  • Fluid Compute
  • Observability
  • Workflows
  • CI/CD

Tools

  • Next.js
  • Vercel Agent
  • Vercel Plugin
  • Open Source
  • Domains↗
  • v0↗
Resources

Learn

  • Docs
  • About
  • Blog
  • Changelog
  • Knowledge Base

Build

  • AI Apps
  • Web Apps
  • Marketing Sites
  • Platforms
  • Commerce

Explore

  • Customers
  • Marketplace
  • Partner Finder
  • AWS
  • Community↗
Enterprise
Pricing
Sign UpLog In
Contact

Shopify Online Store with Next.js

A responsive online store built with Next.js and Shopify.

DeployView Demo

Vercel Shop

Agent-ready commerce, powered by Shopify, Next, and Eve.

  • Shopify owns commerce. Catalog, cart, checkout, customer accounts, predictive search, and policies come from Shopify through the framework-agnostic Hydrogen SDK (not the Hydrogen React Router framework).
  • Next.js owns the app. Routing, Server Components, caching and invalidation, metadata, and the storefront's machine-readable surface for answer engines: Markdown representations, /llms.txt, structured data, and the sitemap.
  • Eve owns the agent. Shop Agent's sessions, tools, and connections; its tools call Shopify directly.

See vercel.shop for full documentation.

Vercel prompts for the two required Shopify credentials before the first deployment.

Getting Started

  1. Scaffold a new project using the CLI:
npx create-vercel-shop@latest my-store

The scaffold also installs these project-scoped agent plugins:

  • vercel-shop
  • vercel-plugin
  • shopify-ai-toolkit

To install only the agent plugins into an existing project, run this from that project's root:

npx create-vercel-shop@latest --no-template
  1. In Shopify admin, create a storefront token in Settings → Apps and sales channels → Headless, enable the required Storefront API permissions, then add your Shopify credentials:
cp .env.example .env.local
NEXT_PUBLIC_SHOPIFY_STORE_DOMAIN=your-store.myshopify.com
NEXT_PUBLIC_SHOPIFY_STOREFRONT_ACCESS_TOKEN=your-token
  1. Start the development server with the same package manager you used to scaffold the project:
pnpm dev
npm run dev
yarn dev
bun dev

See vercel.shop/docs/getting-started for the full setup guide and Storefront API Permissions for the complete scope reference.

Features

Shopify

  • Product, collection, search, blog, page, and policy content from the Storefront API with validated, typed GraphQL
  • Optimistic cart with Hydrogen forms, shared cart state, and server handlers
  • Customer accounts through the Customer Account API, opt-in
  • Shopify analytics, consent, and WebMCP tool registration, opt-in

Next.js

  • Next.js 16 App Router, React 19, React Compiler, Tailwind CSS 4, shadcn/ui
  • Partial prerendering with tagged caches invalidated by Shopify webhooks
  • Markdown representations, /llms.txt, Schema.org data, sitemap, and robots for answer engines
  • Single-locale storefront by default; skills add next-intl and Shopify Markets

Eve

  • Shop Agent for product discovery, store questions, and cart updates in a side drawer, opt-in
  • Shopify catalog and policy MCP connections plus Hydrogen cart handlers

Customer authentication is disabled by default. Follow the authentication guide to configure Shopify credentials and callback URLs before enabling auth.isEnabled in lib/config/index.ts.

Shop Agent is disabled by default. Set agent.isEnabled to true in lib/config/index.ts and follow the Shop Agent guide to configure AI Gateway access and review privacy and spending safeguards before enabling public chat.

Skills

Vercel Shop includes a vercel-shop plugin with skills for extending the storefront with common commerce patterns. In Claude Code, these are exposed as /vercel-shop:<skill> commands:

SkillDescription
build-shopBuild or adapt storefront routes with Vercel Shop patterns
shopify-graphql-referenceAdd Shopify-validated GraphQL operations in the template's layout
enable-analyticsAdd Vercel Analytics, Speed Insights, and Google Tag Manager
enable-i18nLocale-prefixed URL routing + next-intl message catalogs (no Markets)
enable-shopify-marketsMulti-locale support with Shopify Markets and next-intl
enable-shopify-menusReplace hardcoded nav/footer with Shopify-powered menus, optional megamenu
update-shopKeep a storefront current with template changes

Documentation

Full documentation is available at vercel.shop.

License

MIT

GitHub
Ownervercel
Repositoryshop
Use Cases
Starter
Stack
Next.js
Tailwind

Related Templates

Stripe Subscription Starter

The all-in-one subscription starter kit for high-performance SaaS applications, powered by Stripe, Supabase, and Vercel.
Stripe Subscription Starter thumbnail

Agent Stack

  • AI SDK
  • AI Gateway
  • Sandbox
  • Workflows
  • ConnectNew
  • PassportNew
  • eveNew

Core Platform

  • CI/CD
  • Content Delivery
  • Fluid Compute
  • Observability

Security

  • Platform Security
  • WAF
  • Bot Management
  • BotID

Tools

  • Vercel DropNew
  • Vercel Agent
  • Vercel PluginNew
  • Agent Skills
  • Domains
  • v0

Frameworks

  • eveNew
  • Next.js
  • Nuxt
  • SvelteKit
  • Nitro
  • Turborepo
  • Tanstack Start
  • FastAPI
  • All frameworks

SDKs

  • Vercel SDK
  • Workflow SDKNew
  • Flags SDK
  • Chat SDKNew
  • Queues SDKNew
  • Streamdown

Build

  • AI Apps
  • Web Apps
  • Marketing Sites
  • Platforms
  • Commerce
  • Platform Engineers
  • Design Engineers

Learn

  • Docs
  • Blog
  • Changelog
  • Knowledge Base
  • Academy
  • Articles
  • Community
  • Is Agentic

Explore

  • Customers
  • Marketplace
  • Templates
  • Partner Finder
  • Vercel + AWS

Company

  • About
  • Careers
  • Press
  • Events
  • Startups
  • Shipped on Vercel
  • Open Source Program
  • Enterprise
  • Pricing
  • Help

Legal & Trust

  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • DPA
  • Acceptable Use Policy
  • Legal (all documents)
  • Trust Center
  • Status

Social

  • GitHub
  • X
  • LinkedIn
  • YouTube
  • Instagram
  • VercelVercel
DeployView Demo

Loading status…

Select a display theme: