Installation
ComputeSDK provides a unified abstraction layer for executing code in secure, isolated sandboxed environments across multiple cloud providers.
For a quick interactive demo of the SDK in action:
curl -fsSL https://computesdk.com/install.sh | shStart Here
Section titled “Start Here”- Visit https://console.computesdk.com/register to create an account and get your ComputeSDK API key.
- Next create a .env file in the root of your project and add your API key (this is where you will store your API keys for each of your providers as well):
COMPUTESDK_API_KEY=your_api_key_hereCore SDK
Section titled “Core SDK”Install the core ComputeSDK package:
npm install computesdkProvider Packages
Section titled “Provider Packages”ComputeSDK is modular - install only the providers you need:
# E2B
npm install @computesdk/e2b
# Vercel
npm install @computesdk/vercel
# Daytona
npm install @computesdk/daytona
# Modal
npm install @computesdk/modal
# CodeSandbox
npm install @computesdk/codesandbox
# Frontend integration (optional)
npm install @computesdk/uiProvider Setup
Section titled “Provider Setup”Environment Variables
Section titled “Environment Variables”# blaxel
export BLAXEL_API_KEY=your_blaxel_api_key_here
export BLAXEL_WORKSPACE=your_blaxel_workspace_here
# codesandbox
export CSB_API_KEY=your_codesandbox_api_key_here
# daytona
export DAYTONA_API_KEY=your_daytona_api_key_here
# e2b
export E2B_API_KEY=e2b_your_api_key_here
# modal
export MODAL_TOKEN_ID=your_modal_token_id_here
export MODAL_TOKEN_SECRET=your_modal_token_secret_here
# vercel
export VERCEL_TOKEN=your_vercel_token_here
export VERCEL_TEAM_ID=your_team_id_here
export VERCEL_PROJECT_ID=your_project_id_here