Use Claude to Talk to Your SingleStore Data via CData Connect AI
Claude is a family of advanced large language models (LLMs) built by Anthropic, an AI research company founded in 2021. These models power the Claude conversational assistant and developer tools.
CData Connect AI offers a dedicated cloud-to-cloud interface for connecting to SingleStore data. The CData Connect AI Remote MCP Server enables secure communication between Claude and SingleStore. This allows you to ask questions and take actions on your SingleStore data using Claude, 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 SingleStore. This leverages server-side processing to swiftly deliver the requested SingleStore data.
Step 1: Configure SingleStore Connectivity for Claude
Connectivity to SingleStore from Claude is made possible through CData Connect AI Remote MCP. To interact with SingleStore data from Claude, we start by creating and configuring a SingleStore connection in CData Connect AI.
- Log into Connect AI, click Sources, and then click Add Connection
- Select "SingleStore" from the Add Connection panel
-
Enter the necessary authentication properties to connect to SingleStore.
The following connection properties are required in order to connect to data.
- Server: The host name or IP of the server hosting the SingleStore database.
- Port: The port of the server hosting the SingleStore database.
- Database (Optional): The default database to connect to when connecting to the SingleStore Server. If this is not set, tables from all databases will be returned.
Connect Using Standard Authentication
To authenticate using standard authentication, set the following:
- User: The user which will be used to authenticate with the SingleStore server.
- Password: The password which will be used to authenticate with the SingleStore server.
Connect Using Integrated Security
As an alternative to providing the standard username and password, you can set IntegratedSecurity to True to authenticate trusted users to the server via Windows Authentication.
Connect Using SSL Authentication
You can leverage SSL authentication to connect to SingleStore data via a secure session. Configure the following connection properties to connect to data:
- SSLClientCert: Set this to the name of the certificate store for the client certificate. Used in the case of 2-way SSL, where truststore and keystore are kept on both the client and server machines.
- SSLClientCertPassword: If a client certificate store is password-protected, set this value to the store's password.
- SSLClientCertSubject: The subject of the TLS/SSL client certificate. Used to locate the certificate in the store.
- SSLClientCertType: The certificate type of the client store.
- SSLServerCert: The certificate to be accepted from the server.
Connect Using SSH Authentication
Using SSH, you can securely login to a remote machine. To access SingleStore data via SSH, configure the following connection properties:
- SSHClientCert: Set this to the name of the certificate store for the client certificate.
- SSHClientCertPassword: If a client certificate store is password-protected, set this value to the store's password.
- SSHClientCertSubject: The subject of the TLS/SSL client certificate. Used to locate the certificate in the store.
- SSHClientCertType: The certificate type of the client store.
- SSHPassword: The password that you use to authenticate with the SSH server.
- SSHPort: The port used for SSH operations.
- SSHServer: The SSH authentication server you are trying to authenticate against.
- SSHServerFingerPrint: The SSH Server fingerprint used for verification of the host you are connecting to.
- SSHUser: Set this to the username that you use to authenticate with the SSH server.
- Click Save & Test
Step 2: Connect Claude to CData Connect AI
Follow these steps to add a CData Connect AI connector in Claude:
- Sign in to Claude.ai or create a new account.
- Expand the left navigation menu.
- In the bottom-left corner, click your user name and select Settings from the menu. The Settings screen appears.
- In the Settings screen, click Connectors.
- Click the button to Browse Connectors.
- Search for "CData Connect AI" and click the listing.
- Click "Connect" and sign into your Connect AI account.
- After connecting, Claude opens a new chat.
Step 3: Explore Live SingleStore Data with Claude
- You can now start exploring your data with natural language prompts. Claude outlines the steps it uses to retrieve data from the source in CData Connect AI. Refer to CData's prompt library for prompt ideas.
NOTE: Claude's setup process is subject to change. Refer to Claude's documentation for the latest setup information.
Get CData Connect AI
To get live data access to 300+ SaaS, Big Data, and NoSQL sources directly from your cloud applications, try CData Connect AI today!