← back to Marketing Command Center
.env.example
49 lines
PORT=9661
MCC_USER=admin
# REQUIRED — set a strong unique password. No default; the app denies all
# requests until this is set. Never commit the real value.
MCC_PASS=change-me-set-a-strong-password
# Constant Contact (v3 API, OAuth2). Provide when ready; module mock-runs without it.
CTCT_API_KEY=
CTCT_ACCESS_TOKEN=
CTCT_REFRESH_TOKEN=
# Connie cc-agent proxy (DTD verdict C). When CTCT_ACCESS_TOKEN is absent, the
# CC panel proxies the standalone Connie cc-agent which holds the LIVE CC OAuth
# token. Env-first; if unset, falls back to a gitignored .cc-agent.json, then to
# built-in defaults. cc-agent uses a self-signed cert (TLS verify disabled for
# that host only). Leave blank to use .cc-agent.json / defaults.
CC_AGENT_BASE=
CC_AGENT_USER=
CC_AGENT_PASS=
# LLM for suggested copy (optional; falls back to local templates if absent)
ANTHROPIC_API_KEY=
# ── Social live posting — pick ONE backend (or neither = stage only) ─────────
# A post ALWAYS requires confirm:true + approved:true to ever go live, on
# either backend. With no backend configured the module stages and sends nothing.
#
# Option A — Ayrshare (paid, ~$149/mo): one key → IG/TikTok/Pinterest/FB.
AYRSHARE_API_KEY=
#
# Option B — Meta Graph API (FREE): Instagram + Facebook only. Needs a
# long-lived Page access token + the IG Business account id and/or FB Page id.
# (Get these from a Meta app: Page → linked IG Business/Creator account.)
# Ayrshare takes priority if both are set.
META_ACCESS_TOKEN=
META_IG_USER_ID=
META_FB_PAGE_ID=
# Graph API version (optional; defaults to v21.0)
META_GRAPH_VERSION=
# Set to 'true' ONLY when you want the scheduler to auto-post due+approved posts.
# Leave unset/false to keep the scheduler in dry mode (logs, never sends).
SOCIAL_SCHEDULER_LIVE=
# ── Followers / Following tab ────────────────────────────────────────────────
# The follow-counts module pulls each DW IG account's followers_count +
# follows_count (COUNTS ONLY — the Graph API returns no username lists) by calling
# Norma's instagram-agent, which owns the IG token + IG_USER_ID. No new token here.
# These only need setting if Norma isn't at the default localhost address/cred.
NORMA_IG_BASE=http://127.0.0.1:9810
NORMA_IG_USER=admin
NORMA_IG_PASS=
# To go LIVE (currently simulated): configure IG_USER_ID + IG_ACCESS_TOKEN on
# Norma's instagram-agent (NOT here) — this tab then shows live counts automatically.