E2b logo

Integrate E2b with your AI CRM

Open-source Code Interpreting for AI Apps. Run sandboxed code execution environments with support for multiple programming languages.

Explore Triggers and Actions

Check API Health

Tool to check the health status of the E2B API. Use when you need to verify that the API service is operational and accessible.

ActionTry it

Connect to Sandbox

Tool to connect to an existing E2B sandbox and retrieve its details. Use when you need to reconnect to a sandbox from different environments or resume a paused sandbox. The TTL is extended upon connection.

ActionTry it

Create Sandbox

Tool to create a new E2B sandbox from a template. Use when you need to launch a fresh sandbox environment for code execution, testing, or development purposes.

ActionTry it

Create Template

Tool to create a new E2B template with specified configuration. Use when you need to define a new sandbox template that can be used to spawn sandbox environments.

ActionTry it

Create Webhook

Tool to register a new webhook to receive sandbox lifecycle events for the team. Use when you need to set up notifications for sandbox lifecycle events such as creation, updates, or termination.

ActionTry it

Delete Sandbox

Tool to terminate and permanently delete a running E2B sandbox instance. Use when you need to kill a sandbox that is no longer needed. Once terminated, the sandbox cannot be resumed.

ActionTry it

Delete Webhook

Tool to unregister a webhook and stop receiving lifecycle events. Use when you need to remove a webhook that is no longer needed or to clean up webhook registrations.

ActionTry it

Get Sandbox

Tool to retrieve detailed information about a specific sandbox by its ID. Use when you need to check sandbox status, metadata, or configuration details.

ActionTry it

Get Sandbox Lifecycle Events

Tool to retrieve the latest lifecycle events for a particular sandbox instance. Use when you need to track state changes including creation, pausing, resuming, updates, and termination of a sandbox.

ActionTry it

Get Sandbox Logs

Tool to retrieve logs from a specific E2B sandbox instance. Use when you need to debug or monitor sandbox execution by viewing its console output and system logs.

ActionTry it

Get Sandbox Metrics

Tool to retrieve timestamped CPU, memory, and disk usage metrics for a sandbox. Use when you need to monitor resource usage of a running sandbox. Metrics are collected every 5 seconds; returns empty array if no metrics available yet.

ActionTry it

Get Team Maximum Metrics

Tool to retrieve the maximum value for a specific team metric in a given interval. Use when you need to check team limits or peak usage, such as maximum concurrent sandboxes allowed or highest resource usage.

ActionTry it

Get Team Metrics

Tool to retrieve timestamped CPU, memory, and disk usage metrics for a team. Use when you need to monitor aggregated resource usage across all sandboxes belonging to a team.

ActionTry it

Get Template Build Status

Tool to get the status of a template build. Use when you need to check the build status of a template that was started asynchronously. Useful in polling loops to monitor template builds in progress.

ActionTry it

Get Template Files

Tool to get an upload link for a tar file containing build layer files. Use when you need to retrieve or download template build layer files by their hash.

ActionTry it

Get Webhook Configuration

Tool to retrieve the current webhook configuration for a specific webhook. Use when you need to inspect webhook settings, verify configuration, or check webhook status.

ActionTry it

List All Sandboxes

Tool to list all running and paused sandboxes associated with your team. Use when you need to view active sandboxes, monitor sandbox state, or retrieve sandbox identifiers for further operations. Supports pagination and filtering by state or metadata.

ActionTry it

List All Templates

Tool to list all available E2B templates for your team. Use when you need to view available templates, retrieve template identifiers, or audit template configurations.

ActionTry it

List All Webhooks

Tool to retrieve all registered webhooks for your team. Use when you need to view all webhook configurations, audit webhook settings, or manage multiple webhooks.

ActionTry it

List Sandboxes Metrics

Tool to retrieve timestamped CPU, memory, and disk usage metrics for multiple sandboxes. Use when you need to monitor resource usage across multiple sandboxes simultaneously. Metrics are collected every 5 seconds; returns empty array if no metrics available yet.

ActionTry it

List Team Sandbox Lifecycle Events

Tool to retrieve the latest lifecycle events across all sandboxes associated with the team. Use when you need to monitor sandbox activity, track lifecycle changes, or audit sandbox operations.

ActionTry it

Pause Sandbox

Tool to pause a running E2B sandbox preserving its filesystem and memory state. Use when you need to temporarily suspend a sandbox while maintaining its state for later resumption. Takes approximately 4 seconds per 1 GiB of RAM to pause. Paused sandboxes can be stored for up to 30 days.

ActionTry it

Refresh Sandbox

Tool to refresh an E2B sandbox and extend its time to live. Use when you need to keep a sandbox alive longer and prevent it from timing out.

ActionTry it

Set Sandbox Timeout

Tool to set the timeout for an E2B sandbox. Use when you need to extend or reduce the sandbox lifetime. The timeout is measured from the current time, and calling this multiple times overwrites the previous TTL.

ActionTry it

Start Template Build

Tool to start a build for an E2B template. Use when you need to initiate the build process for a template with specific configuration. The build runs asynchronously and returns immediately with a 202 Accepted status.

ActionTry it

Update Template

Tool to update an E2B template configuration. Use when you need to modify template settings such as changing visibility (public/private status).

ActionTry it

Update Webhook Configuration

Tool to update an existing webhook configuration including URL, enabled status, and subscribed events. Use when you need to modify webhook settings, change the destination URL, enable/disable a webhook, or update event subscriptions.

ActionTry it

How the E2b integration works

The E2b integration connects your Dench AI CRM directly to E2b, so agents can read and act on your E2b data as part of everyday work — answering questions in chat, keeping your CRM in sync, and running automations without anyone copying data between tools.

27 actions are available for agents to invoke on your behalf. Every call runs through E2b's own authorization, scoped to the account you connect.

Set up E2b in Dench

  1. 1

    Sign in to your Dench workspace and open Integrations.

  2. 2

    Find E2b and click Connect — you'll authorize access through E2b's own sign-in flow. No API keys or code required.

  3. 3

    Ask an agent to use E2b in chat, or call it from an automation.

  4. 4

    Manage or disconnect the connection any time from workspace settings.

Frequently asked questions

How does the E2b integration work with Dench?

The Dench E2b integration connects your AI CRM to E2b, so AI agents can work with your E2b data as part of chats, automations, and CRM workflows. You connect your account once, and every agent in your workspace can use it — governed by your workspace permissions.

What actions can AI agents perform with E2b via Dench?

The E2b integration currently exposes 27 actions, including Check API Health, Connect to Sandbox, Create Sandbox, Create Template, Create Webhook, and Delete Sandbox. Agents invoke them on your behalf from chat or from automations.

Do I need to write code to connect E2b to Dench?

No. You connect E2b from your Dench workspace using E2b's own sign-in and authorization flow — no API keys to copy, no glue code to maintain.

Is the E2b integration secure?

Connections are authorized through E2b's own authentication flow, and Dench stores only the authorization needed to act on your behalf. You can review and disconnect the E2b connection from your workspace settings at any time.

E2b | Dench AI CRM