.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
OPENAI_API_KEY
secret
API key for the embeddings model. Defaults to OpenAI embeddings
POSTGRES_HOST
PostgreSQL configuration
POSTGRES_PORT
POSTGRES_USER
POSTGRES_PASSWORD
secret
POSTGRES_DB
ALLOW_ORIGINS
CORS configuration. Must be a JSON array of strings
SUPABASE_URL
For authentication
SUPABASE_KEY
secret
This must be the service role key
brew install flyctl && fly launch --from https://github.com/langchain-ai/langconnect
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/langchain-ai/langconnect
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/langchain-ai/langconnect