Step 12: Create the Next.js project
Open your terminal and run:
npx create-next-app@latest fabulosa-scheduler
When prompted, answer:
- TypeScript? Yes
- ESLint? Yes
- Tailwind CSS? Yes
-
src/ directory? No
- App Router? Yes
- Customize import alias? No
Step 13: Enter the project and start the dev server
cd fabulosa-scheduler
npm run dev
Open your browser and go to http://localhost:3000.
You should see the Next.js welcome page.
Step 14: Install the AI SDK and Zod
Stop the dev server (Ctrl+C) and install the packages we'll need
for agents:
npm install ai @ai-sdk/react zod
-
ai — the core Vercel AI SDK (agents, tools,
streaming)
-
@ai-sdk/react — React hooks for chat
interfaces (useChat)
-
zod — schema validation for tool inputs
Step 15: Install the Neon serverless driver
npm install @neondatabase/serverless
For local development, we'll also use a lightweight SQLite
stand-in:
npm install sql.js
npm install --save-dev @types/sql-js