# BuilderBox ## Docs - [AI Features](https://docs.builderbox.ai/ai/ai.md): OpenRouter is a unified API gateway that provides access to hundreds of AI models from leading providers like Anthropic, Google, Meta, Mistral, and more. - [AI Components](https://docs.builderbox.ai/ai/components.md): The Builder Box includes several pre-built AI components that you can use to quickly add AI features to your application. - [AI Integration Overview](https://docs.builderbox.ai/ai/index.md): The Builder Box provides a powerful AI integration layer that makes it easy to build AI-powered features in your SaaS application. This documentation will guide you through setting up and using AI capabilities in your application. - [OpenRouter Integration](https://docs.builderbox.ai/ai/open-router.md): OpenRouter provides a unified API to access multiple large language models (LLMs). This guide will show you how to use OpenRouter in your application. - [AI Setup Guide](https://docs.builderbox.ai/ai/setup.md): This guide will walk you through setting up AI capabilities in your application using the Builder Box. - [API Overview](https://docs.builderbox.ai/api-setup/index.md): The Builder Box uses tRPC and Hono for type-safe API communication between the client and server. This documentation will guide you through setting up, using, and extending the API. - [Protected Routes](https://docs.builderbox.ai/api-setup/protected.md): Protected routes require user authentication and are used for endpoints that should only be accessible to logged-in users. - [Public Routes](https://docs.builderbox.ai/api-setup/public.md): Public routes are accessible without authentication and are perfect for endpoints that need to be available to all users. - [Subscribed Routes](https://docs.builderbox.ai/api-setup/subscribed.md): Subscribed routes require both user authentication and an active subscription. These routes are perfect for premium features and subscription-gated content. - [Email & Password Authentication](https://docs.builderbox.ai/auth/email-pass.md): The boilerplate provides a complete email and password authentication system with email verification and password reset capabilities. - [Authentication](https://docs.builderbox.ai/auth/index.md): The Builder Box uses BetterAuth for handling authentication, providing a robust and secure authentication system with multiple sign-in methods and seamless integration with payment providers. - [Protected Routes](https://docs.builderbox.ai/auth/protected-routes.md): The boilerplate provides a robust system for protecting routes and handling authentication using Next.js middleware and BetterAuth. - [Password Reset](https://docs.builderbox.ai/auth/reset-pass.md): The boilerplate provides a complete password reset flow with forgot password and reset password functionality. - [Session Management](https://docs.builderbox.ai/auth/sessions.md): Learn how to manage user sessions in your application - [Social Authentication](https://docs.builderbox.ai/auth/socials.md): The boilerplate supports social authentication through various providers, currently including Google OAuth. The system is built to be easily extensible for additional providers. - [Hono + Bun Setup](https://docs.builderbox.ai/backend-options/hono-bun.md): This is the **default configuration** for Builder Box. Hono is a lightweight, fast web framework that works excellently with Bun's runtime. - [Hono + Node Setup](https://docs.builderbox.ai/backend-options/hono-node.md): This configuration uses the Hono web framework with Node.js runtime. It provides the lightweight benefits of Hono with the familiar Node.js ecosystem. - [Backend Options](https://docs.builderbox.ai/backend-options/index.md): Builder Box offers 4 different backend configurations to suit your development preferences and project requirements. Each option provides the same functionality but with different technology stacks and bundlers. - [NextAPI + Bun Setup](https://docs.builderbox.ai/backend-options/nextapi-bun.md): This configuration combines Next.js API routes with Bun's fast runtime. It provides the best of both worlds: Next.js's familiar API structure with Bun's performance benefits. - [NextAPI + Node Setup](https://docs.builderbox.ai/backend-options/nextapi-node.md): This configuration uses Next.js API routes as the backend with Node.js runtime. The key difference is that all server environment variables need to be copied to the web application. - [CMS Setup & Usage](https://docs.builderbox.ai/cms/index.md): How to set up, configure, and use the Content Management System (CMS) in your project. - [CMS Database Setup](https://docs.builderbox.ai/database/cms-setup.md): Your CMS requires a PostgreSQL database. You can use a free cloud database with Supabase or set up Postgres locally. - [Database](https://docs.builderbox.ai/database/index.md): Our application uses Supabase as the primary database provider, which is built on top of PostgreSQL. We use Prisma as our ORM to interact with the database. - [Supabase Setup](https://docs.builderbox.ai/database/supabase-setup.md): This guide will walk you through setting up Supabase for both local development and production environments. - [Email System](https://docs.builderbox.ai/email/index.md): Learn how to use Resend and React Email to send beautiful, responsive emails in your application. - [Authentication Components](https://docs.builderbox.ai/frontend/auth.md) - [CMS Components](https://docs.builderbox.ai/frontend/cms-integration.md): The web app supports dynamic content through Payloads CMS integration and content components. - [Component Library & Usage](https://docs.builderbox.ai/frontend/components.md) - [Customization Tips](https://docs.builderbox.ai/frontend/customization.md): Tips for customizing the frontend and its components. - [Dashboard Features](https://docs.builderbox.ai/frontend/dashboard.md): Overview of the main dashboard, its structure, navigation, and all core features and settings for authenticated users in the Boilerplate. - [Environment Variables](https://docs.builderbox.ai/frontend/environment.md): How to configure environment variables for the frontend. - [Example App Pages](https://docs.builderbox.ai/frontend/examples.md): How to use the built-in AI and Todos pages as templates for rapid prototyping in the Ultimate Boilerplate. - [Getting Started](https://docs.builderbox.ai/frontend/getting-started.md): How to install, configure, and run the Builder Box frontend. - [Frontend Overview](https://docs.builderbox.ai/frontend/index.md): This guide covers everything you need to get started, customize, and extend the `@/web` app, including setup, environment configuration, component usage, landing page variants, and CMS/content integration. - [Landing Page Variants](https://docs.builderbox.ai/frontend/landing-pages.md): Most landing page and feature components are located in `@/features`, while general-purpose and UI components are in `ui/`. - [Troubleshooting](https://docs.builderbox.ai/frontend/troubleshooting.md): Common issues and solutions for the frontend. - [Introduction](https://docs.builderbox.ai/index.md): Builder Box - A production-ready, full-stack template that gets your SaaS up and running in minutes, not weeks - [Payments Overview](https://docs.builderbox.ai/payment/index.md): The Builder Box provides a robust payment system that supports both Stripe and Polar.sh as payment providers. This guide will help you understand the payment architecture and how to implement it in your application. - [Polar.sh Setup](https://docs.builderbox.ai/payment/polar.md): This guide will walk you through setting up Polar.sh as a payment provider in your application. - [Stripe Setup](https://docs.builderbox.ai/payment/stripe.md): This guide will walk you through setting up Stripe as a payment provider in your application. - [Quick Start](https://docs.builderbox.ai/quickstart.md): Spin up your Builder Box project in minutes with this step-by-step guide. - [Resources](https://docs.builderbox.ai/resources/index.md): Helpful resources and references for Builder Box - [SEO Page ](https://docs.builderbox.ai/seo/index.md): Metadata Configuration in The Builder Box Codebase - [Supabase Storage](https://docs.builderbox.ai/storage/index.md): Supabase Storage provides a simple and secure way to store and serve files in your application. It is built on top of PostgreSQL and provides a RESTful API for file operations. - [Architecture](https://docs.builderbox.ai/structure/architecture.md): The Builder Box follows a modular, scalable architecture designed for maintainability and rapid development. This document outlines the key architectural decisions and patterns used throughout the project. - [Development Guide](https://docs.builderbox.ai/structure/guide.md): This guide outlines the best practices and patterns to follow when developing with the Builder Box. - [Introduction](https://docs.builderbox.ai/structure/index.md): Welcome to the Builder Box - a production-ready, AI-powered Next.js boilerplate designed for rapid SaaS and app prototyping. This documentation will guide you through every aspect of the project structure, architecture, and best practices - [Technologies](https://docs.builderbox.ai/technologies.md): Comprehensive overview of technologies used in the Ultimate Cursor AI Boilerplate - [Global Styles & Theming Overview](https://docs.builderbox.ai/theme/index.md) ## OpenAPI Specs - [openapi](https://docs.builderbox.ai/api-reference/openapi.json)