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

# Hex

> Let your agents search Hex projects and ask data questions in Hex threads.

With the Hex tool, your agents can search your Hex projects, and start or continue Hex threads to ask data questions. Hex builds and maintains this MCP server: an admin connects it once, then anyone can add it to an agent.

## What your agent can do in Hex

Hex maintains the list of actions, and it can change at any time. See [Hex's MCP server documentation](https://learn.hex.tech/docs/api-integrations/mcp-server) for the current list. The tools listed in **Spaces** > **Tools** > **Hex** are the ones your agents can use.

## Before you start

* **In Dust:** you need to be an admin to connect Hex.
* **In Hex:** you need the Explorer workspace role or higher. The Hex tool connects to workspaces on `app.hex.tech`.

## Connect Hex

> [!NOTE]
>
> Only workspace admins can connect Hex.

**1. Open the tools of your workspace**

Go to **Spaces** > **Tools** and click **Add tools**.

**2. Pick Hex**

Select **Hex**, then click **Next**.

**3. Sign in**

Keep **Personal accounts**, selected by default, or pick **Shared account**. Click **Setup connection**, then sign in with your Hex account.

## Add Hex to an agent

**1. Open your agent in the Agent Builder**

Create an agent, or open one you can edit.

**2. Add the tool**

In **Capabilities and knowledge**, click **Add capabilities** and select **Hex**.

**3. Say what to ask**

In the instructions, name the projects or data the agent should use, and the questions it should send to Hex.

By default, tools that search projects and read threads run without asking (**Never ask**). Tools that start or continue threads use **Low**. Admins can change the level of each tool in **Spaces** > **Tools** > **Hex** > **Tools & stakes**:

* **High:** needs explicit user approval.
* **Low:** users can completely disable confirmations.
* **Never ask:** runs automatically.

Tools that Hex adds later start at **High** until an admin changes them.

## Related

> [card] [Preconfigured MCP servers](https://docs.dust.tt/docs/user-documentation/agents/tools/preconfigured-mcp-servers.md)
>
> All the third-party MCP servers you can connect.

> [card] [Personal vs Shared Credentials](https://docs.dust.tt/docs/user-documentation/admins/tools-management/personal-vs-shared-credentials.md)
>
> How each connection type works for tools.

> [card] [Adding an MCP server](https://docs.dust.tt/docs/user-documentation/admins/tools-management/adding-an-mcp-server.md)
>
> Add tools to your workspace and choose who can use them.


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