ChatGPT is an AI chatbot developed by OpenAI, launched in November 2022. Based on large language models (LLMs), it enables users to refine and steer conversations through natural language processing. ChatGPT's developer mode, available to Plus and Pro subscribers, provides full Model Context Protocol (MCP) support for connecting to external data sources and tools.
CData Connect AI offers a dedicated cloud-to-cloud interface for connecting to Presto data. The CData Connect AI Remote MCP Server enables secure communication between ChatGPT and Presto. This allows you to ask questions and take actions on your Presto data using ChatGPT, all without the need for data replication to a natively supported database. With its inherent optimized data processing capabilities, CData Connect AI efficiently channels all supported SQL operations, including filters and JOINs, directly to Presto. This leverages server-side processing to swiftly deliver the requested Presto data.
About Presto Data Integration
Accessing and integrating live data from Trino and Presto SQL engines has never been easier with CData. Customers rely on CData connectivity to:
- Access data from Trino v345 and above (formerly PrestoSQL) and Presto v0.242 and above (formerly PrestoDB)
- Read and write access all of the data underlying your Trino or Presto instances
- Optimized query generation for maximum throughput.
Presto and Trino allow users to access a variety of underlying data sources through a single endpoint. When paired with CData connectivity, users get pure, SQL-92 access to their instances, allowing them to integrate business data with a data warehouse or easily access live data directly from their preferred tools, like Power BI and Tableau.
In many cases, CData's live connectivity surpasses the native import functionality available in tools. One customer was unable to effectively use Power BI due to the size of the datasets needed for reporting. When the company implemented the CData Power BI Connector for Presto they were able to generate reports in real-time using the DirectQuery connection mode.
Getting Started
Step 1: Configure Presto Connectivity for ChatGPT
Connectivity to Presto from ChatGPT is made possible through CData Connect AI Remote MCP. To interact with Presto data from ChatGPT, we start by creating and configuring a Presto connection in CData Connect AI.
-
Log into your Connect AI account, click Sources, and then click Add Connection.
π Adding a Connection
- Select "Presto" from the Add Connection panel.
π Selecting a data source
-
Enter the necessary authentication properties to connect to Presto.
Set the Server and Port connection properties to connect, in addition to any authentication properties that may be required.
To enable TLS/SSL, set UseSSL to true.
Authenticating with LDAP
In order to authenticate with LDAP, set the following connection properties:
- AuthScheme: Set this to LDAP.
- User: The username being authenticated with in LDAP.
- Password: The password associated with the User you are authenticating against LDAP with.
Authenticating with Kerberos
In order to authenticate with KERBEROS, set the following connection properties:
- AuthScheme: Set this to KERBEROS.
- KerberosKDC: The Kerberos Key Distribution Center (KDC) service used to authenticate the user.
- KerberosRealm: The Kerberos Realm used to authenticate the user with.
- KerberosSPN: The Service Principal Name for the Kerberos Domain Controller.
- KerberosKeytabFile: The Keytab file containing your pairs of Kerberos principals and encrypted keys.
- User: The user who is authenticating to Kerberos.
- Password: The password used to authenticate to Kerberos.
π Configuring a connection (Salesforce is shown)
-
Click Save & Test
With the connection configured, we are ready to connect to Presto data from ChatGPT.
Step 2: Connect ChatGPT to CData Connect AI
Follow these steps to add a CData Connect AI connection in ChatGPT:
- Sign in to ChatGPT with a Plus or Pro subscription.
- Navigate to Apps from the left panel.
- Select the CData Connect AI app from the list.
.
π Search for CData Connect AI
- Click Connect to authenticate to your Connect AI account.
π Click Connect to authenticate
- Click Sign in with CData Connect AI to add Connect AI to your ChatGPT account.
π Sign in with CData Connect AI
- After successful authorization, you will be redirected back to ChatGPT.
- Click Start Chat to start a new conversation in ChatGPT with Connect AI connected at the background.
π Start Chat
Step 3: Explore Live Presto Data with ChatGPT
- Start a new conversation in ChatGPT.
- Connect AI should ideally be automatically enabled in the chat. If not, navigate to -> More -> CData Connect AI, under the chatbox, to enable the connector from the dropdown
π Enable CData Connect AI in the chat
- You can now start exploring your data with natural language prompts. ChatGPT will use the Connect AI MCP server to query your live Presto data. Example prompts:
- "Show me all customers from the last 30 days"
- "What are my top performing products?"
- "Analyze sales trends for this quarter"
- "List all active projects and their current status"
Refer to CData prompt library for more prompt ideas.
π Using natural language to explore your Presto data (Salesforce used here).
- Permit ChatGPT to access your Presto data. Click Query Data to continue, or Deny to refuse.
π Give permissions to ChatGPT.
- ChatGPT translates your natural language queries into SQL and execute them against your Presto data through the Connect AI MCP server.
π ChatGPT shows the desired results from your Presto data based on the prompts
Get CData Connect AI
To get live data access to hundreds of SaaS, Big Data, and NoSQL sources directly from your cloud
applications, try CData Connect AI today!