Using bem

Working with Environments

Learn about bem's dual environment setup (Sandbox and Production) for safe development, testing, and deployment of your intelligent functions.

Updated 8/11/2025

bem provides two distinct, isolated environments to support a safe and robust development lifecycle: Sandbox and Production. This allows you to build and test your functions thoroughly before deploying them to your live application.

You can easily switch between your Sandbox and Production environments at any time using the toggle at the bottom of the navigation menu in the bem UI.

Sandbox Environment

The Sandbox is your dedicated development and testing space. It is completely isolated from your live data. Use this environment to:

  • Create and iterate on new functions.
  • Test function calls with sample data.
  • Configure subscriptions to staging endpoints.

All API calls made in the Sandbox environment should be directed to the sandbox endpoint: https://sandbox-api.bem.ai

Production Environment

The Production environment is for your live, customer-facing applications. Functions and data in this environment should be considered live. Once you have fully tested a function in the Sandbox, you can recreate its configuration in the Production environment and point your live application to the production API endpoint.

All API calls made in the Production environment should be directed to the production endpoint: https://api.bem.ai

Each environment has its own unique API keys and webhook secrets.