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

# LangSmith Fleet - Make StackOne Available

> Allow your users to connect to work systems with StackOne.

![An IT admin adds StackOne to the LangSmith workspace, bringing Linked Accounts from many providers. In Per-user agents, each user then connects with their own accounts: an HR manager builds LangSmith Fleet agents with Workday, Greenhouse and BambooHR, and a sales manager builds them with Salesforce, HubSpot and Gmail.](https://mintcdn.com/stackone-60/Vmn5zmqhtjxSlhGp/images/ai-platforms/langchain/admin-setup.svg?fit=max\&auto=format\&n=Vmn5zmqhtjxSlhGp\&q=85\&s=b418ab6673a76d26adfb0485e3aaf1e7)

Make StackOne available to every agent in your LangSmith workspace. In **Per-user** agents, each person signs in with their own StackOne login and reaches only the systems they've been given access to in StackOne.

LangSmith sets up MCP servers per workspace. If your organization has more than one, repeat these steps in each workspace that needs StackOne.

## Before you start

Adding an MCP server in Fleet takes the **MCP Server Create** permission. On the Developer and Plus plans, every workspace member is a workspace admin and has it. On Enterprise, the **Fleet Admin** and **Workspace Admin** roles include it, and a workspace admin can grant it from workspace settings.

Fleet asks you to sign in to StackOne while you add it. In StackOne:

* A StackOne [project](https://docs.stackone.com/gateway/concepts/organizations-and-projects.md) you are a member of.
* A [connector profile](https://docs.stackone.com/connect/managing-connectors/connector-profiles.md) in the project for each provider the client should reach, with the actions you want exposed enabled.
* (Optional) A [linked account](https://docs.stackone.com/connect/managing-connectors/linking-accounts.md) for each provider. Accounts can also be linked during the consent flow.

## Add StackOne to your workspace

**1. Add StackOne as a custom MCP server**

1. In LangSmith, go to **Fleet** > **Integrations**.

2. Click **+ Custom MCP** at the bottom of the left sidebar.

3. Set the following:

   * **Name**: `StackOne`.

   * **URL**:

     ```text theme={null}
     https://mcp.stackone.com/mcp
     ```

   * **Authentication**: **OAuth 2.1 (Auto)**. Fleet registers itself with StackOne, so there's no client ID or secret to enter.

4. Click **Save server**.

You can also add it under **Settings** > **MCP servers** with **Add server**, using the same name, URL and authentication.

![The Add custom MCP form in LangSmith Fleet, with Name set to StackOne, the StackOne MCP URL entered, and OAuth 2.1 (Auto) selected under Authentication.](https://mintcdn.com/stackone-60/Vmn5zmqhtjxSlhGp/images/ai-platforms/langchain/langsmith-fleet-add-custom-mcp-stackone.png?fit=max\&auto=format\&n=Vmn5zmqhtjxSlhGp\&q=85\&s=ff878bd369a72e346e44e1e806c92691)

> [!WARNING]
>
> Keep the URL as it is once agents use StackOne. Fleet stores each tool by its server URL, so changing the URL breaks every agent that uses StackOne.
>
> If the URL does change:
>
> 1. Update it in **Settings** > **MCP servers**.
> 2. In each agent that uses StackOne, remove its StackOne tools and add them again.
> 3. Test each agent.

**2. Sign in and authorize**

Fleet asks you to sign in to StackOne with your own login.

Sign in, pick the project and the [linked accounts](https://docs.stackone.com/connect/managing-connectors/linking-accounts.md) the connector should reach, then **Authorize**.

> [accordion] Walk through the consent screen
>
> 1. **Sign in to StackOne.** If you are already signed in to the dashboard you skip straight to the next step.
> 2. **Check where the connection returns.** The line under the client's logo shows where it goes after you approve. If it names localhost or an app on this device, only continue if you started the connection from that client.
> 3. **Select a project.** Select the project you would like to associate the connection with. If you belong to one project, this step is skipped.
> 4. **Select accounts and access.** Select the linked accounts the client can use, and choose how much it can do in each: read, write, full access, or pick individual actions. To link a new account, click **Link account**. When the project has [MCP Events](https://docs.stackone.com/connect/mcp-events.md) on, each account also lists its events, and all of them are granted unless you untick some.
> 5. **(Optional) Load tools when needed.** On by default, and the toggle that puts the connection into [Advanced Tool Search](https://docs.stackone.com/optimize/advanced-tool-search.md). Leave it on for large action sets. Turn it off to hand the agent every selected action up front.
> 6. **Authorize.** Completes the connection; you can return to your client.
>
> ![StackOne authorization screen listing organizations, with a project selected inside one of them](https://mintcdn.com/stackone-60/RgaE_4ZxFuvAQ6gS/images/ai-platforms/oauth-consent-select-project.png?fit=max\&auto=format\&n=RgaE_4ZxFuvAQ6gS\&q=85\&s=69d4694c8ea854c52ec62fc1bbe0825a)
>
> Select a project
>
> ![StackOne authorization screen showing two linked accounts, Linear and Open-Meteo, both selected, above the Load tools when needed toggle](https://mintcdn.com/stackone-60/RgaE_4ZxFuvAQ6gS/images/ai-platforms/oauth-consent-select-accounts.png?fit=max\&auto=format\&n=RgaE_4ZxFuvAQ6gS\&q=85\&s=66ef4eb4d8bf6e5246e5f01ec959c187)
>
> Select accounts
>
> ![An expanded linked account showing individual actions with toggles, descriptions, and category tags](https://mintcdn.com/stackone-60/RgaE_4ZxFuvAQ6gS/images/ai-platforms/oauth-consent-select-actions.png?fit=max\&auto=format\&n=RgaE_4ZxFuvAQ6gS\&q=85\&s=c86b615e0f55cd43236e38142c1ebca5)
>
> Toggle actions
>
> > [!NOTE]
> >
> > If you see a sentence where the **Load tools when needed** toggle should be, an admin has already settled it for the whole project. See [project settings](https://docs.stackone.com/optimize/advanced-tool-search.md#setting-it-for-a-whole-project).

Fleet then finds the StackOne tools and makes them available to agents in your workspace.

Your sign-in here doesn't sign in your users:

* In a **Per-user** agent, each person signs in the first time they use it. That prompt is expected.
* A **Shared** agent uses the accounts its owner connected.

## Roll it out

StackOne is now available for your users in LangSmith Fleet. Make sure the following is ready before rolling out:

* **Add users.** Invite or provision users via SSO/SCIM. See [Manage Team](https://docs.stackone.com/secure/identity-and-access/manage-team/overview).
* **Create groups.** Organize teams into [groups](https://docs.stackone.com/secure/identity-and-access/roles-and-groups/groups.md) to control which systems each team reaches.
* **Set up connectors.** Define [Connector Profiles](https://docs.stackone.com/connect/managing-connectors/connector-profiles.md) to scope provider actions for specific functions.
* **Link accounts.** Link shared company accounts, or let users link their own accounts. See [Linking Accounts](https://docs.stackone.com/connect/managing-connectors/linking-accounts.md).

Check that each person is a member of this workspace. Belonging to your LangSmith organization doesn't always add someone to it.

On Enterprise, also check their workspace role:

* To use agents shared with them, **Fleet User** is enough.
* To build agents, they need the `fleet-agents:create` permission. **Fleet Builder**, **Fleet Admin** and **Workspace Admin** include it. **Fleet Builder** gives Fleet access without wider workspace admin rights.

Then send users this guide:

> [card] [LangSmith Fleet User Setup](https://docs.stackone.com/ai-platforms/langchain/langsmith-fleet/user-setup.md)
>
> For people in your workspace adding StackOne to their Fleet agents, or using one a teammate shared.

## Choose whose login an agent uses

Each Fleet agent has an identity, also called its connection format, that decides whose StackOne login it uses. Whoever builds the agent picks it, and new agents default to **Per-user**. An agent's identity can be set only once, so choose before you create it. If an agent has none yet, set it with **Edit** > **Set identity**. The identity is separate from who the agent is shared with. Tell your agent builders which one to pick:

* **Per-user** (user credentials), marked **Recommended** in Fleet, has each person sign in with their own StackOne login the first time they use the agent. They reach only the systems their own StackOne access allows.
* **Shared** (fixed credentials) has everyone work through the agent owner's StackOne login, and reach the owner's Linked Accounts. Microsoft Teams works only with **Shared** agents. LangChain's [agent identity guide](https://docs.langchain.com/langsmith/fleet/agent-identity) also says schedules need **Shared**.


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