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

# dbt MCP (OAuth) connector profile – StackOne setup guide

> Set up a connector profile using MCP (OAuth) for dbt in StackOne to allow users to link their accounts.

## Register an OAuth client for the dbt MCP server

dbt Cloud's remote MCP server authenticates with OAuth 2.0. The default host\
(cloud.getdbt.com) does not offer public self-service client registration, so you\
obtain an OAuth client before connecting. The client grants access to the dbt MCP\
tool surface.

**1. Obtain MCP OAuth credentials**

Sign in to your [dbt Cloud account](https://cloud.getdbt.com/) and register an\
OAuth client for the MCP server. dbt issues the Client ID and, for confidential\
clients, the Client Secret.

**2. Set the callback URL**

Give dbt the **Callback URL** from your Connector Profile as the OAuth redirect\
URL for the registered client.

**3. Enter the client credentials**

Copy the values dbt issues into your Connector Profile:

<ul>
  <li>**Client ID**: the OAuth client ID of your registered MCP client.</li>
  <li>**Client Secret**: the OAuth client secret. Leave empty for a public (PKCE-only) client.</li>
</ul>

## Create the StackOne Connector Profile

**1. Create a Connector Profile**

Enable the connector and create a Connector Profile in your project. See [Setup Connector Profile](https://docs.stackone.com/gateway/quickstart.md#setup-connector-profile).

**2. Link an Account**

Once the Connector Profile is created, continue to [link an account](https://docs.stackone.com/connectors/dbt/guides/link-account/mcp-oauth.md).


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