Quickstart
Get started with Concave Sandbox in under 5 minutes. Run secure, isolated code at scale.
1
Install SDK
Install the Concave SDK:
pip install concave-sandbox2
Get Your API Key
Sign up at Concave to get your API key. During private beta, we are limited to only one API key per account.
3
Set Your API Key
Export your Concave Sandbox API key as an environment variable.
export CONCAVE_SANDBOX_API_KEY=your_api_key_here4
Create a Sandbox
Save the following code to a file named main.py.
from concave import sandbox
with sandbox() as s:
result = s.run("print('Hello from Concave!')")
print(result.stdout)5
Run the Test
This spins up a VM, runs your code, and destroys it—all in milliseconds.
python main.py # Hello from Concave!6
Next Steps
Explore more features and get help.