Everything you need to set up, configure, and deploy your AI-powered lead generation system.
On This Page
Architecture
The platform orchestrates an asynchronous pipeline with robust state management across three deployment layers.
Pipeline
Five automated stages execute daily, managed by APScheduler with configurable IST scheduling.
Google Places API scrapes local businesses matching your target industry and location parameters.
Groq Llama 3 analyzes scraped website data against your Ideal Customer Profile (ICP).
AI generates hyper-personalized email copy analyzing prospect pain points and value propositions.
Brevo SMTP delivers emails with configurable intervals, rate limiting, and domain verification.
Daily Telegram alerts on system health, lead counts, qualification rates, and campaign metrics.
Stack
Core backend runtime
Async REST API framework
Frontend UI library
Next-gen build tool
Utility-first styling
Relational database
Container deployment
Type-safe frontend
Setup
Follow these steps meticulously to run the complete system locally.
# Option A: Download the free self-hosted package from GitHub Releases
# https://github.com/colddsam/coldscout/releases?q=oss-v
# Option B: Clone the full repository
git clone https://github.com/colddsam/coldscout.git
cd coldscout/coldscout-osspython -m venv venv
# Windows:
venv\Scripts\activate
# macOS/Linux:
source venv/bin/activatepip install -r requirements.txt
playwright install chromiumEnsure your .env file is configured first.
python scripts/create_tables.py
python scripts/seed_admin.py💡 Save the generated admin credentials to log into the dashboard.
uvicorn app.main:app --reload --host 127.0.0.1 --port 8000API available at: http://localhost:8000/docs
cd frontend/localleadpro-dashboardnpm installRequires Node.js 18+
Create a .env file:
# Backend API Location
API_BASE_URL=http://localhost:8000
# API Key (injected by proxy)
API_KEY=your_secret_api_key_here
# Frontend Proxy Access
VITE_API_BASE_URL=http://localhost:3000
VITE_API_KEY=your_secret_api_key_here# Starts proxy on :3000 and Vite on :5173
npm run devDashboard available at: http://localhost:5173
npm run buildThe dist/ output can be deployed to Vercel, Netlify, or AWS S3.
Integrations
All integrations are available on free tiers. Follow each guide to collect your keys.
GROQ_API_KEYSign up at Groq Cloud
Navigate to API Keys
Create API Key
Copy key (starts with gsk_)
GOOGLE_PLACES_API_KEYCreate GCP Project
Enable Places API
Create Credentials → API Key
$200/mo free credit included
DATABASE_URLCreate free tier project
Settings → Database → Copy URI
Add +asyncpg to URI
Copy URL & Anon Key from API settings
BREVO_SMTP_PASSWORDSign up free
Profile → SMTP & API tab
Generate new SMTP key
Verify sender domain/email
IMAP_PASSWORDEnable 2-Step Verification
Search "App Passwords"
Create app: "ColdScout"
Copy 16-char code
TELEGRAM_BOT_TOKENMessage @BotFather → /newbot
Set name & username
Copy API Token
Get Chat ID from @userinfobot
CRON_JOB_API_KEYCreate free account
Settings → API Keys
Generate new key
Run setup_cronjob.py script
RENDER_DEPLOY_HOOKRepo → Settings → Secrets
Add all env vars as secrets
Get Render Deploy Hook URL
Push to main triggers deploy
Session encryption & API security
APP_SECRET_KEYRun generate_secrets.py
Auto-generates secure hex strings
Appends to .env file
Generates APP_SECRET_KEY, API_KEY, SALT
Configuration
42 tokens required for full functionality. All must be mirrored across Render and Vercel.
APP_ENVproduction or developmentAPP_SECRET_KEYHex string for session saltAPI_KEYPublic access key for APISECURITY_SALTRandom string for hashingBACKEND_CORS_ORIGINSComma-separated allowed domainsAPP_URLYour Render Service URLIMAGE_BASE_URLCDN link for branding assetsVITE_API_KEY(Frontend) Must match Backend API_KEYDeployment
Three services, three steps. Your system running 24/7 in the cloud.
Step 1
Step 2
Step 3
Production
Decentralized architecture ensuring high availability and performance.
No Proxy Needed in Production
In production, the React app communicates directly with the Render API. The server/index.ts proxy is only for local development to bypass browser CORS constraints. Simply point VITE_API_BASE_URL to your Render URL.