Prerequisites
- Node.js 18+
- PostgreSQL 14+
- A server or container runtime (Docker, Kubernetes, etc.)
1. Set up PostgreSQL
Create a database for Griffin:2. Configure the hub
Set the required environment variables:3. Run database migrations
4. Start the hub
Standalone mode (recommended for getting started)
Runs the hub with a built-in executor — no separate agents needed:Distributed mode
Runs the hub as a control plane only. You’ll need to start agents separately:5. Generate an API key
If using API key authentication:6. Deploy monitors
Running with Docker
Exampledocker-compose.yml:
Distributed deployment
For multi-region execution, run the hub separately from executor agents:Hub
Agent (on each executor machine)
Enabling secrets
Configure a secret provider for resolvingsecret() references at execution time: