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

# Genie Code - Connect StackOne

> Use the StackOne MCP server to connect your work systems to Genie Code.

For anyone connecting StackOne in Databricks Genie Code once your workspace admin has registered it in Unity Gateway.

Recommended Set up with your agentPaste this into a Genie Code chat. Genie Code walks you through it, one step at a time.

Help me connect StackOne to Databricks Genie Code. 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. Sign in to the StackOne MCP service**

For per-user OAuth, sign in to the StackOne MCP service before using it in Genie Code:

1. In your Databricks workspace, open **Unity Gateway** and select **MCPs**.
2. Select the StackOne MCP service your admin registered, then click **Login**.

If you have **Consumer access** or **Databricks SQL access** instead of **Workspace access**, open the MCP sign-in page in your browser using the full service name your admin gave you:

```text theme={null}
https://<workspace-hostname>/mcp-service-login?name=<catalog>.<schema>.<service>
```

Then click **Sign in** or **Login**.

> [accordion] StackOne isn't there
>
> Ask your Databricks workspace admin to register StackOne in Unity Gateway and grant you `EXECUTE` on the MCP service plus `USE CATALOG` and `USE SCHEMA` on its parent catalog and schema. Send them this:
>
> ```text theme={null}
> Can you make StackOne available to me in Databricks Genie Code? The steps are at https://docs.stackone.com/ai-platforms/databricks/genie-code/organization-admin-setup
> ```

**2. Authorize StackOne**

1. Sign in to StackOne. In a desktop app or code editor, this opens in your browser.
2. Check the project at the top left. Genie Code only reaches Linked Accounts in that project. To use another one, click it and pick yours.
3. Pick the work systems Genie Code can use (your Linked Accounts).
4. If you see **Load tools when needed**, leave it on.
5. Click **Authorize**.

![StackOne's consent screen for Claude, with three Linked Accounts selected, Load tools when needed on, and the Authorize button](https://mintcdn.com/stackone-60/YmZbq_bZpKKfcffI/images/ai-platforms/oauth-consent-connect-to-your-tools.png?fit=max\&auto=format\&n=YmZbq_bZpKKfcffI\&q=85\&s=f7600605abcc0b446e7996945b0b6090)

When Databricks shows **You're signed in**, close the sign-in tab and return to your workspace.

**3. Add StackOne to Genie Code**

1. In your Databricks workspace, click the **Genie Code** icon in the upper-right corner to open the Genie Code pane.
2. Click the **More** menu in the pane header, select **Customizations**, then select the **Connectors** tab. In full page Genie Code, click **Customizations** in the left sidebar and select **Connectors**.
3. Next to **From your organization**, click **Add MCP server**.
4. Choose **UC MCP Service**, select the StackOne service from **Select a UC MCP Service**, and click **Save**.

**4. Check it works**

In a Genie Code chat, send this message:

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

Genie Code lists the work systems it can reach. If Genie Code asks for your approval before calling a StackOne tool, click **Allow**.

If Genie Code doesn't trigger StackOne automatically, name it in your prompt: `Use StackOne to list my Linked Accounts`.

> [accordion] If something goes wrong
>
> **Can't find StackOne under UC MCP Service.** Ask your Databricks workspace admin to register StackOne in **Unity Gateway** > **MCPs** and grant you `EXECUTE` on the MCP service, `USE CATALOG` on its parent catalog, and `USE SCHEMA` on its parent schema.
>
> **Genie Code doesn't use StackOne.** Confirm that **Partner-powered AI features** are enabled for your workspace and that StackOne appears under **Customizations** > **Connectors**. If Genie Code still skips it, name StackOne explicitly in your prompt.
>
> **A system you need is missing.** Ask your StackOne admin, or see [Linking Accounts](https://docs.stackone.com/connect/managing-connectors/linking-accounts.md).
>
> **Tool calls fail with an authentication error.** Genie Code doesn't warn you when your provider sign-in expires or when connection permissions change. Open the StackOne service in **Unity Gateway** > **MCPs** (or open `https://<workspace-hostname>/mcp-service-login?name=<catalog>.<schema>.<service>`), sign in again, and retry your prompt.
>
> **It can't do something.** It can do only what your own StackOne access allows. Ask your StackOne admin.

> [accordion] Add or change accounts
>
> Genie Code 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 Genie Code 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.