Skip to content

The open alternative to Salesforce, designed for AI.

2.3 KB
Raw Blame
# Public site URL — canonical origin used by metadataBase, sitemap, robots,
# OG/Twitter card URLs, Stripe checkout success URL, and the billing portal
# return URL. No trailing slash. Defaults to https://twenty.com when unset.
NEXT_PUBLIC_WEBSITE_URL=

# Partner application — the form POSTs to /api/partner-application, which
# forwards the payload to this webhook with the secret as a bearer credential.
PARTNER_APPLICATION_WEBHOOK_URL=
PARTNER_APPLICATION_SECRET=

# Client brief — the form POSTs to /api/client-brief, which forwards the payload
# to this webhook with the secret as X-Application-Secret.
CLIENT_BRIEF_WEBHOOK_URL=
CLIENT_BRIEF_SECRET=

# Affiliate application — the form on /affiliate-partners POSTs to
# /api/affiliate-application, which forwards the payload to the webhook of the
# "Affiliate form: create affiliate application" workflow in the partners
# workspace (https://api.twenty.com/webhooks/workflows/<workspaceId>/<workflowId>).
AFFILIATE_APPLICATION_WEBHOOK_URL=

# Partners marketplace — the Twenty workspace the partner directory reads from
# (server-side only) via the /s/partners REST endpoint.
TWENTY_PARTNERS_API_URL=
TWENTY_PARTNERS_API_KEY=

# Apps marketplace — the apps directory reads the listed marketplace catalog
# from the Twenty GraphQL API (public publicMarketplaceApps query), server-side.
# Defaults to https://api.twenty.com when unset.
TWENTY_MARKETPLACE_API_URL=

# Stripe — self-hosted enterprise checkout & subscription APIs.
STRIPE_SECRET_KEY=
STRIPE_ENTERPRISE_MONTHLY_PRICE_ID=
STRIPE_ENTERPRISE_YEARLY_PRICE_ID=
# Signing secret of the Stripe endpoint pointed at /api/enterprise/stripe-webhook.
# Without it the webhook returns 503 and repeat trial cards go unrecorded.
STRIPE_WEBHOOK_SECRET=

# RS256 key pair used to sign and verify enterprise license JWTs
# (use literal \n for newlines in the PEM values).
ENTERPRISE_JWT_PRIVATE_KEY=
ENTERPRISE_JWT_PUBLIC_KEY=

# Optional: enterprise validity token lifetime in days (default 7).
# ENTERPRISE_VALIDITY_TOKEN_DURATION_DAYS=

# Shared secret guarding the internal enterprise key reissue endpoint
# (POST /api/enterprise/reissue), used to regenerate an enterprise key.
ENTERPRISE_ADMIN_API_SECRET=

# Optional: GitHub Claim
# APP_CLAIM_GITHUB_CLIENT_ID=
# APP_CLAIM_GITHUB_CLIENT_SECRET=