Copy this checklist and check off items as you complete them.
-
Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" -
Add Homebrew to PATH (after installation)
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile eval "$(/opt/homebrew/bin/brew shellenv)"
-
Install Node.js
brew install node
Verify:
node --versionshould show v20.x.x+ -
Install Docker Desktop
- Download: https://www.docker.com/products/docker-desktop
- Install and start Docker Desktop app
-
Get Anthropic API Key
- Sign up: https://console.anthropic.com/
- Create API key
- Copy key (starts with
sk-ant-...)
-
Edit .env file
cd /Users/adrianfolkeson/Projekt/support-intelligence nano .envAdd your
ANTHROPIC_API_KEY=sk-ant-... -
Run quick start script
./QUICK_START.sh
This installs dependencies, builds code, starts database, runs migrations
-
Connect to database
docker exec -it support-intelligence-db psql -U postgres -d support_intelligence -
Insert organization
INSERT INTO organizations (name, external_api_key, external_api_url) VALUES ('Test Company', 'test_key', 'https://api.example.com/tickets') RETURNING id;
Write down the ID: _______________
-
Exit database
\q
-
Connect to database again
docker exec -it support-intelligence-db psql -U postgres -d support_intelligence -
Insert test tickets (Copy from INSTALL_INSTRUCTIONS.md Step 7, replace
<ORG_ID_HERE>with your ID) -
Exit database
\q
-
Run AI analysis
npm run analyze <YOUR_ORG_ID>
Should see: "Analysis complete. Total tickets analyzed: 5"
-
Generate report
npm run report <YOUR_ORG_ID>
Should see: Weekly report with insights and recommendations
-
Start API server (optional)
npm run api
Visit: http://localhost:3000/health
-
Query API (in new terminal)
curl http://localhost:3000/api/organizations/<YOUR_ORG_ID>/dashboard
- Start scheduler
Or run everything in Docker:
npm start
docker-compose up
- Scheduler is running (check terminal output)
- Database has tickets:
docker exec -it support-intelligence-db psql -U postgres -d support_intelligence -c "SELECT COUNT(*) FROM support_tickets;"
- Analysis results exist:
docker exec -it support-intelligence-db psql -U postgres -d support_intelligence -c "SELECT COUNT(*) FROM ticket_analysis;"
- Reports generated:
docker exec -it support-intelligence-db psql -U postgres -d support_intelligence -c "SELECT * FROM weekly_reports ORDER BY created_at DESC LIMIT 1;"
- Customize ingestion for your support platform (edit
src/services/ingestion.ts) - Tune AI analysis prompts (edit
src/services/analysis.ts) - Adjust scheduler timing (edit
src/scheduler/index.ts) - Build frontend dashboard (React/Next.js)
- Deploy to production (see README.md)
If something doesn't work:
- Check logs: Look at terminal output for errors
- Verify database:
docker psshould show PostgreSQL running - Check .env: Make sure ANTHROPIC_API_KEY is set
- Rebuild:
npm run buildthen retry - Restart Docker:
docker-compose down && docker-compose up -d
- ✓ Prerequisites: 5-7 minutes (one-time)
- ✓ Project setup: 3 minutes
- ✓ Test data: 2 minutes
- ✓ Testing: 2 minutes
- Total: ~15 minutes
- INSTALL_INSTRUCTIONS.md - Detailed step-by-step guide
- QUICK_START.sh - Automated setup script
- README.md - Complete documentation
- PROJECT_OVERVIEW.md - Technical architecture
✅ = Completed ⏳ = In progress ❌ = Blocked/needs attention
Good luck! 🚀