![]() |
VOOZH | about |
Relevance AI is an AI automation and agent-building platform that enables organizations to create autonomous workflows powered by natural language reasoning. Users can visually design agents that interact with APIs, databases, and third-party systems to complete everyday business tasks or data operations.
By integrating Relevance AI with CData Connect AI through the built-in MCP (Model Context Protocol) Server, your agents can query, summarize, and act on live PostgreSQL data in real time. This connection bridges Relevance AI intelligent workflow engine with the governed enterprise connectivity of CData Connect AI ensuring every query runs securely against authorized sources without manual data export.
This article outlines the steps to configure PostgreSQL connectivity in Connect AI, register Connect AI in Relevance AI, and build an agent that interacts with live PostgreSQL data.
Connectivity to PostgreSQL from Relevance AI is made possible through CData Connect AI's Remote MCP Server. To interact with PostgreSQL data from Relevance AI, we start by creating and configuring a PostgreSQL connection in CData Connect AI.
To connect to PostgreSQL, set the Server, Port (the default port is 5432), and Database connection properties and set the User and Password you wish to use to authenticate to the server. If the Database property is not specified, the data provider connects to the user's default database.
You can use SSH (Secure Shell) to authenticate with PostgreSQL, whether the instance is hosted on-premises or in supported cloud environments. SSH authentication ensures that access is encrypted (as compared to direct network connections).
To connect to PostgreSQL via SSH in Password Auth mode, set the following connection properties:
To connect to PostgreSQL via SSH in Password Auth mode, set the following connection properties:
A Personal Access Token (PAT) is used to authenticate the connection to Connect AI from Relevance AI. It is best practice to create a separate PAT for each integration to maintain granular access control.
With the PostgreSQL connection configured and a PAT generated, Relevance AI can now connect to PostgreSQL data through Connect AI.
The CData Connect AI MCP endpoint and authorization details are registered within Relevance AI so that agents can call live data from Connect AI.
Click Connect to establish the connection. Relevance AI will verify your credentials and register the CData Connect AI MCP Server for use in agents.
With the connection complete, Relevance AI agents can now issue queries, retrieve records, and perform AI-driven tasks over live PostgreSQL data through CData Connect AI MCP Server.
To access hundreds of SaaS, Big Data, and NoSQL sources directly from your cloud applications, try CData Connect AI today!
Learn more about CData Connect AI or sign up for free trial access:
Free Trial