Search Documentation

Search for a documentation page...

Quick Start

Get a YNS-powered store running in under 5 minutes. Create an account, grab your API key, and deploy.

Prerequisites

  • Node.js 22+ (or Bun)
  • A YNS account
  • A Vercel account (for deployment)

1. Create Your Store

Sign up at yns.store/manage and create a new store. The setup wizard will guide you through:

  • Store name and description
  • Connecting your Stripe account
  • Adding your first products

2. Get Your API Key

In your YNS dashboard, go to Settings > API Keys and create a new key. Copy the key — you'll need it in the next step.

API keys start with sk- for production and sk-s- for staging.

3. Clone the Storefront

npx create-next-app@latest my-store --example https://github.com/yournextstore/yournextstore
cd my-store

4. Configure

Create a .env.local file with your API key:

YNS_API_KEY=sk-your-api-key-here

5. Run Locally

npm install
npm run dev

Open localhost:3000 to see your store with live product data.

6. Deploy to Vercel

npx vercel --prod

Or use the one-click deploy button in the storefront README.

Next Steps