backend/.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
AZURE_FOUNDRY_CONNECTION_STRING
secret
Azure AI Foundry (production tier)
AZURE_FOUNDRY_PROJECT_NAME
secret
AZURE_OPENAI_DEPLOYMENT
secret
FOUNDRY_IQ_KNOWLEDGE_BASE_ID
Foundry IQ Knowledge Base
GITHUB_TOKEN
secret
GitHub Models (free tier — get a PAT at https://github.com/settings/tokens)
USE_LOCAL_FALLBACK
Local dev fallback (set to "true" to use direct OpenAI instead of Foundry)
OPENAI_API_KEY
secret
OPENAI_MODEL
secret
LLM_MODE_DEFAULT
LLM mode default: mock | github | foundry Override per-request by passing "mode" in the API body. "mock" requires no credentials and works…
brew install flyctl && fly launch --from https://github.com/agostynah/stakeholderiq_public
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/agostynah/stakeholderiq_public
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/agostynah/stakeholderiq_public