Skip to content

How to get E2B_ACCESS_TOKEN for template builds on CI? #654

@krassowski

Description

@krassowski

Describe the bug
The CLI README states:

> [!NOTE]
> To authenticate without the ability to open the browser, provide
> `E2B_ACCESS_TOKEN` as an environment variable. Get your `E2B_ACCESS_TOKEN`
> from the Personal tab at [e2b.dev/dashboard](https://e2b.dev/dashboard). Then use the CLI like this:
> `E2B_ACCESS_TOKEN=sk_e2b_... e2b build`.
> [!IMPORTANT]
> Note the distinction between `E2B_ACCESS_TOKEN` and `E2B_API_KEY`.

There is also this link:

case 'E2B_ACCESS_TOKEN':
link = 'https://e2b.dev/dashboard?tab=personal'

That link does not work. I do not see a way to create E2B_ACCESS_TOKEN.

To Reproduce

Visit https://e2b.dev/dashboard?tab=personal or https://e2b.dev/<my-org>/dashboard?tab=personal

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions