Connect Claude Desktop for Yourself

Add your Dtwo gateway to Claude Desktop as a custom connector, just for yourself.

On this page
  1. Overview
  2. Set up Claude Desktop

Overview

This guide adds your Dtwo gateway to Claude Desktop as a custom connector, just for you.

This works on Free, Pro, and Max plans. On Team and Enterprise plans, members can’t add custom connectors of their own, so an Owner adds Dtwo for everyone. See Roll Out Dtwo in Claude Desktop.

Set up Claude Desktop

Select how your gateway signs people in.

Step 1: Add the gateway to Claude Desktop

  1. In Claude Desktop, open Customize → Connectors and click Add custom connector.
  2. Name the connector after your gateway and enter your gateway’s MCP URL. Copy it from your gateway’s Overview tab in the Dtwo UI. It must start with https://.
  3. Click Add, then Connect, and sign in with your Dtwo account when your browser opens.
  4. Start a new chat, click + in the message box, choose Connectors, and switch your gateway’s connector on. A connector that’s added but switched off is never used.

Step 2: Verify the connection

  1. In a new chat, ask Claude which tools it has through your gateway. It should list the tools from the MCP servers behind your gateway.

Step 1: Get Claude Desktop's client ID from Microsoft Entra ID

If you’ve already registered Claude Desktop as an app in Microsoft Entra ID, go to App registrations, open the Claude Desktop app, and copy the Application (client) ID from its Overview page. This is your <ClientId>.

If you haven’t registered Claude Desktop in Microsoft Entra ID yet, follow Register Claude Desktop in Microsoft Entra ID, then come back here.

Step 2: Add the gateway to Claude Desktop

For Free, Pro, and Max plans.

  1. In Claude Desktop, open Customize → Connectors and click Add custom connector.
  2. Name the connector after your gateway and enter your gateway’s MCP URL. Copy it from your gateway’s Overview tab in the Dtwo UI. It must start with https://.
  3. Choose Use your own OAuth client (or open Advanced settings, depending on your version) and enter the <ClientId> you registered with your identity provider.
  4. Click Add, then Connect, and sign in when your browser opens.
  5. Start a new chat, click + in the message box, choose Connectors, and switch your gateway’s connector on. A connector that’s added but switched off is never used.

Step 3: Verify the connection

  1. In a new chat, ask Claude which tools it has through your gateway. It should list the tools from the MCP servers behind your gateway.

Step 1: Get Claude Desktop's client ID from Okta

If you’ve already registered Claude Desktop as an app in Okta, go to Applications and Resources → Applications, open the Claude Desktop app integration, and copy the Client ID from its General tab. This is your <ClientId>.

If you haven’t registered Claude Desktop in Okta yet, follow Register Claude Desktop in Okta, then come back here.

Step 2: Add the gateway to Claude Desktop

For Free, Pro, and Max plans.

  1. In Claude Desktop, open Customize → Connectors and click Add custom connector.
  2. Name the connector after your gateway and enter your gateway’s MCP URL. Copy it from your gateway’s Overview tab in the Dtwo UI. It must start with https://.
  3. Choose Use your own OAuth client (or open Advanced settings, depending on your version) and enter the <ClientId> you registered with your identity provider.
  4. Click Add, then Connect, and sign in when your browser opens.
  5. Start a new chat, click + in the message box, choose Connectors, and switch your gateway’s connector on. A connector that’s added but switched off is never used.

Step 3: Verify the connection

  1. In a new chat, ask Claude which tools it has through your gateway. It should list the tools from the MCP servers behind your gateway.

Having trouble?

Email us and we'll help you get set up.

Email support
Updated
Get in touch

Tell us what you need to govern.

A few lines is plenty — what you're deploying, and what you need control over. We read every one.

↑↓ to navigate ↵ to open