Quickstart
Go from zero to a working backend in under 5 minutes.
Prerequisites
You need a DYPAI account. Sign up free β no credit card required.
1. Create your project
Sign in and create an organization
Go to dypai.ai and sign in. Create an organization if you don't have one β it's the container for your projects.
Create a new project
Click New Project, choose a name and plan. DYPAI provisions your database, auth, and storage automatically in seconds.
2. Connect your IDE via MCP
The fastest way to build is by connecting your IDE to DYPAI using the Model Context Protocol (MCP). Your AI agent gets access to 20+ tools to create tables, endpoints, auth, and more.
Open the MCP dialog
In your project dashboard, click the MCP button in the header.
Copy the configuration
Copy the JSON config for your IDE. Works with Cursor, Claude Code, Windsurf, Codex, and any MCP-compatible tool.
Paste into your IDE
Add the config to your IDE's MCP settings:
- Claude Code:
.mcp.jsonin your project root - Cursor:
.cursor/mcp.json - Codex:
.codex/config.toml
Start building
Ask your AI agent anything:
"Create a users table with email, name, and role"
"Build a POST /orders endpoint that saves to the database and sends an email"
"Set up authentication with Google OAuth"
CLI installer
Prefer the terminal? From your machine (with Node.js), run:
npx @dypai-ai/install
It walks you through choosing your IDE and writes the MCP config. For scripts or CI, use --client and --token β see npx @dypai-ai/install --help.
Download a starter template
Go to the Frontend tab in your project and download a starter template with the SDK and MCP pre-configured for your IDE.
3. Install the SDK
Connect your frontend to your DYPAI backend:
npm install @dypai-ai/client-sdk
Create the client:
// lib/dypai.ts
import { createClient } from '@dypai-ai/client-sdk'
export const dypai = createClient(
import.meta.env.VITE_DYPAI_URL // or process.env.NEXT_PUBLIC_DYPAI_URL
)
Your project URL is https://YOUR_PROJECT_ID.dypai.dev. Find it in the project dashboard.
Security
Never expose API keys in browser code. The client SDK uses JWT authentication by default β no API key needed for user-facing apps.
4. Deploy your frontend New
Deploy your app to your-project.dypai.app with one command:
npx @dypai-ai/cli deploy
The CLI builds your project, uploads it, and gives you a live URL. Learn more about frontend hosting.