Connect Claude Desktop for Yourself
Add your Dtwo gateway to Claude Desktop as a custom connector, just for yourself.
On this page
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
- In Claude Desktop, open Customize → Connectors and click Add custom connector.
- 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://. - Click Add, then Connect, and sign in with your Dtwo account when your browser opens.
- 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
- 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.
- In Claude Desktop, open Customize → Connectors and click Add custom connector.
- 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://. - Choose Use your own OAuth client (or open Advanced settings, depending on your version) and enter the
<ClientId>you registered with your identity provider. - Click Add, then Connect, and sign in when your browser opens.
- 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
- 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.
- In Claude Desktop, open Customize → Connectors and click Add custom connector.
- 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://. - Choose Use your own OAuth client (or open Advanced settings, depending on your version) and enter the
<ClientId>you registered with your identity provider. - Click Add, then Connect, and sign in when your browser opens.
- 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
- 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.