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

# Infisical

> Inject secrets into Tembo-powered runs without committing .env files.

![Infisical](https://mintcdn.com/test-8862363a/_KF7n4fDwDrxMgZe/images/integrations/infisical.png?fit=max\&auto=format\&n=_KF7n4fDwDrxMgZe\&q=85\&s=d277182b931d4314cd7dd275ae4ea0c4)

## Features

* Works out of the box in Tembo sandboxes (Infisical CLI is already installed)
* Injects secrets at runtime without committing `.env` files
* Supports optional env var overrides for project/environment/path/domain defaults

## Installation

**1. Open Sandbox settings**

In Tembo, go to **Settings** -> **Sandbox**.

**2. Add environment variable**

Add `INFISICAL_TOKEN` to your sandbox environment variables and save.

**3. Start a new session**

Start a new Tembo session. That's it.

## Usage

In Tembo sandbox sessions, this will automatically work once `INFISICAL_TOKEN` is set.
Run commands with `infisical run --`:

```bash theme={null}
infisical run -- bun run --watch index.ts
infisical run -- next dev --turbopack --port 3000
```

If your script cannot infer the Infisical project automatically, add
`--projectId` before the command separator:

```bash theme={null}
infisical run --projectId <project-id> -- bun run --watch index.ts
```

## Optional overrides

If you want to override defaults for `infisical run`, add these in **Settings -> Sandbox**:

* `INFISICAL_PROJECT_ID`
* `INFISICAL_ENV`
* `INFISICAL_SECRET_PATH`
* `INFISICAL_API_URL`

Explicit CLI flags still win over env-var defaults.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.