System Requirements
Python
Python 3.7 or higher
Operating System
Linux, macOS, or Windows
Memory
Minimum 512MB RAM
Network
Internet connection for API calls
Step 1: Clone the Repository
Clone the Lead Intelligence Engine from GitHub:Step 2: Create Virtual Environment
- Linux/macOS
- Windows PowerShell
- Windows CMD
Step 3: Install Dependencies
Install all required Python packages:What each dependency does
What each dependency does
- requests: HTTP library for fetching web pages
- beautifulsoup4: HTML parsing and text extraction
- python-dotenv: Environment variable management from .env files
- groq: Official Groq SDK for LLM API access
- python-telegram-bot: Telegram Bot API wrapper (optional if not using bot)
Verify Installation
Confirm all packages are installed:Step 4: Configure Environment Variables
Create a.env file in the project root directory:
.env
Getting API Credentials
Groq API Key
- Visit console.groq.com
- Sign up or log in
- Navigate to API Keys section
- Click Create API Key
- Copy the key (starts with
gsk_)
Free tier includes 7,000 RPD (requests per day) with llama-3.3-70b
Coda Credentials
- Go to coda.io/account
- Scroll to API Settings
- Click Generate API Token
- Copy the token
- Get your Doc ID and Table ID from the Coda URL
Coda Integration Guide
Detailed setup instructions for Coda CRM integration
Step 5: Verify Installation
Run a test to ensure everything is configured correctly:✓ Installation successful, you’re ready to go!
Test with a Real URL
Try analyzing a test URL:Project Structure
After installation, your directory should look like this:Optional: Telegram Bot Setup
If you want to use the Telegram bot interface:Telegram Bot Guide
Full guide on bot commands, rate limiting, and production deployment
Troubleshooting
pip install fails with SSL error
pip install fails with SSL error
Upgrade pip first:Then retry the dependency installation.
Virtual environment not activating on Windows
Virtual environment not activating on Windows
If PowerShell blocks script execution:Then retry activation.
Module not found errors
Module not found errors
Make sure:
- Virtual environment is activated (you should see
(venv)in prompt) - You installed dependencies in the correct venv
- You’re running Python from the venv path
Cannot find .env file
Cannot find .env file
The If missing, create it:
.env file must be in the same directory as main.py. Check:Groq API Key not working
Groq API Key not working
Common issues:
- Key copied with extra spaces (trim whitespace)
- Using wrong key format (must start with
gsk_) - API key quota exceeded (check console.groq.com)
- Missing
.envfile or wrong location
Next Steps
Quickstart Guide
Analyze your first business URL in 2 minutes
Configuration
Customize services, prompts, and knowledge base
CLI Usage
Learn batch processing and automation
Architecture
Understand how the system works