Skip to main content

Create an E2B API key

Keys belong to a single project, so the key you create reaches only the sandboxes, templates, volumes and secrets in that project.

1

Create the key

Sign in to the E2B console with the account that owns the project you want to connect.

  • In the top-left of the sidebar, use the PROJECT switcher to select that project.
  • Open API Keys in the sidebar under PROJECT.
  • Click Create a key in the top right to open the Create new key dialog.
  • Key name: StackOne, so you can recognize the key in the LABEL column
  • Click Create.
E2B Create new key dialog with the Key name field filled in and the Create button highlighted
2

Copy the key

Copy the API Key across. The confirmation dialog displays the full key once, in a read-only box.

  • Click Copy.
  • Click Close.
  • The dialog warns under IMPORTANT that you should Copy the key now. You won’t be able to view it again. — once you close it, the KEY column only ever shows a masked value such as e2b_8d••••6a47.
  • The key cannot be retrieved after you close the dialog. If you lose it, create a new key and delete the old row from the API Keys page.
  • Keys do not expire, so the value you copy stays valid until you delete it.
E2B key created dialog with the generated key redacted and the Copy button highlighted
1

Connect

  • Click Connect.
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup.
2

Use Actions

Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.

Next Steps

Webhooks setup

Configure receiving Events for E2B into StackOne.