Skip to main content

Prerequisites

Before you can configure and use ChatGPT with Connect AI, you must first connect a data source to your Connect AI account. See Sources for more information. You also need ChatGPT Plus or Pro. ChatGPT requires a custom Connect AI OAuth app. Create the custom OAuth app in the OAuth Apps tab of Settings. See OAuth Apps for more information.

Configure the Connect AI MCP Server

1
In ChatGPT, go to Settings > Apps and click Create app.
2
In the New App dialog, enter the following:
  • Name–enter a name for the app, such as QueryMCP.
  • Description–enter a description for the app.
  • MCP Server URL–enter either the URL for the CData MCP server (https://mcp.cloud.cdata.com/mcp) or the URL for the custom MCP tools (see Custom MCP Tools for more information).
  • Authentication–select OAuth.
ChatGPT New App
3
Click Advanced settings. An OAuth advanced settings dialog appears.
ChatGPT New App
4
Select a Registration method of User-Defined OAuth Client.
5
Copy the Callback URL. This URL needs to be pasted in the Callback URL field of the Connect AI OAuth application. See OAuth Apps for details.
6
The OAuth Client ID and OAuth Client Secret are obtained when you create a custom Connect AI custom OAuth application. See OAuth Apps for instructions on how to create a custom OAuth application. Paste these values into OAuth advanced settings after you generate the OAuth application.
In the Connect AI OAuth application, select an Authentication Flow of User-based for ChatGPT.
ChatGPT New App
7
Select client_secret_post as the Token endpoint auth method.
8
Select I understand and want to continue.
9
Click Create.
10
If the connection is successful, the message CData Connect AI is now connected appears.
11
Ask ChatGPT questions about your data. ChatGPT may ask your permission to access the data.
12
Expand Called tool to view details about how ChatGPT accesses your data using MCP tools.
ChatGPT Called Tool