> For the complete documentation index, see [llms.txt](https://docs.computesdk.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.computesdk.com/getting-started/installation.md).

# Installation

## Install a Provider Package

Install the provider package for the platform you want to use:

```bash
# Pick one (or more) providers
npm install @computesdk/archil
npm install @computesdk/blaxel
npm install @computesdk/cloudflare
npm install @computesdk/codesandbox
npm install @computesdk/daytona
npm install @computesdk/declaw
npm install @computesdk/e2b
npm install @computesdk/hopx
npm install @computesdk/modal
npm install @computesdk/namespace
npm install @computesdk/runloop
npm install @computesdk/tensorlake
npm install @computesdk/upstash
npm install @computesdk/vercel
```

You only need to install the providers your project uses.

## Provider Credentials

Each provider requires its own API credentials. Add them to a `.env` file in the root of your project or export them in your shell:

### Archil

```bash
ARCHIL_API_KEY=your_archil_api_key
ARCHIL_REGION=aws-us-east-1
ARCHIL_DISK_ID=your_archil_disk_id
```

### Blaxel

```bash
BL_API_KEY=your_blaxel_api_key
BL_WORKSPACE=your_blaxel_workspace
```

### Cloudflare

```bash
CLOUDFLARE_API_TOKEN=your_cloudflare_api_token
CLOUDFLARE_ACCOUNT_ID=your_cloudflare_account_id
```

### CodeSandbox

```bash
CSB_API_KEY=your_codesandbox_api_key
```

### Daytona

```bash
DAYTONA_API_KEY=your_daytona_api_key
```

### Declaw

```bash
DECLAW_API_KEY=your_declaw_api_key
```

### E2B

```bash
E2B_API_KEY=your_e2b_api_key
```

### HopX

```bash
HOPX_API_KEY=your_hopx_api_key
```

### Modal

```bash
MODAL_TOKEN_ID=your_modal_token_id
MODAL_TOKEN_SECRET=your_modal_token_secret
```

### Namespace

```bash
NSC_TOKEN=your_namespace_nsc_token
```

### Runloop

```bash
RUNLOOP_API_KEY=your_runloop_api_key
```

### Tensorlake

```bash
TENSORLAKE_API_KEY=your_tensorlake_api_key
```

### Upstash

```bash
UPSTASH_BOX_API_KEY=your_upstash_box_api_key
```

### Vercel

```bash
VERCEL_TOKEN=your_vercel_token
VERCEL_TEAM_ID=your_team_id
VERCEL_PROJECT_ID=your_project_id
```

Refer to each provider's documentation page for the full list of supported environment variables and configuration options.

## Verify Your Setup

After installing a provider and setting credentials, verify everything works:

```typescript
import { e2b } from '@computesdk/e2b';

const compute = e2b({ apiKey: process.env.E2B_API_KEY });
const sandbox = await compute.sandbox.create();

const result = await sandbox.runCommand('echo "Hello from ComputeSDK!"');
console.log(result.stdout); // "Hello from ComputeSDK!"

await sandbox.destroy();
```

Replace the import and configuration with whichever provider you installed.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.computesdk.com/getting-started/installation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
