NudgeBee Configurations
This document provides a comprehensive reference for the various secrets and environment variables used by the NudgeBee application. These configurations are set in the nudgebee_secret section of your Helm values.
The chart rejects any key under nudgebee_secret it doesn't know — the install fails with [ERROR] Unknown key '…' found in nudgebee_secret. Every key on this page is accepted. To pass any other environment variable to the services, put it under the top-level additional_env_vars map instead:
additional_env_vars:
MY_SETTING: "value"
Important Security Note: This document outlines the purpose of the secrets and environment variables. It does NOT contain the actual secret values. The values are stored securely using encryption and managed separately.
Table of Contents
- License
- General Configuration
- Authentication
- Database
- Messaging Queue
- Large Language Models
- Integrations
- Cache Configuration
- Observability
- Cloud Integration
- AWS Auth
License
Configuration related to the NudgeBee license. Only relevant for the Enterprise edition — leave empty for the open-source Community edition.
NUDGEBEE_LICENSE: NudgeBee license JWT (Enterprise). Empty for Community. If the license can't be loaded (invalid, or already expired at startup), the services-server log showslicense: load failedand the server runs without Enterprise entitlements — the bootstrap login and first-run admin creation stay off until a valid license is loaded. A license that expires while the server is running gets a 24-hour grace period before Enterprise features are turned off.
General Configuration
Do NOT use default or fallback keys in production environments. The Helm chart includes placeholder default keys for quick sandboxes and local evaluation. Using shared default keys in production is a severe security vulnerability: anyone with knowledge of the default keys could forge authentication tokens or decrypt stored database credentials.
Always generate unique, cryptographically random keys for production deployments:
# Generate 32-byte hex encryption key:
openssl rand -hex 32
BASE_URL: The base URL for the NudgeBee application, defaulthttp://localhost:3000. Required.NUDGEBEE_ENCRYPTION_KEY: 32-byte hex key that encrypts integration credentials and other at-rest secrets in the database. Required — the chart fails install if this is empty or left as__REPLACE__. Generate once withopenssl rand -hex 32and store securely in your secret manager. Losing this key makes previously-encrypted DB rows unreadable, so treat it like a database master password.NEXTAUTH_SECRET: Encryption key used for encoding NextAuth session cookies. Auto-generated by the Helm chart on a fresh install (using the lookup-or-generate pattern) and reused on upgrade. Required to set explicitly in GitOps / offline-render workflows (Argo CD, Flux).ACTION_API_SERVER_TOKEN: Auth token between internal services. Auto-generated by Helm chart; Required to set explicitly in GitOps workflows.WORKFLOW_SERVER_TOKEN: Auth token for calls to the workflow server. Auto-generated likeACTION_API_SERVER_TOKEN; set it explicitly in GitOps workflows too.RELAY_SERVER_SECRET_KEY,CLOUD_COLLECTOR_SERVER_TOKEN,NEXTAUTH_DUMMY_CREDS_PASSWORD: Generated on first install. For these, a value already in the cluster'snudgebeeSecret wins over your values file — to change one, update the Secret.LICENSE_PUBLIC_KEY: Leave empty. Enterprise builds already contain NudgeBee's license public key; set this only if you were given a self-signed license and its public key.RELAY_WSSERVER_ENDPOINT/K8S_COLLECTOR_ENDPOINT: The relay and collector URLs the UI puts in agent install commands. Default to in-cluster addresses — set them to your public hosts (for examplewss://relay.yourcompany.com/registerandhttps://collector.yourcompany.com) so agents in other clusters can connect.POSTGRES_PASSWORD,TEMPORAL_DB_PASSWORD,RABBIT_MQ_PASSWORD,REDIS_USER_PASSWORD: Passwords for the bundled datastores. All default topassword— change them on a fresh install. If you changePOSTGRES_PASSWORD, updateAPP_DATABASE_URLandTEMPORAL_DB_PASSWORDto match.
Authentication
These secrets and environment variables are used for user authentication and integrating with identity providers. Please refer Authentication Integrations for more details
Google
GOOGLE_CLIENT_ID: The Client ID for the Google OAuth application used for authentication.GOOGLE_CLIENT_SECRET: The Client Secret for the Google OAuth application.
Auth0
AUTH0_CLIENT_ID: The Client ID for the Auth0 application used for authentication.AUTH0_CLIENT_SECRET: The Client Secret for the Auth0 application.AUTH0_ISSUER: The issuer URL for the Auth0 domain.
Teleport
TELEPORT_ENABLED: Set totrueto enable this provider.TELEPORT_ATTRIBUTE_USERNAME: Teleport JWT attribute name for username field, defaults tosubTELEPORT_ATTRIBUTE_NAME: Teleport attribute/trait name for displayname field, defaults tosubTELEPORT_ATTRIBUTE_GROUPS: Teleport attribute/trait name for nudgebee-groups field, defaults to empty. Note that these groups needs to be available on nudgebeeTELEPORT_SSO_ENABLED: If enabled, NudgeBee skips the sign-in screen and signs users in from the Teleport headers.TELEPORT_JWKS_URL,TELEPORT_ISSUER,TELEPORT_AUDIENCE: Used to verify the Teleport JWT.
Azure AD
AZURE_AD_CLIENT_ID: The Client ID for the Azure Active Directory (AD) application.AZURE_AD_CLIENT_SECRET: The Client Secret for the Azure AD application.AZURE_AD_TENANT_ID: The Tenant ID for the Azure AD instance.
OneLogin and Azure AD B2C
These providers are read from ONELOGIN_* and AZURE_AD_B2C_* environment variables. They aren't accepted under nudgebee_secret — set them under additional_env_vars.
Okta
OKTA_CLIENT_ID: The Client ID for the Okta application.OKTA_CLIENT_SECRET: The Client Secret for the Okta application.OKTA_ISSUER: The issuer URL for the Okta organization.
Ldap
NEXTAUTH_LDAP_URI: ldap URI.NEXTAUTH_LDAP_LOGIN_FILTER: Login filter for ldap.NEXTAUTH_LDAP_SEARCH_FILTER: Search filter for ldap.NEXTAUTH_LDAP_SEARCH_DN: Search DN for ldap.NEXTAUTH_LDAP_BIND_DN: Bind DN for ldap.NEXTAUTH_LDAP_BIND_PASSWORD: Bind password for ldap.NEXTAUTH_LDAP_ATTRIBUTE_EMAIL: Attribute for email.NEXTAUTH_LDAP_ATTRIBUTE_GROUP: Attribute for group.NEXTAUTH_LDAP_ATTRIBUTE_NAME: Attribute for name.NEXTAUTH_LDAP_ATTRIBUTE_FIRSTNAME: Attribute for first name.NEXTAUTH_LDAP_ATTRIBUTE_LASTNAME: Attribute for last name.NEXTAUTH_LDAP_GROUP_MAPPING: Group mapping for ldap.NEXTAUTH_LDAP_SEARCH_USER_PATTERN: Search user pattern.
Magic Link
NEXTAUTH_MAGICLINK_CREDS_ENABLED: Enable magic-link sign-in. Off unless you set it totrue.EMAIL_SERVER_HOST: The hostname of the email server used for sending emails (e.g., for magic links).EMAIL_SERVER_PORT: The port number of the email server. Default465.EMAIL_SERVER_TLS:auto(default: 465 = SSL, 587 = STARTTLS),ssl,starttlsornone(plain SMTP relay, for example port 25).EMAIL_FROM_NAME: Display name for outgoing email.EMAIL_SERVER_USER: The username used to authenticate with the email server.EMAIL_SERVER_PASSWORD: The password used to authenticate with the email server.EMAIL_FROM: Email address which will be used to send email to user.
Dummy Creds
NEXTAUTH_DUMMY_CREDS_ENABLED: Enable the bootstrap admin login (on in the default values). Turn it off once SSO is configured.NEXTAUTH_DUMMY_CREDS_PASSWORD: The bootstrap password. Generated on first install if you don't set it.
Database
These secrets and environment variables are used for connecting to postgres database.
APP_DATABASE_URL: URL of the PostgreSQL database. Default (bundled PostgreSQL):postgresql://postgres:password@postgresql:5432/postgres?sslmode=disable. Always include the port, and use port5432: the services check the database is up before they start, and that check does not use a custom port, so a database on another port (for example PgBouncer on6432) makes the install wait forever. With an external database, also point Temporal at it — see Externalizing Dependencies.
Messaging Queue
configs to connect with RabbitMQ
RABBIT_MQ_HOST: The host of Rabbit MQ.RABBIT_MQ_PORT: The port of Rabbit MQ.RABBIT_MQ_USERNAME: Username for RabbitMQ. Defaultuser.RABBIT_MQ_PASSWORD: The password of RabbitMQ. Defaultpassword— change it.
For an external broker, set rabbitmq.enabled: false and all four keys.
Large Language Models
These secrets and environment variables are used for configuring and interacting with Large Language Models. Please refer LLM Integrations for more details and configs
Most installs configure LLM providers in the UI under Admin → Integrations → LLM; a provider configured there takes precedence. These keys set a default from the deployment:
LLM_PROVIDER: Provider name, for exampleopenai,azure,bedrock,vertexai,googleai,anthropic,huggingfaceorsagemaker.LLM_PROVIDER_API_KEY: API key for that provider.EMBEDDINGS_PROVIDER_API_KEY: API key for the embeddings provider. Embeddings run on-device by default; to use a provider, also setEMBEDDINGS_PROVIDERunderadditional_env_vars— otherwise this key has no effect.GATEWAY_OPENAI_API_KEY,GATEWAY_ANTHROPIC_API_KEY,GATEWAY_GEMINI_API_KEY,GATEWAY_HUGGINGFACE_API_KEY: Provider keys for the AI Gateway.- Provider specific configs can be found on LLM Integrations docs.
Integrations
These secrets and environment variables are used for integrating with third-party services. Please refer Integrations for more details
Slack App
Required for deploying own-app on slack and using that for NudgeBee integration
SLACK_CLIENT_SECRET: The Client Secret for the Slack application integration.SLACK_SIGNING_SECRET: The Signing Secret for the Slack application.SLACK_CLIENT_ID: The Client ID for the slack app.
MS Teams App
Required for integrating with MS Teams. See the MS Teams on-prem setup guide for how to create the Microsoft Entra ID app registration and Azure Bot these values come from.
MS_TEAMS_CLIENT_ID: The Application (client) ID of your Microsoft Entra ID app registration.MS_TEAMS_CLIENT_SECRET: The client secret of your Microsoft Entra ID app registration.MS_TEAMS_BOT_TENANT_ID: The Directory (tenant) ID where your Azure Bot and app registration live (the bot's home tenant).MS_TEAMS_ACTION_SIGNING_KEY: Required. A random string that signs the data on Teams card buttons and Connect links, for example the output ofopenssl rand -hex 32. Without it, cards are sent without buttons and no team can be connected.
GChat App
Required for integrating with Chat
GOOGLE_CLIENT_ID: Google clientIdGOOGLE_CLIENT_SECRET: Google Client Secret
Email
Required for sending emails like daily report
EMAIL_SERVER_HOST: The hostname of the email server used for sending emails (e.g., for magic links).EMAIL_SERVER_PORT: The port number of the email server.EMAIL_SERVER_USER: The username used to authenticate with the email server.EMAIL_SERVER_PASSWORD: The password used to authenticate with the email server.EMAIL_FROM: Email address which will be used to send email to user.
Cache Configuration
Optional configuration related to cache. Currently only redis/in-memory cache is supported. if value is not provided then system assumes in-memory cache.
CACHE_PROVIDER: Cache provider.REDIS_SERVER_HOST: Redis server host.REDIS_SERVER_PORT: Redis server port.REDIS_USER_NAME: Redis user name.REDIS_USER_PASSWORD: Redis user password.
Observability
Optional OpenTelemetry export for the NudgeBee services. These aren't nudgebee_secret keys — set them under additional_env_vars:
OTEL_EXPORTER: Name of the exporter (none, console, otlp), default is noneOTEL_EXPORTER_OTLP_ENDPOINT: Endpoint for OTLP.
The ML server stores its models on local files; this isn't configurable from the chart.
Cloud Integration
Optional configuration for connecting AWS cloud accounts and enabling AWS Organization onboarding. For infrastructure setup instructions, see AWS Infrastructure Setup.
AWS Account Integration
NUDGEBEE_INSTANCE_ROLE: IAM role ARN in the NudgeBee AWS account. Used to assume cross-account roles in customer accounts. Required for AWS integration.AWS_TEMPLATE_URL: CloudFormation template URL used during single AWS account onboarding. Defaults to NudgeBee-hosted template.
AWS Organization Onboarding
These configs enable automatic registration of AWS Organization member accounts via CloudFormation StackSets and SNS/SQS messaging.
AWS_ORG_TEMPLATE_URL: CloudFormation StackSet template URL deployed to organization member accounts.AWS_ORG_SNS_TOPIC_ARN: ARN of the SNS topic that receives CloudFormation Custom Resource callbacks from member accounts.CLOUD_COLLECTOR_ORG_REGISTRATION_SQS: SQS queue URL polled by the cloud-collector service for organization registration events. The SNS topic forwards messages to this queue.
AWS EventBridge Events
CLOUD_COLLECTOR_AWS_EVENTBRIDGE_SQS: SQS queue URL for ingesting real-time AWS resource events via EventBridge (e.g., CloudTrail, CloudWatch Alarms).AWS_EVENTBRIDGE_ADDON_TEMPLATE_URL: CloudFormation template URL used by Connect EventBridge for accounts that were onboarded without EventBridge.
AWS Auth
If App is deployed Outside EKS and want to access AWS specific services, then add following configs for accessing AWS Services
AWS_ACCESS_KEY_ID: Aws access key.AWS_SECRET_ACCESS_KEY: Aws secret access key.AWS_DEFAULT_REGION: Default aws region.