Skip to main content
Learn how to create an InsForge project and build a Svelte app using AI tools like Cursor.

1. Create an InsForge project

Create a new InsForge project at insforge.dev.

2. Connect InsForge

Two pieces:
  • CLI link — see the Quickstart to run npx @insforge/cli link --project-id <your-project-id> so the agent can read your project ID and keys.
  • MCP setup — see MCP Setup for the per-editor config (Cursor, Claude Code, Windsurf, Codex, VS Code).
With both wired up the agent can read schemas, run queries, and deploy code from your editor.

3. Build your app with one prompt

In Cursor or your AI assistant, use this prompt:
Your AI will generate the complete application including database setup and UI. No need to write code manually - the AI creates everything for you.

4. What the AI generates

Your AI assistant will automatically create files like these. You don’t need to touch them manually. InsForge client at src/lib/insforge.ts:
src/lib/insforge.ts
Sports component at src/lib/components/Sports.svelte:
src/lib/components/Sports.svelte

5. Start the app

Run the development server, go to http://localhost:5173 in a browser and you should see the list of sports.

Next: Extend your app with more prompts

Try these prompts to add more features to your app: