Prerequisites
- Docker Compose (recommended)
- Manual
Install Docker Desktop or Docker Engine with the Compose plugin. No other runtime dependencies are required — Docker pulls PostgreSQL, Redis, and Python images automatically.See Deploy OTAS with Docker Compose for the full walkthrough.
Manual setup
1
Start UASAM
UASAM handles all user authentication, project management, and agent key issuance.Create an env file at UASAM is now listening on http://localhost:8000.
backend/uasam/env/env-local.env (or export the variables directly) with your PostgreSQL and Redis credentials, then run migrations and start the server:2
Start Brain
Brain captures events from your SDK and agents and serves all analytics data.Create Brain is now listening on http://localhost:8002. If you need async Celery processing, start the worker and beat in separate terminals:
backend/brain/env/env-local.env with credentials for Brain’s own PostgreSQL database (port 5433) and Redis (port 6378), then migrate and start:3
Start the frontend
The React dashboard connects to UASAM and Brain using the URLs defined in The Vite dev server starts on http://localhost:5173.
src/constants.ts.Port reference
If any of your services run on a non-default host or port, update
UASAM_ENDPOINT and BRAIN_ENDPOINT in frontend/otas-frontend/src/constants.ts and restart the Vite dev server. See Configure OTAS frontend endpoints for details.