Environment Overview
LiveCentral hub for all external integrations, secrets, and runtime connectors. Check status, manage OAuth apps, and monitor custom endpoints.
DISCORD_TOKEN · RailwayPERPLEXITY_API_KEY · CF SecretELEVENLABS_API_KEY · RailwayGEMINI_API_KEY · RailwayAI / ML Connectors
GEMINI_API_KEY · Railway .envELEVENLABS_API_KEY · Railway .envCloud Providers
wrangler.tomlrailway.jsonAZURE_CLIENT_ID · AZURE_SECRET ·
AZURE_TENANT_ID
AWS_ACCESS_KEY_ID · AWS_SECRET_ACCESS_KEYOAuth & App Configurations
Client IDs, secrets, and redirect URIs for OAuth flows. Isolated from bot runtime secrets.
| Provider | Client ID Var | Secret | Redirect URI | Scopes | Status |
|---|---|---|---|---|---|
| Discord | DISCORD_CLIENT_ID |
Masked | /oauth/callback/discord |
identify · email · guilds | Missing |
| Azure / Entra | AZURE_CLIENT_ID |
Masked | /oauth/callback/azure |
User.Read · Mail.Send | Missing |
| Outlook | OUTLOOK_CLIENT_ID |
Masked | /oauth/callback/outlook |
Mail.Read · Calendars.Read | Missing |
GOOGLE_CLIENT_ID |
Masked | /oauth/callback/google |
openid · email · profile | Missing | |
| Slack | SLACK_CLIENT_ID |
Masked | /oauth/callback/slack |
chat:write · users:read | Missing |
| Notion | NOTION_CLIENT_ID |
Masked | /oauth/callback/notion |
workspace:read · page:write | Missing |
Communication & Workspace
DISCORD_TOKEN · Bot + GatewayOUTLOOK_CLIENT_ID · MS GraphWORKSPACE_API_KEYWEBHOOK_SECRETCustom Endpoint Manager
| Name | URL | Auth | Status | Action |
|---|---|---|---|---|
| No custom endpoints configured. | ||||
Secret Manager
LocalInput your API keys and tokens below. Values are masked by default and stored locally in your browser only. Use 1Password or your deployment platform for production secrets.
| Service | Variable | Value | Status | Action |
|---|---|---|---|---|
| Perplexity | PERPLEXITY_API_KEY |
|
Empty | |
| Gemini | GEMINI_API_KEY |
|
Empty | |
| ElevenLabs | ELEVENLABS_API_KEY |
|
Empty | |
| Discord | DISCORD_TOKEN |
|
Empty | |
| Database | DATABASE_URL |
|
Empty | |
| Azure | AZURE_CLIENT_ID |
|
Empty | |
| AWS | AWS_ACCESS_KEY_ID |
|
Empty | |
| Outlook | OUTLOOK_CLIENT_ID |
|
Empty | |
| Workspace | WORKSPACE_API_KEY |
|
Empty | |
| Webhooks | WEBHOOK_SECRET |
|
Empty | |
| 1Password | OP_SERVICE_ACCOUNT_TOKEN |
|
Empty |
LLM Chat
GEMINI_API_KEY · google.aiPERPLEXITY_API_KEY · api.perplexity.aiPersonality-adapted responses via
personalityEngine.js. Shadow archetypes, MBTI, and Enneagram inform tone. Reference
docs/AI_ASSISTANT_GUIDE.md.
User message → Personality analysis → Model selector → API call → Response evaluator → Memory store. Fallback: Gemini → Perplexity → Ollama.
GitHub Integration
GITHUB_TOKEN · Classic or Fine-GrainedPush → GitHub Action → Railway deploy. PR merge → Auto-sync env. Issues → Bot notification channel.
Lint → Test → Build → Deploy. Secrets injected via
1Password CLI in GitHub Actions. Reference .github/workflows/.
Discord Developer Portal
CLIENT_ID · Discord Dev PortalDISCORD_PUBLIC_KEY · Interactions endpointDiscord Gateway → Bot.js event router → Prefix handler / Slash command / Game check → Personality analysis → Response.
See docs/DISCORD_SETUP_GUIDE.md for
token, intents, OAuth2, and slash command registration.
1Password Vault
OP_SERVICE_ACCOUNT_TOKEN1Password Vault → Service Account → CLI inject →
Railway/Cloudflare env. Secrets never hit disk unencrypted. Rotation via
op item edit.
1. Generate new secret. 2. Update 1Password item. 3. Update CF/Railway via CLI. 4. Revoke old secret. 5. Log rotation in audit trail.
Calendar Integration
GOOGLE_CLIENT_ID · OAuth2 · Calendars.ReadOUTLOOK_CLIENT_ID · MS Graph · Calendars.ReadExternal provider → Webhook/ polling → Nucord API → DB store → Bot reminder → User DM. Bare metal: CalDAV → local parser → same pipeline.
Host Radicale or Baikal on your server. Point A/AAAA records to bare metal IP. Configure CalDAV URL in bot config. SSL via Cloudflare Origin CA or Let's Encrypt.
Mail Providers
SMTP_HOST · SMTP_USER · SMTP_PASS
SENDGRID_API_KEYAWS_SES_ACCESS_KEY · Verified domainBot event → Mail service → Provider API → Queue → Delivered. Fallback: SES → SendGrid → SMTP. Bounces logged to DB.
Add TXT record:
v=spf1 include:sendgrid.net ~all. DKIM key from provider dashboard → DNS TXT →
verify. Reference provider docs for exact CNAME/TXT values.
Cloudflare Setup
wrangler.toml · worker.jsPERPLEXITY_API_KEY · CF DashboardUser → CF Edge → Worker → Secret vault → Perplexity API → Response → Edge cache → User. DNS managed in CF. SSL terminated at edge. Origin cert for Railway ↔ CF.
Run
wrangler secret put PERPLEXITY_API_KEY to inject. Deploy with
wrangler deploy. Config in wrangler.toml. See
docs/RAILWAY_DEPLOYMENT.md for full flow.