Time: 5 minutes Prerequisites: Docker and Docker Compose installed
This guide gets DecisionBox running locally with Docker Compose. By the end, you'll have the dashboard open and ready to create your first project.
git clone https://github.com/decisionbox-io/decisionbox-platform.git
cd decisionbox-platform
# Start all services
docker compose up -dThis starts three containers:
| Service | Port | Description |
|---|---|---|
| MongoDB | 27017 | Database (projects, discoveries, secrets) |
| API | 8080 | REST API (not exposed publicly — dashboard proxies to it) |
| Dashboard | 3000 | Web UI |
Wait about 10 seconds for all services to start, then open http://localhost:3000.
Click New Project and fill in:
- Basics — Project name, domain (e.g., Gaming or Social Network), category (e.g., Match-3, Idle, Casual, Content Sharing)
- Data Warehouse — Select your warehouse provider and enter connection details
- AI Provider — Select your LLM provider and enter model name
- Schedule — Leave disabled for now (you'll trigger runs manually)
Click Create Project.
Go to Settings (left sidebar) → Secrets tab.
- Select LLM API Key from the dropdown
- Paste your API key (e.g.,
sk-ant-...for Claude,sk-...for OpenAI) - Click Save Secret
The key is encrypted and stored per-project. It's never exposed in full via the API.
Click the Run discovery button in the top bar. The AI agent will:
- Discover your warehouse table schemas
- Autonomously write and execute SQL queries
- Analyze results to find patterns
- Validate findings against your data
- Generate actionable recommendations
You can watch the progress live — each step shows what the AI is thinking, what SQL it wrote, and what it found.
When the run completes, click the discovery card to see:
- Insights — Severity-ranked findings with confidence scores
- Recommendations — Specific action steps with impact estimates
- Transparency — Every SQL query the AI ran, its reasoning, and validation results
- Installation Guide — Other ways to install (binary, from source)
- Your First Discovery — Detailed walkthrough with explanations
- Configuring LLM Providers — Set up Claude, OpenAI, Vertex AI, Bedrock, or Ollama
- Configuring Warehouses — BigQuery or Redshift setup details
# Stop all services (data preserved)
docker compose down
# Stop and remove all data
docker compose down -v