I've worked around databases for about 15 years and had somehow never really used DBeaver. Then I pointed it at our Salesforce data through CData Connect AI to sanity-check a marketing report I run, and one query came back with 10 spellings of three lead-source names. My report had been missing every lead tagged with seven of them. Not ideal.
The same thing is probably sitting in your data. Before you write a filter against business data, or hand that data to an AI agent, look at what's actually in the field. Status, stage, category, and source fields in apps like Salesforce, NetSuite, Jira, and Zendesk often hold values nobody planned for, and a filter built from memory misses them. This guide shows you how to connect DBeaver, the free, open-source database tool, to the apps you build on through Connect AI, see every value a field holds, and then give an AI agent the same connection.
At a glance
What it is: CData Connect AI presents each app you connect (CRM, ERP, ticketing, billing, spreadsheets, and more) to DBeaver as tables, through one Java Database Connectivity (JDBC) connection.
Step 1: Connect DBeaver to Connect AI with the Connect AI JDBC driver.
Step 2: Query the values in the field you're about to filter on, in any app.
Step 3: Build the filter from what's there, or give the same connection to an AI agent over the Model Context Protocol (MCP), limited to read-only tools.
Only need one app on your own machine? CData's per-app drivers are in DBeaver's Connect to a database window. See the per-app driver section.
Tested: November 2026, on DBeaver Community Edition.

Why look at the real data before you build
Looking at the data before you write code, or before an agent writes it for you, catches the problems that don't throw errors:
Spelling and format variants. Closed Won, closed-won, and Won in the same field, so a filter on one misses the rest.
The label you see versus the value that's stored. The app's screen can show one name while the field stores another, and a filter on the screen label finds nothing.
Placeholder values. N/A, Unknown, TBD, and - look like real data and split your counts.
Test records in production. Fake signups, QA tickets, and demo accounts end up in every total.
The same customer twice, under a slightly different name or email.
Archived or deleted records. Many apps keep closed or soft-deleted rows in the same table, so "all open items" can include ones nobody sees in the app.
Records with an empty field drop out of every filter on a value.
Choice fields are a common source of the first problem: a Salesforce picklist (a field with a set list of choices) that isn't restricted accepts new values written through the API.
Dani Moran, a Technical Account Manager at CData who uses DBeaver for prospect demos and troubleshooting, puts it this way:
"Sometimes I need to test some code with a filter/parameter, and I don't know the appropriate values to filter for offhand, and DBeaver's GUI makes diving for that a lot easier."
AI agents hit the same problem. They guess picklist values when nobody shows them the real ones. On a write, the app may reject the bad value. On a read, the query runs without errors and misses records, and nothing in the output flags it.
How to connect DBeaver to Salesforce and your other apps with Connect AI
Before you start, you need:
Connect AI isn't in DBeaver's built-in list of CData drivers, so you add the Connect AI JDBC driver once yourself.
Connect your apps in Connect AI. On the Sources page, add the apps you work with, such as Salesforce, NetSuite, Jira, HubSpot, or Zendesk, and sign in to each. Each app shows on the Sources page once it connects.
Create a personal access token. In Connect AI, click your name in the bottom-left corner, choose Settings, and create a personal access token. DBeaver uses it as the password for Connect AI. Copy it right away, because Connect AI shows it only once.
Download the driver. Get the latest connect-jdbc JAR (Java archive) file from CData's Maven repository. It's the driver DBeaver loads to talk to Connect AI.
Add the driver in DBeaver. Open Database → Driver Manager and click New. On the Settings tab of the Create new driver dialog, enter these values, then add the JAR on the Libraries tab and click OK (DBeaver's Driver Manager docs cover the dialog):
Setting | Value |
Driver name | CData Connect AI |
Class name | cdata.jdbc.connect.ConnectDriver
|
URL template | jdbc:connect:AuthScheme=Basic;
|
Driver type | Generic (the default) |
Leave No authentication unticked, so the connection form shows user and password fields. The Find Class button on the Libraries tab can fill in the class name, and if it finds nothing, type it yourself.
Create the connection. Open Database → New Database Connection, type CData Connect AI in the search box, pick the driver you created in step 4, and click Next. In the Authentication section, enter your Connect AI email as the Username and your token as the Password, then click Test Connection. When DBeaver confirms the connection, click Finish, and the connection appears in the Database Navigator.


The Connect AI JDBC docs also cover signing in with OAuth instead of a token. If you use another JDBC-based SQL client instead of DBeaver, the same driver class, URL, email, and token apply; only the screens differ.
Explore your data model in DBeaver
Each app you connect in Connect AI appears in DBeaver's Database Navigator as its own catalog under the one connection. Objects become tables and fields become columns: deals and contacts in a CRM, issues in Jira, tickets in Zendesk, invoices in NetSuite.
For Dani, the data model is where DBeaver's interface helps most: "I just expand the connection in the panel on the left." That panel is the Database Navigator. From there, Dani says, "I can get a snapshot of the model really quickly, and shoot off quick queries to drill down to some values I might need."
Expand the connection, then an app, then Tables, and pick an object. You get every field with its type. Here's Salesforce's Lead object as an example:

Optional: if your Connect AI account has more apps than you need in DBeaver, a navigator filter on the connection shows only the catalogs you pick.
Find the real values before you write the filter
Open an SQL editor on the connection and list the values the field contains. Swap in your own catalog (the name of the app's connection in Connect AI), schema, table, and field. DBeaver's Database Navigator shows all four:
-- Every value in the field, and how many records use each one
SELECT [YourField], COUNT(*) AS Records
FROM [YourConnection].[YourSchema].[YourTable]
GROUP BY [YourField]
ORDER BY COUNT(*) DESC;
That query shows every value in use, including rare variants of a common one and values you didn't know about. Two more checks find blanks and spelling variants:
-- Records where the field is empty (a filter on any value skips these)
SELECT COUNT(*) AS Blank
FROM [YourConnection].[YourSchema].[YourTable]
WHERE [YourField] IS NULL;
-- Every spelling that contains a word you care about
SELECT DISTINCT [YourField]
FROM [YourConnection].[YourSchema].[YourTable]
WHERE [YourField] LIKE '%word%'
ORDER BY [YourField];
Run them on whatever your code or agent will filter on: a deal stage in your CRM, an issue status in Jira, a ticket priority in Zendesk, a customer segment in a spreadsheet.
Here's that last check on CData's own Salesforce lead data, the query from the top of this post:

CData's Salesforce lead data: one query for three lead-source names returned 10 spellings.
Then build the filter from the result. You have three options, depending on how much control you have:
Match the exact values you found with an IN list. Precise, but it won't catch new spellings.
Match a pattern like the LIKE example. It catches new spellings and sometimes values you didn't mean, so check what it returns.
Fix it at the source. If you own the app, clean up the variants and restrict the field to a set list.
Hand the same connection to an AI agent
The Connect AI MCP server gives an agent the same apps you explored in DBeaver. MCP is the open standard that AI apps use to call outside tools, and any MCP client can use the server. This example uses Claude Code.
What it can reach: the same apps on your Connect AI account, with the same email and token you used for DBeaver.
What it can do: adding ?ops= to the server URL limits the agent to the tools you list. The list below allows only the tools that look up catalogs, schemas, tables, and columns, plus queryData, which runs SELECT queries only, so the agent can read but not write.
Save this as mcp.json:
{
"mcpServers": {
"connectai": {
"type": "http",
"url": "https://mcp.cloud.cdata.com/mcp?ops=get_catalogs,get_schemas,get_tables,get_columns,get_instructions,queryData",
"headers": { "Authorization": "Basic ${CONNECT_AI_BASIC}" }
}
}
}
Then set CONNECT_AI_BASIC to your email and token, joined with a colon and Base64-encoded, and start Claude Code with that config. The config reads the token from that variable:
export CONNECT_AI_BASIC=$(printf '%s:%s' "[email protected]" "YOUR_TOKEN" | base64 | tr -d '\n')
claude --mcp-config mcp.json
Prime the agent to check before it filters
An agent won't check a field's values unless you tell it to. Start the session with this primer, and replace the last line with your own question:
You have read-only access to my business apps through the Connect AI MCP server.
Before you filter on any field, check what that field actually contains:
1. Use the Connect AI tools to find the right table and field. Don't guess names.
2. Query the distinct values in that field, with a count of records for each.
3. Show me the values, point out any that look like variants of the same thing (different spellings, casing, or prefixes), and note how many records have no value.
4. Ask me which values I mean before you write the filter.
My question: [your question]
The question can be about any app you connected. For example:
"How many open support tickets are high priority?"
"Which customers have an overdue invoice?"
"How many Jira issues are waiting on review?"
"Which deals moved to a won stage this quarter?"
With the primer, the agent should list the values before it answers your question. An illustrative reply, for a ticket-priority question, looks something like this:
The priority field is Tickets.priority. Here's every value it holds:
urgent 41
high 318
High 12
normal 2,904
low 655
(blank) 73
"High" looks like a variant of "high". 73 tickets have no priority.
Should "high priority" include urgent, High, or the blank ones?
When I ran this primer with a question about deal stages, the agent did the same: it found the right field on its own, listed every value with a count, and asked which values I meant before it wrote a filter. If you use the primer often, put it in your agent's project instructions (for Claude Code, a CLAUDE.md file) so every session starts with it.
Or run the connection on your own machine with a per-app CData driver
If you need only one app and want the connection to stay on your own machine, use a per-app CData JDBC driver instead. It runs in DBeaver on your machine and signs in to the app directly, with no Connect AI account in between, and DBeaver saves the connection's password on your machine. Since the DBeaver and CData partnership, these drivers are in DBeaver Community Edition's Connect to a database window: turn on Show commercial drivers, search for the app, and pick it.

For some apps, like Salesforce, DBeaver also lists its own driver from DBeaver PRO, the paid edition, and preselects it. The CData driver is the next one in the list.
Each per-app driver has a 30-day free trial from the connection form. CData's knowledge base articles on the Salesforce driver in DBeaver and the NetSuite driver in DBeaver cover the remaining steps.
Troubleshooting
The Find Class button finds nothing. Type cdata.jdbc.connect.ConnectDriver into Class name yourself, save, and reopen the driver.
Sign-in fails. Check that the user is your Connect AI email and the password is the personal access token, not your Connect AI password.
The connection works but the Database Navigator is empty. No app is connected in Connect AI yet, or a navigator filter hides it. Connect an app on the Sources page, then refresh the connection.
The MCP server returns HTTP 400. Check the ?ops= list. The server rejects tool names it doesn't recognize.
Connect DBeaver to your apps with Connect AI
Start with the Connect AI quick start, connect the app that your next filter uses, and query its values in DBeaver before you write the filter.
Fequently asked questions
Can DBeaver connect to Salesforce?
Yes, in three ways. DBeaver PRO, the paid edition, includes its own Salesforce driver. In DBeaver Community Edition, you can add the Connect AI JDBC driver once in Driver Manager and connect Salesforce in Connect AI, as this guide shows. Or you can pick the CData Salesforce driver in DBeaver's Connect to a database window.
Can DBeaver connect to NetSuite and other apps?
Yes. Any app you connect in Connect AI appears in DBeaver under the same connection, as its own catalog of tables. CData also has per-app drivers, including NetSuite and Microsoft Dynamics 365, in DBeaver's Connect to a database window.
Is the per-app CData driver for DBeaver free?
Do I need a paid edition of DBeaver?
Is the AI agent read-only?
It is when you limit its tools. With the ?ops= list in this guide, Connect AI's MCP server offers only the lookup tools and queryData, which runs SELECT queries only. Without that parameter, the server can also offer tools that insert and update records.