Flowblocks
Dashboard
Dashboard
Getting Started
QuickstartHow it works
Building Workflows
The canvasGenerating with AIPreview and runsSharing and collaboration
Steps
OverviewAgentBranches and loopsGuardrails and approvalState and data
Connectors
OverviewGoogleMicrosoftDropboxOther providersMCP servers
Develop
Embedding the builderNode SDKREST API
Reference
Self-hostingEnvironment variablesLimitsFAQ

All systems operational

Reference

Environment variables

Every variable a self-hosted install reads, with its default and what it controls.

These apply to self-hosted installs. Flowblocks Cloud manages them for you.

Core

VariableDefaultWhat it does
DATABASE_URLPostgres connection string
BETTER_AUTH_SECRETSession signing secret
BETTER_AUTH_URLhttp://localhost:3000Public origin used to build OAuth redirect URIs
NEXT_PUBLIC_APP_URLhttp://localhost:3000Origin shown to the browser
INTEGRATION_ENCRYPTION_KEYderived64 hex characters. Encrypts connector and MCP tokens at rest

Models

An Agent step uses the key for the provider you pick. The workflow generator uses the same keys.

VariableUsed for
OPENAI_API_KEYOpenAI models, and the workflow generator
ANTHROPIC_API_KEYAnthropic models
XAI_API_KEYxAI models
AI_GATEWAY_API_KEYAny of the models above when that provider's own key is empty, through Vercel AI Gateway
AGENT_DEMOSet to true to skip the model entirely

Connectors

VariableConnectors
GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRETEvery Google connector
DROPBOX_CLIENT_ID, DROPBOX_CLIENT_SECRETDropbox
MICROSOFT_CLIENT_ID, MICROSOFT_CLIENT_SECRETEvery Microsoft connector
MICROSOFT_TENANT_IDOptional. Restricts the Microsoft connectors to one directory
{PREFIX}_CLIENT_ID, {PREFIX}_CLIENT_SECRETEach other provider, under the prefix its section names, such as LINEAR or HUBSPOT
GITHUB_CLIENT_ID, GITHUB_CLIENT_SECRETOptional. GitHub sign-in. The GitHub connector uses GITHUB_CONNECTOR_*

Limits

VariableDefaultWhat it does
AI_LIMIT_PER_MINUTE20Cap on generate, run and MCP calls per user per minute
RUN_TOKEN_BUDGET200000Token cap for one run
MCP_ALLOW_PRIVATE_URLSunsetAllow private MCP server URLs in production

Collaboration

VariableWhat it does
LIVEBLOCKS_SECRET_KEYEnables live cursors, presence and comments

Billing

Optional. With these unset every workspace stays on the free Developer plan.

VariableWhat it does
STRIPE_SECRET_KEYA Stripe restricted key. Turns billing on together with the price below
STRIPE_CLOUD_PRICE_IDThe metered Cloud price. pnpm stripe:setup creates it and prints its id
STRIPE_WEBHOOK_SECRETSigning secret of the webhook endpoint at /api/stripe/webhook
STRIPE_AUTOMATIC_TAXSet to true once Stripe Tax is set up on the account

On this page

CoreModelsConnectorsLimitsCollaborationBilling