Documentation

Guides and references

Getting Started

Installation

Install and set up NextBento for your project.

Prerequisites

  • Node.js 18.17 or greater (22 recommended). Check with node -v.
  • pnpm (recommended) or npm/yarn. Install pnpm: npm install -g pnpm.

1. Clone the Repository

git clone https://github.com/NextBento-dev/nextbento.git your-app-name
cd your-app-name

2. Install Dependencies

Using pnpm (recommended):

pnpm install

Or with npm:

npm install

3. Environment Setup

Copy the example environment file:

cp .env.example .env.local

Edit .env.local with your service credentials. You'll need:

See Environment Variables for the full list.

4. Run the Development Server

pnpm dev

Open http://localhost:3000 in your browser.

Landing page 1
Landing page 2

5. First Run

On first load you may see:

  • Auth errors — Expected until Supabase is configured
  • Stripe errors — Expected until Stripe is configured
  • Redirect to login — Dashboard routes require authentication

Complete Supabase Setup, Stripe Setup, and Resend Domain Verification to resolve these.

Troubleshooting

Port 3000 already in use

pnpm dev -- -p 3001

Module not found errors

Clear the cache and reinstall:

rm -rf .next node_modules
pnpm install
pnpm dev

Supabase connection errors

Verify NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY in .env.local. Ensure your Supabase project is running.

Stripe webhook errors

Use the Stripe CLI to forward webhooks locally. See Stripe Setup.

Next Steps