Installation

Last updated on 2026-04-05

This guide walks you through setting up the NeuralDesk AI Ops Dashboard from scratch.

System Requirements

  • Node.js 18.17 or later
  • pnpm (recommended), npm, or yarn
  • Git for cloning the repository

Step 1 -- Clone the Repository

Use the private repository URL from your purchase confirmation email:

git clone <your-repo-url> neuraldesk-ai-ops-dashboard
cd neuraldesk-ai-ops-dashboard

Step 2 -- Install Dependencies

pnpm install

This installs Next.js 16, React 19, Tailwind CSS v4, shadcn/ui components, Recharts, date-fns, and all utility libraries.

Key Dependencies

Package Purpose
next 16.x React framework
react 19.x UI library
tailwindcss 4.x CSS framework with oklch tokens
@base-ui/react Accessible UI primitives (shadcn/ui v4)
recharts 3.x Dashboard and analytics charts
date-fns 4.x Date formatting and utilities
lucide-react Icons
next-themes Dark mode

Step 3 -- Start the Dev Server

pnpm dev

Visit http://localhost:3000 to see the AI ops dashboard.

Step 4 -- Verify the Setup

Navigate through key pages to confirm everything works:

  • / -- Root page
  • /dashboard -- AI ops dashboard with model performance stats, token usage chart, cost tracking, latency trends
  • /models -- Model registry with deployment status and version history
  • /prompts -- Prompt library with templates and A/B test results
  • /usage -- Token usage analytics with cost breakdown by model
  • /logs -- Request/response logs with filtering and search
  • /errors -- Error tracking with frequency charts and resolution status
  • /playground -- Prompt testing against models with parameter tuning
  • /team -- Team members, roles, and API key management
  • /settings -- General configuration and model defaults
  • /login -- Authentication page

Available Scripts

Command Description
pnpm dev Start dev server
pnpm build Create production build
pnpm start Run production server
pnpm lint Run ESLint checks

Integrating into an Existing Project

  1. Copy components/ into your project (ui, layout, dashboard, models, prompts, usage, logs, errors, playground, team, settings directories)
  2. Copy data/seed.ts and types/index.ts
  3. Copy design tokens from app/globals.css
  4. Install the required dependencies from package.json
  5. Wire up seed data to your actual AI/LLM backend, observability platform, or API gateway

Note: All pages use seed data from data/seed.ts. Replace with your own data source (API, database, LLM provider SDK) when integrating.

Troubleshooting

Port 3000 already in use:

pnpm dev --port 3001

TypeScript errors after installation:

npx tsc --noEmit

Check that tsconfig.json path aliases match your project structure.

shadcn/ui component issues:

The NeuralDesk AI Ops Dashboard uses shadcn/ui v4 with @base-ui/react (not Radix). Components use the render prop pattern instead of asChild. See the shadcn/ui v4 docs for details.