Quickstart
Get Dyrected running — choose Cloud for zero infrastructure or self-hosted for full control.
1. Create your site
Sign up at app.dyrected.com and create a new Site.
2. Copy the AI Prompt
Immediately after creating your site, you will see a Setup Prompt. This is pre-filled with your Site ID and API Key.
3. Give it to your AI
Paste that prompt into your AI tool (Claude, GPT, Cursor, etc.).
The AI will automatically:
- Install the necessary dependencies (
@dyrected/admin,@dyrected/core). - Create a
dyrected.config.tswith your initial collections. - Embed the Admin Dashboard directly into your React, Vue, or Next.js application at a route like
/admin. - Sync your Schema: The AI will run
npx @dyrected/cli sync:schemafor you so your cloud database is ready immediately.
4. Build and ship
Run your site and your new dashboard will be live at yourwebsite.com/admin.
The easiest way to get started with Next.js is using the interactive CLI.
1. Initialize
npx @dyrected/cli initChoose Next.js and SQLite (for local development). The CLI will:
- Install
@dyrected/core,@dyrected/next, and@dyrected/db-sqlite. - Create a
dyrected.config.ts. - Mount the API route at
app/dyrected/[...route]/route.ts. - Mount the Admin UI at
app/cms/[[...route]]/page.tsx. - Generate a
.env.example.
2. Configure and Run
- Copy
.env.exampleto.envand setDYRECTED_JWT_SECRET. - Run
pnpm dev. - Open
http://localhost:3000/cmsto start managing content.
The easiest way to get started with Nuxt is using the interactive CLI.
1. Initialize
npx @dyrected/cli initChoose Nuxt 3 and SQLite. The CLI will:
- Install dependencies and create
dyrected.config.ts. - Mount the Admin UI at
pages/cms/[[...route]].vue. - Generate a
.env.example.
2. Configure and Run
- Register the module: Add
'@dyrected/nuxt'to yourmodulesinnuxt.config.ts. - Environment: Copy
.env.exampleto.envand configure your secrets. - Run: Start your project with
pnpm dev. - Dashboard: Open
http://localhost:3000/cmsto start managing content.
Next steps
- Mount the Admin UI — let editors manage content at
/admin - Building a Blog — full walkthrough with frontend pages
- Adding Authentication — add a users collection with login
- Deploy with Dyrected Cloud — go live with zero infrastructure
The npx @dyrected/cli init command will generate a specialized AI prompt tailored to your project. Paste it into Claude, Cursor, or ChatGPT to instantly scaffold your content model and frontend logic.