Query Live SQL Analysis Services Data in Perplexity Desktop via CData Connect AI
Perplexity is an AI-powered research and answer engine that combines web search, structured data, and connected tools through a unified conversational interface. With Perplexity Desktop for macOS, you can bring external data sources directly into your workflow using MCP, enabling fast, context-aware insights powered by live data.
Integrating Perplexity Desktop with CData Connect AI via its built-in MCP connector allows the AI to query, explore, and reason over live SQL Analysis Services data without copying data out of its source system. The result is a research experience where you can ask questions about your governed enterprise data directly from Perplexity Desktop.
This article outlines how to configure SQL Analysis Services connectivity in Connect AI, generate the required access token, register Connect AI's MCP Server in Perplexity Desktop, and then use the chat interface to explore live SQL Analysis Services data.
Step 1: Configure SQL Analysis Services connectivity for Perplexity Desktop
Connectivity to SQL Analysis Services from Perplexity Desktop is made possible through CData Connect AI's Remote MCP Server. To interact with SQL Analysis Services data from Perplexity Desktop, start by creating and configuring a SQL Analysis Services connection in CData Connect AI.
- Log into Connect AI, click Sources, and then click Add Connection
- Select SQL Analysis Services from the Add Connection panel
-
Enter the necessary authentication properties to connect to SQL Analysis Services.
To connect, provide authentication and set the Url property to a valid SQL Server Analysis Services endpoint. You can connect to SQL Server Analysis Services instances hosted over HTTP with XMLA access. See the Microsoft documentation to configure HTTP access to SQL Server Analysis Services.
To secure connections and authenticate, set the corresponding connection properties, below. The data provider supports the major authentication schemes, including HTTP and Windows, as well as SSL/TLS.
-
HTTP Authentication
Set AuthScheme to "Basic" or "Digest" and set User and Password. Specify other authentication values in CustomHeaders.
-
Windows (NTLM)
Set the Windows User and Password and set AuthScheme to "NTLM".
-
Kerberos and Kerberos Delegation
To authenticate with Kerberos, set AuthScheme to NEGOTIATE. To use Kerberos delegation, set AuthScheme to KERBEROSDELEGATION. If needed, provide the User, Password, and KerberosSPN. By default, the data provider attempts to communicate with the SPN at the specified Url.
-
SSL/TLS:
By default, the data provider attempts to negotiate SSL/TLS by checking the server's certificate against the system's trusted certificate store. To specify another certificate, see the SSLServerCert property for the available formats.
You can then access any cube as a relational table: When you connect the data provider retrieves SSAS metadata and dynamically updates the table schemas. Instead of retrieving metadata every connection, you can set the CacheLocation property to automatically cache to a simple file-based store.
See the Getting Started section of the CData documentation, under Retrieving Analysis Services Data, to execute SQL-92 queries to the cubes.
-
HTTP Authentication
- Click Save & Test
- Navigate to the Permissions tab and update user-based permissions
Add a Personal Access Token
A Personal Access Token (PAT) is used to authenticate the connection to Connect AI from Perplexity Desktop. It is best practice to create a separate PAT for each integration to maintain granular access control.
- Click the gear icon () at the top right of the Connect AI app to open Settings
- On the Settings page, go to the Access Tokens section and click Create PAT
- Give the PAT a descriptive name and click Create
- The personal access token is only visible at creation, so be sure to copy it and store it securely for future use
Create an OAuth App in CData Connect AI
Perplexity Desktop uses OAuth 2.0 to authenticate users against the CData Connect AI MCP Server. This requires creating an OAuth App in your CData Connect AI account.
- Click the Gear icon () in the top-right corner of Connect AI to open Settings
- Navigate to OAuth Apps and click + Create App. The Create OAuth App dialog appears
-
Fill in the following fields:
- Name — Enter a descriptive name (e.g.,
)PerplexityOAuth - Authentication Flow — Select User-based (Authorization Code)
- Callback URL — Enter the callback URL provided by Perplexity Desktop when adding the connector
- Name — Enter a descriptive name (e.g.,
- Click Confirm. CData Connect AI generates a Client ID and Client Secret
- Copy both values and store them securely. You will need them in Step 2
With the SQL Analysis Services connection configured and an OAuth App created, Perplexity Desktop can now connect to SQL Analysis Services data through Connect AI.
Step 2: Configure Connect AI in Perplexity Desktop
Next, register the CData Connect AI MCP Server as a custom remote connector in Perplexity Desktop. This feature requires a Perplexity Pro, Max, or Enterprise account and the macOS desktop app. Once configured, Perplexity's AI can call the tools exposed by CData Connect AI to access live SQL Analysis Services data.
- Download the Perplexity Desktop application for macOS and sign in with your Pro, Max, or Enterprise account
-
Open Settings > Connectors.
If the Perplexity Helper App is not installed, you will be prompted to download it. Install the Helper App, then restart Perplexity Desktop
-
After restarting, return to Settings > Connectors and click Add Custom Remote Connector
-
In the URL field, enter the CData Connect AI MCP endpoint:
https://mcp.cloud.cdata.com/mcp
-
For the authentication method, select OAuth. Enter the Client ID and Client Secret from the OAuth App created in Step 1, and click Connect
-
You will be redirected to CData Connect AI to authorize the connection. Sign in and click Allow to grant Perplexity access
-
After successful authorization, you will be redirected back to Perplexity Desktop. The connector should now appear in the list with an active status
Step 3: Query your live SQL Analysis Services data from Perplexity Desktop
-
Open a new chat in Perplexity Desktop. Click the Sources toggle and enable your CData connector
-
Start asking questions about your SQL Analysis Services data. For example:
"List all the tables available in my SQL Analysis Services data connection."
-
Try additional queries such as:
- "Show the available schemas in SQL Analysis Services."
- "Retrieve the top 10 records from the Account table."
- "Summarize the high-priority open opportunities in SQL Analysis Services."
Perplexity Desktop is now fully integrated with the CData Connect AI MCP Server and can reason over live SQL Analysis Services data directly from the chat interface.
Get CData Connect AI
To access hundreds of SaaS, Big Data, and NoSQL sources directly from your AI tools, try CData Connect AI today!