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

# LangSmith Agent Builder

Use the Box MCP server with [LangChain Agent Builder](https://docs.langchain.com/langsmith/agent-builder-remote-mcp-servers) to build reusable agents that securely connect to Box, analyze files with Box AI, extract structured data, and save artifacts back to Box.

## Prerequisites

* A Box enterprise account with the MCP server enabled by an admin. See [Set up the MCP server](/guides/box-mcp/setup).
* A LangSmith account with access to Agent Builder.

## Enable Box integration in Box

<Badge color="orange" size="lg">Admin</Badge>

1. Sign in to the [Box Admin Console](https://app.box.com/master).
2. Go to **Integrations** and find **Custom Box MCP Server** either by using the **MCP Category** filter, or by using the search bar at the top of the page.
3. Go to **Configuration** > **Add Integration Credentials** to generate new credentials.
4. In **Redirect URIs**, change the Box redirect URIs to the Redirect URI provided by the external MCP Client.
5. Copy the **Client ID** and **Client Secret** for later use. These are required later for LangSmith to authorize the connection.
6. Check the **Access scopes**:
   * **Scopes** define the maximum set of actions. Users can only access content they already have permission to view or edit in Box.
   * **Read all files and folders stored in Box**.
   * **Read and write all files and folders stored in Box**.
   * **Manage AI Requests**.
7. Click **Save**.

## Configure Connection in LangSmith Agent Builder

<Badge color="orange" size="lg">Admin</Badge>

Follow the instructions in the LangChain’s documentation: [Manage workspace administration](https://docs.langchain.com/langsmith/fleet/workspace-admin#workspace-secrets), [Remote MCP Servers](https://docs.langchain.com/langsmith/agent-builder-remote-mcp-servers).

## Video walkthrough

The video below shows how to use the Box MCP server with LangChain Agent Builder
to build a reusable intake review agent. The agent securely connects to Box, analyzes
files with Box AI, extracts structured data, and saves a review packet back to the source
folder. In this guide, you will:

* Connect LangChain Agent Builder to Box using MCP and OAuth
* Use a prebuilt agent template for intake review workflows
* Run the agent with a simple prompt
* Extract key fields, classify documents, and flag missing information
* Generate a durable review artifact saved back into Box

<iframe width="100%" height="315" src="https://www.youtube.com/embed/KZUcueJ73-Q" title="Build an intake review agent with LangChain Agent Builder + Box MCP" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen />
