Quick Start¶
Get Synaptiq running locally in under 10 minutes.
Prerequisites¶
| Tool | Version | Check |
|---|---|---|
| Java | 21+ (JDK) | java --version |
| Node.js | 22+ | node --version |
| pnpm | 10+ | pnpm --version |
| Maven | 3.9+ | mvn --version |
| Docker | Latest | docker --version |
1. Clone & Install¶
2. Start Infrastructure¶
This starts:
- MongoDB 8 — Atlas Local with vector search capabilities
- Network configuration for replica set support
3. Configure Environment¶
Create or update your .env file with your LLM API key:
# Required: Google Gemini API key for chat
GOOGLE_API_KEY=your-gemini-api-key
# Auth mode: 'builtin' for local JWT, 'firebase' for Firebase Auth
AUTH_PROVIDER=builtin
# Optional: Ollama for local embeddings (required for RAG/vector search)
# Ensure Ollama is running: ollama serve
# Pull the embedding model: ollama pull nomic-embed-text
Getting a Gemini API Key
- Go to Google AI Studio
- Create a new API key
- Copy it to your
.envfile
4. Seed Demo Data (Optional)¶
This creates:
| Data | Details |
|---|---|
| Admin User | admin@synaptiq.dev / admin123 |
| Demo Tenant | demo-tenant with sample configuration |
| Sample Workflows | ABA Therapy Goal Generator and templates |
| RBAC Scopes | 46 permission scopes with role mappings |
5. Start the Platform¶
6. Access the Application¶
| Service | URL |
|---|---|
| Frontend | http://localhost:4200 |
| Backend API | http://localhost:8080 |
| Swagger UI | http://localhost:8080/swagger-ui.html |
| Health Check | http://localhost:8080/actuator/health |
Default Login¶
| Field | Value |
|---|---|
admin@synaptiq.dev |
|
| Password | admin123 |
7. First Steps After Login¶
- Chat — Send a message like "Hello, what can you do?" to verify the LLM connection
- Workflows — Navigate to the Workflow tab to see sample workflows
- Create a Workflow — Try "Generate a workflow for customer onboarding"
- Execute — Run a workflow and observe the multi-agent execution
Troubleshooting¶
Backend fails to start with bean conflict
If you see required a single bean, but 2 were found for ChatModel:
This means both Gemini and Ollama chat models are active. The dev profile should exclude OllamaChatAutoConfiguration. Check application-dev.yml:
Frontend shows 'Network Error'
Ensure the backend is running on port 8080. Check:
Chat returns empty responses
Verify your GOOGLE_API_KEY is valid:
Workflows don't appear in the UI
Ensure you've seeded the database and the workflow documents have the correct tenantId field (camelCase, not tenant_id).
Next Steps¶
- 📖 Platform Overview — Tour the key features
- 💬 Chat & AI Guide — Learn the chat interface
- 🔧 Workflow Designer — Build multi-agent workflows
- 🏗️ Architecture — Understand the system design