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

# Box

> The Box content cloud over its REST API — files and people, and the governance surface around them.

Connect the **Box** content cloud over its REST API — files and people, and the governance surface around them.

## What Myrmex Can Do

<CardGroup cols={2}>
  <Card title="Content and people" icon="list-check">
    Files and folders, users and groups, collaborations and shared links, trash and search.
  </Card>

  <Card title="Governance" icon="gauge">
    Retention policies, legal holds, the external-collaboration allowlist, device pins, watermarking, storage regions (Box Zones), metadata templates and webhooks.
  </Card>

  <Card title="Audit trail" icon="sliders">
    The enterprise event log.
  </Card>

  <Card title="Box services" icon="shield-halved">
    Box Sign, Box AI and Hubs, plus content transfer to and from the Collector.
  </Card>
</CardGroup>

## Before You Start

* A Box **app** with client credentials grant enabled, and your enterprise id.
* A **Collector** that can reach it.

<Tip>
  Scope the credential to what Myrmex should reach. A narrower one still connects — it just leaves the agents with less reach.
</Tip>

## Add the Integration in Myrmex

From the **Directory**, choose **Add Integration → Box**, then fill in:

| Field | Description |
| - | - |
| **Name** | A unique name for this instance. |
| **Description** | Optional note to identify it. |
| **Client id / Client secret** | The Box app's OAuth credentials. |
| **Enterprise id** | Your Box enterprise identifier. |
| **Subject type** | `enterprise` or `user` — the scope the token acts under. |
| **Subject id** | The identifier of that enterprise or user. |
| **As user** | Act on behalf of a specific user. |
| **Authentication Type** | `oauth2-ccg` — client credentials grant. |
| **Api base / Token url** | The Box API and token endpoints. |
| **Collector** | The [Collector](/documentation/agent-endpoint-security/collector-mode) that reaches it. |

<Note>
  The integration is tied to the **context** you have selected when you create it.
</Note>

## Connect

Click **Connect** to validate and finish. It then appears in the **Directory**. New to integrations? See the [Integrations overview](/documentation/integrations/overview).
