Skip to Content
🎉 New release with new features and improvements! V0.0.5 Release →

Environment Configuration

BSH Engine reads configuration from a JSON string provided in BSH_CONFIG.

Quick Steps

1. Start with the template

Begin by copying the configuration template and updating it to fit your environment.

2. Configure required sections

Set up the essential fields: datasource, admin, secrets, and origins before starting the engine.
For details on each configuration option, see the Components documentation.

3. Choose how to provide the configuration

You can pass the full (stringified) JSON via an environment variable or specify a file path to load it from disk.
For methods and best practices, check the Setup documentation.

4. Start the engine

Start the engine; Your configuration will be validated and loaded automatically at startup.