Skip to content

Quick Start Guide

paihari edited this page Aug 20, 2025 · 1 revision

πŸš€ Quick Start Guide

Get your Dynamic AML Detection Platform running in just 5 minutes!

🎯 Prerequisites

  • Python 3.11+ installed
  • Git for cloning the repository
  • Web browser for accessing the dashboard

⚑ 5-Minute Setup

Step 1: Clone and Setup

# Clone the repository
git clone https://github.com/paihari/aml-controller.git
cd aml-controller

# Install dependencies
pip install -r requirements.txt

Step 2: Start the System

# Launch the AML platform
python app.py

The system will automatically:

  • βœ… Initialize SQLite database
  • βœ… Load live sanctions data from OpenSanctions API
  • βœ… Generate sample transactions
  • βœ… Create AML alerts
  • βœ… Start the web server

Step 3: Access the Dashboard

Open your browser and navigate to:

🎲 Generate More Data

If you want more test data, visit:

http://localhost:5000/api/initialize

This will generate additional transactions and alerts for testing.

🌐 Try the Live Demo

Don't want to install locally? Try our live demo: https://aml-controller.onrender.com/

πŸ“Š What You'll See

Dashboard Features

  • Real-time Alerts - Live AML detection results
  • Risk Analytics - Transaction risk distribution
  • Interactive Charts - Visual data representation
  • Transaction History - Complete audit trail

Sample Alerts

The system will generate alerts for:

  • 🚫 Sanctions Matches - OFAC watchlist hits
  • 🌍 Geography Risk - High-risk country transactions
  • πŸ’° Structuring - Multiple small transactions
  • ⚑ Velocity Anomalies - Unusual transaction frequency
  • πŸ”„ Round-Trip - Circular money flows

πŸ”§ Next Steps

❓ Troubleshooting

Common Issues

Port already in use:

# Check what's using port 5000
lsof -i :5000

# Kill the process or use a different port
PORT=8000 python app.py

Missing dependencies:

# Upgrade pip and retry
pip install --upgrade pip
pip install -r requirements.txt

Database issues:

# Remove existing database to reset
rm aml_database.db
python app.py

πŸ’‘ Pro Tips

  1. Monitor Logs - Watch the console output for system status
  2. Check Health - Visit /api/health to verify system status
  3. Generate Data - Use /api/initialize for more test scenarios
  4. API Explorer - Try different API endpoints to understand the system

Ready to dive deeper? Check out the System Architecture to understand how everything works!