Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Update README.md

Vasek Mlejnskyaf7fb9f80664
diff --git a/packages/js-sdk/README.md b/packages/js-sdk/README.md
index 2e49197cb..67c0eeb94 100644
--- a/packages/js-sdk/README.md
+++ b/packages/js-sdk/README.md
@@ -23,8 +23,15 @@
npm i @e2b/code-interpreter
```
+### 2. Get your E2B API key
+1. Sign up to E2B [here](https://e2b.dev).
+2. Get your API key [here](https://e2b.dev/dashboard?tab=keys).
+3. Set environment variable with your API key
+```
+E2B_API_KEY=e2b_***
+```
-### 2. Execute code with code interpreter inside Sandbox
+### 3. Execute code with code interpreter inside Sandbox
```ts
import { Sandbox } from '@e2b/code-interpreter'
@@ -36,8 +43,8 @@ const execution = await sbx.runCode()('x+=1; x')
console.log(execution.text) // outputs 2
```
-### 3. Check docs
+### 4. Check docs
Visit [E2B documentation](https://e2b.dev/docs).
-### 4. E2B cookbook
+### 5. E2B cookbook
Visit our [Cookbook](https://github.com/e2b-dev/e2b-cookbook/tree/main) to get inspired by examples with different LLMs and AI frameworks.