> ## Documentation Index
> Fetch the complete documentation index at: https://vlyai-1c28d863.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Cookbook

> Step-by-step builds for the most-asked apps. Production patterns, copy-paste code, complete prompts. The fastest way to learn vly is to ship something real.

The cookbook is **end-to-end builds** for the apps people actually want — multi-tenant SaaS, marketplaces, chatbots, dashboards, social networks. Each recipe is a complete walkthrough: prompts, code, integration setup, deployment, edge cases.

If you're learning vly, picking a recipe close to your goal and following it end-to-end is the fastest path.

## Start here

<CardGroup cols={2}>
  <Card title="How recipes work" icon="info" href="/recipes/how-recipes-work">
    The structure of every recipe — what to expect, time estimates, prerequisites.
  </Card>

  <Card title="Prompting fundamentals" icon="message-square-code" href="/prompting/fundamentals">
    Background reading. Recipes assume you know how to write a vly prompt.
  </Card>
</CardGroup>

## Core apps

<CardGroup cols={2}>
  <Card title="Multi-tenant SaaS" icon="building" href="/recipes/multi-tenant-saas">
    The base for every B2B app. Workspaces, teams, roles, billing. **45 min**.
  </Card>

  <Card title="Marketplace with Stripe" icon="shopping-cart" href="/recipes/marketplace-with-stripe">
    Two-sided marketplace with Connect, escrow, payouts. **90 min**.
  </Card>

  <Card title="Real-time chat" icon="message-square-text" href="/recipes/realtime-chat-app">
    Channels, threads, presence, attachments. **60 min**.
  </Card>

  <Card title="Newsletter platform" icon="newspaper" href="/recipes/newsletter-platform">
    Email-based newsletter with subscribers, archives, billing. **45 min**.
  </Card>

  <Card title="Internal CRM" icon="briefcase" href="/recipes/internal-crm">
    Pipeline, contacts, tasks, email integration. **60 min**.
  </Card>

  <Card title="Dashboard with charts" icon="chart-bar" href="/recipes/dashboard-with-charts">
    Metrics, filters, time ranges, real-time updates. **30 min**.
  </Card>

  <Card title="Multiplayer game" icon="gamepad-2" href="/recipes/multiplayer-game">
    Lobbies, real-time state sync, leaderboards. **75 min**.
  </Card>

  <Card title="AI chatbot" icon="message-circle" href="/recipes/ai-chatbot">
    Streaming, history, tool calling, multi-model. **45 min**.
  </Card>

  <Card title="Image generator" icon="image" href="/recipes/image-generator">
    User prompts → DALL-E or Replicate → stored gallery. **30 min**.
  </Card>

  <Card title="Voice AI app" icon="mic" href="/recipes/voice-ai-app">
    STT (Whisper) + LLM + TTS (ElevenLabs). **60 min**.
  </Card>
</CardGroup>

## Business tools

<CardGroup cols={2}>
  <Card title="Booking system" icon="calendar" href="/recipes/booking-system">
    Calendar availability, slot booking, confirmations. **75 min**.
  </Card>

  <Card title="Job board" icon="briefcase" href="/recipes/job-board">
    Listings, applications, employer + applicant accounts. **60 min**.
  </Card>

  <Card title="Invoice generator" icon="receipt" href="/recipes/invoice-generator">
    Create, send, track invoices. PDF generation. **30 min**.
  </Card>

  <Card title="Expense tracker" icon="wallet" href="/recipes/expense-tracker">
    Categories, receipts, monthly summaries. **30 min**.
  </Card>

  <Card title="Course platform" icon="graduation-cap" href="/recipes/course-platform">
    Lessons, video hosting, progress tracking, certificates. **90 min**.
  </Card>

  <Card title="Subscription billing" icon="repeat" href="/recipes/subscription-billing">
    Multi-tier, trials, billing portal, dunning. **60 min**.
  </Card>
</CardGroup>

## Social & content

<CardGroup cols={2}>
  <Card title="Social network" icon="users-round" href="/recipes/social-network">
    Profiles, follows, feed, reactions. **75 min**.
  </Card>

  <Card title="Forum" icon="message-square-quote" href="/recipes/forum">
    Categories, threads, posts, voting, moderation. **60 min**.
  </Card>

  <Card title="Wiki" icon="book-open" href="/recipes/wiki">
    Pages, edits, history, references. **45 min**.
  </Card>

  <Card title="Notes app" icon="notebook-pen" href="/recipes/notes-app">
    Rich-text notes, tags, search. **30 min**.
  </Card>

  <Card title="Habit tracker" icon="check-square" href="/recipes/habit-tracker">
    Daily check-ins, streaks, charts. **30 min**.
  </Card>
</CardGroup>

## Patterns & primitives

Smaller building blocks you'll combine into bigger features:

<CardGroup cols={2}>
  <Card title="OAuth login" icon="key" href="/recipes/oauth-login">
    Add Google / GitHub / etc. as a sign-in option.
  </Card>

  <Card title="File uploads" icon="upload" href="/recipes/file-uploads">
    Direct-to-Convex uploads with previews and limits.
  </Card>

  <Card title="Email campaigns" icon="megaphone" href="/recipes/email-campaigns">
    Send to a list, track delivery, handle unsubscribes.
  </Card>

  <Card title="Webhooks" icon="webhook" href="/recipes/webhooks">
    Receive events from third-party services securely.
  </Card>
</CardGroup>

## How to read a recipe

Every recipe is structured the same way:

<Steps>
  <Step title="What you'll build">
    A short description and a screenshot of the finished product.
  </Step>

  <Step title="Prerequisites">
    What you need (vly account, third-party accounts, env vars).
  </Step>

  <Step title="Step-by-step build">
    A series of prompts you submit to vly, with what to expect after each.
  </Step>

  <Step title="Testing">
    How to verify the feature works end-to-end.
  </Step>

  <Step title="Going further">
    Variations and extensions you might want.
  </Step>
</Steps>

## Tips

<Tip>
  **Recipes are prompts to a real model.** The exact code vly produces will vary — same shape, different details. The recipe describes the architecture and the verification steps; trust the agent for the implementation.
</Tip>

<Tip>
  **Combine recipes.** A "marketplace with chat" is the marketplace recipe + the realtime chat recipe stacked. Build the first, then prompt the second on top.
</Tip>

<Tip>
  **Recipe times assume you've read [Prompting fundamentals](/prompting/fundamentals).** First-time users may take 2× longer; experienced users finish faster.
</Tip>

## Suggesting a recipe

Don't see what you need? File a request in the [Discord](https://discord.gg/vly) `#recipe-requests` channel. Most-asked recipes get added.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.