Skip to main content

Feature Flags

Ori developer

Control which features are visible and enabled in your Orient instance.

Overview​

Feature Flags allow administrators to enable or disable specific features in Orient. This is useful for:

  • Staged rollouts: Enable features for testing before full deployment
  • Simplifying the UI: Hide features you don't use
  • Troubleshooting: Disable features that may be causing issues

Accessing Feature Flags​

  1. Go to the Dashboard
  2. Navigate to Settings in the sidebar
  3. Click on Feature Flags
Feature Flags Settings

Available Features​

FeatureDescription
Mini AppsAI-generated interactive applications
SchedulingScheduled messages and reminders
WebhooksExternal event notifications
AgentsAI agent configuration
IntegrationsThird-party service connections
MonitoringSystem health and metrics

How It Works​

Enabling a Feature​

  1. Find the feature in the list
  2. Check the Enabled checkbox
  3. The feature will be immediately available

Disabling a Feature​

When you disable a feature, you can choose how it appears in the UI:

  • Hide from navigation: The feature is completely hidden
  • Show "Feature disabled" overlay: The feature is visible but shows a disabled message

Sub-features​

Some features have sub-features that can be individually controlled. For example, the Mini Apps feature has:

  • Create: Ability to create new mini-apps
  • Share: Ability to generate share links

Sub-features can only be enabled if the parent feature is enabled.

Environment Overrides​

Feature flags can also be set via environment variables, which take priority over the UI settings:

# Enable a feature
FEATURE_FLAG_MINI_APPS=true

# Disable a feature
FEATURE_FLAG_SCHEDULING=false

This is useful for deployment automation or when you want to enforce certain settings.

Priority Order​

Feature flag values are resolved in this order (highest priority first):

  1. Environment variables (FEATURE_FLAG_*)
  2. Database settings (via Dashboard UI)
  3. Schema defaults (built-in defaults)

Troubleshooting​

ProblemSolution
Feature won't enableCheck if there's an environment variable override
Settings not savingEnsure you have admin permissions
Feature still showing after disableTry refreshing the page or clearing cache

Next Steps​