Setup & System Status
All checks below must be Complete before ingestion will work. Fix each Required item in order.
Setup Checklist
Items are checked live on each page load. Refresh after making changes.
Environment variables
SUPABASE_URL, SUPABASE_SERVICE_ROLE_KEY, and OPENAI_API_KEY are all set.
Supabase connected
Connected successfully.
Database schema (migration 001)
All tables present: niches, playbooks, source_signals, intent_scores, lead_candidates, outreach_drafts.
Database schema (migration 002)
ingestion_runs table is present.
OpenAI API key
Key is set. Use the "Test OpenAI" button below to confirm it is valid.
Reddit RSS feeds
Public feeds — no credentials required. Use the "Test RSS" button below to verify network access.
Live Service Tests
Click to run a real test call. OpenAI uses a tiny request (a few tokens). RSS fetches one public subreddit.
Environment Variables
Create a file called .env.local in the project root (same folder as package.json) and add the values below.
SUPABASE_URLSet ✓SUPABASE_SERVICE_ROLE_KEYSet ✓OPENAI_API_KEYSet ✓REDDIT_USER_AGENToptionalSet ✓How to apply .env.local changes
- Edit
.env.localin the project root (copy from.env.local.exampleif starting fresh) - Fill in each value using the instructions in the section above
- Stop the dev server (Ctrl+C) and run
npm run devagain - Refresh this page — completed items turn green immediately
Running database migrations
Two SQL files must be run in order in the Supabase SQL Editor. Run each one only once.
Migration 001 — base schema ✓
File: supabase/migrations/001_initial_schema.sql
Migration 002 — RSS cleanup ✓
File: supabase/migrations/002_rss_cleanup.sql