Skip to content

Quick start

This quick start helps you run or integrate with Prego.

Prerequisites

  • Node.js 18+
  • pnpm or npm
  • Environment variables for auth, control-plane, and billing URLs when connecting to a real backend.

Run admin-web locally

  1. Clone the repo and install dependencies.
  2. Set env vars (e.g. .env.local).
  3. Start the dev server: pnpm dev
  4. Open the app (e.g. http://localhost:3002).

Call the Control Plane API

  1. Obtain base URL and credentials for the Control Plane API.
  2. Use the API reference for endpoints.
  3. Call health or a non-sensitive endpoint to verify connectivity.

Next steps