system-prompts-and-models-o.../salesflow-saas/docs/ops/RAILWAY_ENV_KEYS.md
Claude 59a5ab2a84
feat(dealix): P0 launch completion — marketers page + ops runbooks
P0.2: Marketers page rewritten from 131-line link hub to 463-line
service sales page with: hero, problem statement, solution, 3
workflows (agency/freelancer/CRM), 3 pricing packages with partner
revenue share, revenue calculator, trust blocks, 8 FAQs, final CTA.
All Calendly links point to live booking page.

P0.5: RAILWAY_ENV_KEYS.md — complete env key reference with source
URLs, cost, effect when missing, verification command. Separates
P0 (GROQ/Google/Sentry/PostHog) from P1 (Moyasar) and P2 (Maps/
SendGrid/WhatsApp/HubSpot).

P0.6: FIRST_5_OUTREACH.md — 5 ready-to-send messages (SaaS founder,
agency owner, real estate, B2B services, referral ask) with Arabic
text, follow-ups at 24h and 72h, opt-out line, lead tracker table.

P0.7: DEMO_BOOKING_RUNBOOK.md — 20-minute demo flow with discovery
questions, live API demo sequence (enrich-tech, route, message),
ROI discussion framework, objection handling, 3 close patterns,
post-demo follow-up template.

P0.8: FULL_OPS_LAUNCH_RUNBOOK.md — daily checklist, payment test
checklist, Moyasar diagnostic steps, outreach/demo/rollback/DB
restore/incident checklists, do-not-touch list, definitions of
launch-ready and revenue-live.

https://claude.ai/code/session_01W1rJthWDkasijTdXCfxVHs
2026-04-25 16:57:19 +00:00

56 lines
3.0 KiB
Markdown

# Dealix — Railway Environment Keys
**Where to add:** Railway → Project → Service "web" → Variables tab → Review → Deploy
---
## P0 — Required for Launch
| Variable | Source | Cost | Effect When Missing | Verification |
|----------|--------|------|-------------------|-------------|
| `GROQ_API_KEY` | [console.groq.com/keys](https://console.groq.com/keys) | Free tier available | LLM features degraded (rules-only) | `curl /api/v1/prospect/search-diag` shows `GROQ_API_KEY.set: true` |
| `GOOGLE_SEARCH_API_KEY` | [Google Cloud Console → Credentials](https://console.cloud.google.com/apis/credentials) | 100 queries/day free | `/prospect/search` returns 503 | search-diag shows key set |
| `GOOGLE_SEARCH_CX` | Fixed value: `75ae2277dfd754a1a` | Free | Same as above | search-diag shows CX set |
| `SENTRY_DSN` | [sentry.io](https://sentry.io) → Create Python project → copy DSN | Free plan | No error alerting | Sentry receives test error |
| `POSTHOG_API_KEY` | [posthog.com](https://posthog.com) → Project Settings → API Key | Free plan | No funnel tracking | PostHog dashboard shows events |
| `POSTHOG_HOST` | `https://us.i.posthog.com` or `https://eu.i.posthog.com` | — | PostHog events go nowhere | Same as above |
## P1 — Required for Automated Payment
| Variable | Source | Cost | Effect When Missing |
|----------|--------|------|-------------------|
| `MOYASAR_SECRET_KEY` | [dashboard.moyasar.com](https://dashboard.moyasar.com) → API Keys | Per-transaction fee | Checkout returns 502 |
| `MOYASAR_PUBLISHABLE_KEY` | Same dashboard | — | Frontend checkout broken |
| `MOYASAR_WEBHOOK_SECRET` | Moyasar → Webhooks → Secret | — | Webhook signature validation fails |
**Note:** Moyasar keys appear to be set but checkout returns 502. See REVENUE_READINESS_CHECKLIST.md → Moyasar Diagnostic Checklist.
## P2 — Optional Enrichment (after first customer)
| Variable | Source | Effect When Missing |
|----------|--------|-------------------|
| `GOOGLE_MAPS_API_KEY` | Google Cloud → Maps → Places API | Local discovery disabled |
| `SENDGRID_API_KEY` | sendgrid.com | No automated email |
| `WHATSAPP_ACCESS_TOKEN` | Meta Business | No WhatsApp API |
| `HUBSPOT_API_KEY` | HubSpot → Private Apps | No CRM sync |
| `TAVILY_API_KEY` | tavily.com | No web crawl enrichment |
## Already Set (verified via search-diag)
| Variable | Status |
|----------|--------|
| `MOYASAR_SECRET_KEY` | Set (48 chars, sk_liv...) |
| `MOYASAR_WEBHOOK_SECRET` | Set (64 chars) |
| `MOYASAR_PUBLIC_KEY` | Set |
| `APP_URL` | Set |
| `DATABASE_URL` | Set (via Railway Postgres) |
---
## Critical Reminders
1. **Environment dropdown:** Make sure you're in environment "Dealix" (not "adventurous-tenderness" or other Agent branches)
2. **Service:** Variables go in service "web" (not Postgres or Redis)
3. **Deploy:** After adding variables, you MUST click Review → Deploy. Variables are staged until deployed.
4. **No secrets in chat:** Never paste API keys in any chat window. Add them directly in Railway.