Skip to main content
Kombai lets you run the code in a sandbox environment. Once the code is generated, you can run the code or configure the sandbox.

Run in Sandbox

Post code-generation, follow the steps below to run the code in sandbox:
  1. Click Run in Sandbox button.
  2. Once the server starts running, go to the localhost server.
  3. Fix console errors, if any.

Configure sandbox

Kombai lets you configure the sandbox to closely replicate the app’s real-world conditions. Through Configure Sandbox, you can:
  • Add environment variables: Kombai lets you add environment variables within the sandbox.
  • Add wrapper components: Kombai lets you configure specific providers that are required to run your components.
To configure the sandbox, follow the steps below:
  1. Click Quick Settings icon in Kombai’s input box.
  2. Click Configure sandbox.

Send error to Kombai

If there are console errors in the sandbox preview, you can send them back to Kombai. Follow the steps below to send errors to Kombai:
  1. Click the Kombai logo on the bottom-right of the localhost preview.
  2. Click Send Error to Kombai.
I