> ## 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.

# Glean Assistant - Connect StackOne

> Use the StackOne MCP server to connect your work systems to Glean Assistant.

For Glean users whose admin has already added StackOne. Building a Glean agent? Follow [Agent Builder Setup](https://docs.stackone.com/ai-platforms/glean/glean-agents/agent-builder-setup.md) instead.

Recommended Set up with your agentCopy this prompt into an AI chat that can open links. It guides you one step at a time.

Help me connect StackOne to Glean. Read the setup guide at [https://docs.stackone.com/ai-platforms/setup-guide.md](https://docs.stackone.com/ai-platforms/setup-guide.md) and guide me one step at a time.
Copy

Or follow the steps yourself

## Connect

**1. Ask Glean to use StackOne**

1. Open Glean and start a new chat.
2. If you can pick a reasoning mode, click the filter icon in the chat box and set **Reasoning mode** to **Thinking**. Glean uses tools like StackOne only in Thinking mode.
3. Send:

   ```text theme={null}
   Which of my Linked Accounts can you reach through StackOne?
   ```

![Glean's chat box with the StackOne question typed in and the Reasoning mode menu open, with Thinking selected](https://mintcdn.com/stackone-60/RgaE_4ZxFuvAQ6gS/images/ai-platforms/glean/glean-reasoning-mode-thinking.png?fit=max\&auto=format\&n=RgaE_4ZxFuvAQ6gS\&q=85\&s=ac841a461a0444ec286e4c26449f4e12)

**2. Connect StackOne**

Glean shows a **Connect** button for StackOne. Click it.

![A Glean chat where the StackOne question is waiting on a StackOne card with a Connect button](https://mintcdn.com/stackone-60/RgaE_4ZxFuvAQ6gS/images/ai-platforms/glean/glean-connect-stackone.png?fit=max\&auto=format\&n=RgaE_4ZxFuvAQ6gS\&q=85\&s=4881e56cc372b0a9870172c0ab14d522)

If Glean answers with a list of accounts instead, your company uses one shared StackOne login for everyone. You have nothing to sign in to, so skip to the last step.

> [accordion] StackOne isn't there
>
> Ask your Glean admin to add StackOne and turn it on for you. Send them this:
>
> ```text theme={null}
> Can you add StackOne to Glean Assistant and turn it on for me? The steps are at https://docs.stackone.com/ai-platforms/glean/organization-admin-setup
> ```

**3. Sign in and authorize**

1. Sign in to StackOne. In a desktop app or code editor, this opens in your browser.
2. If StackOne asks for a project, pick yours and click **Continue to Accounts**.
3. Pick the work systems Glean can use (your Linked Accounts).
4. If you see **Load tools when needed**, leave it on.
5. Click **Authorize**.

![StackOne's Select accounts screen with two Linked Accounts ticked, Load tools when needed on, and the Authorize button](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)

Then go back to your Glean chat.

**4. Check it works**

Glean finishes your request and lists the Linked Accounts it can reach. If it doesn't, send it again:

```text theme={null}
Which of my Linked Accounts can you reach through StackOne?
```

Before Glean changes anything in a work system, it shows you the change and waits for your approval.

> [accordion] If something goes wrong
>
> **Glean explains how to do it instead of doing it.** It isn't using StackOne. Click the filter icon in the chat box, set **Reasoning mode** to **Thinking**, and send your request again.
>
> **Can't find StackOne.** A Glean admin adds StackOne and chooses who can use it. Ask yours, with the message in the **Connect StackOne** step.
>
> **A system you need is missing.** Ask your StackOne admin, or see [Linking Accounts](https://docs.stackone.com/connect/managing-connectors/linking-accounts.md).
>
> **It stopped working.** If Glean shows **Connect** again, click it and sign in. Access lasts 90 days from when you clicked **Authorize**. If that doesn't help, click your profile picture, go to **Your settings → Connectors** and select StackOne. Open the three-dot menu next to a tool marked **Authorized**, click **Disconnect** and confirm. Then ask Glean again and click **Connect**. If there's no **Disconnect**, your admin manages the StackOne login, so ask your Glean admin.
>
> **It can't do something.** It can do only what your own StackOne access allows, or what your admin allowed for a shared login. Ask your StackOne admin.

> [accordion] Add or change accounts
>
> Glean reaches only the Linked Accounts you approved when you connected. To add one you link later, or one someone shares with you afterwards:
>
> **1. Open Connected Apps**
>
> In the StackOne dashboard, go to [**Connected Apps**](https://app.stackone.com/connected_apps).
>
> **2. Edit the connection**
>
> 1. Open the **⋮** menu on the row for Glean and select **Edit tool access**.
> 2. Select the Linked Account.
> 3. Click **Save changes**.
>
> To review or revoke the connection, use the same **⋮** menu in **Connected Apps**.


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