Skip to main content
Before you can create or manage containers, you must first initialize the Fermion Sandbox client. The Sandbox({ apiKey }) constructor establishes a secure connection between your application and Fermion’s backend infrastructure, authenticating every subsequent operation you perform. This step does not immediately spin up a container, instead, it prepares the client instance for later actions such as creating new sandboxes, reconnecting to saved sessions, or running commands.

new Sandbox({ apiKey })

Description: Creates a new Sandbox client instance. This does not create a container yet - call create() or fromSnippet() after initialization. Parameters: Returns: Sandbox instance Example: