> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mistle.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Modal

> Connect Modal sandbox runtime access to Mistle

## Overview

Modal provides a sandbox runtime for running Mistle sandboxes with organization-owned Modal credentials.

Use this connection when a sandbox profile should use workspace-owned Modal credentials.

## Connect In Mistle

Open **Integrations** in the dashboard, choose **Modal**, then select **Token**.

Enter:

| Field        | Value              |
| ------------ | ------------------ |
| Token ID     | Modal token ID     |
| Token secret | Modal token secret |

## Use With A Sandbox Profile

After the connection exists:

1. Open the sandbox profile that should run on Modal.
2. Choose **Modal** as the sandbox runtime.
3. Select the Modal credentials connection.
4. Save and publish the profile version.

For self-hosted deployments, the Modal runtime must also be enabled in deployment configuration before profiles can use it.
