Integrating Gumloop with MySQL Data via CData Connect AI
Gumloop is a visual automation platform designed to create AI-powered workflows by combining triggers, AI nodes, APIs, and data connectors. By integrating Gumloop with CData Connect AI through the built-in MCP (Model Context Protocol) Server, workflows can seamlessly access and interact with live MySQL data.
The platform provides a low-code environment, making it easier to orchestrate complex processes without heavy development effort. Its flexibility allows integration across multiple business applications, enabling end-to-end automation with live data.
This article outlines the steps required to configure MySQL connectivity in Connect AI, register the MCP server in Gumloop, and build a workflow that queries MySQL data.
Step 1: Configure MySQL Connectivity for Gumloop
Connectivity to MySQL from Gumloop is made possible through CData Connect AI's Remote MCP Server. To interact with MySQL data from Gumloop, we start by creating and configuring a MySQL connection in CData Connect AI.
- Log into Connect AI, click Sources, and then click Add Connection
- Select "MySQL" from the Add Connection panel
-
Enter the necessary authentication properties to connect to MySQL.
The CData Provider supports connecting to on-premises and cloud-hosted versions of MySQL such as Amazon RDS for MySQL, Google Cloud SQL for MySQL, Azure Database for MySQL, or Oracle MySQL HeatWave. The Server and Port properties must be set to a MySQL server. If IntegratedSecurity is set to false, then User and Password must be set to valid user credentials. Optionally, Database can be set to connect to a specific database. If not set, tables from all databases will be returned.
SSH Connectivity for MySQL
You can use SSH (Secure Shell) to authenticate with MySQL, 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).
SSH Connections to MySQL in Password Auth Mode
To connect to MySQL via SSH in Password Auth mode, set the following connection properties:
- User: MySQL User name
- Password: MySQL Password
- Database: MySQL database name
- Server: MySQL Server name
- Port: MySQL port number like 3306
- UserSSH: "true"
- SSHAuthMode: "Password"
- SSHPort: SSH Port number
- SSHServer: SSH Server name
- SSHUser: SSH User name
- SSHPassword: SSH Password
SSH Connections to MySQL in Public Key Auth Mode
To connect to MySQL via SSH in Password Auth mode, set the following connection properties:
- User: MySQL User name
- Password: MySQL Password
- Database: MySQL database name
- Server: MySQL Server name
- Port: MySQL port number like 3306
- UserSSH: "true"
- SSHAuthMode: "Public_Key"
- SSHPort: SSH Port number
- SSHServer: SSH Server name
- SSHUser: SSH User name
- SSHClientCret: the path for the public key certificate file
- Click Save & Test
-
Navigate to the Permissions tab in the Add MySQL Connection page and update the User-based permissions.
Add a Personal Access Token
A Personal Access Token (PAT) is used to authenticate the connection to Connect AI from Gumloop. It is best practice to create a separate PAT for each service to maintain granularity of access.
- Click on the Gear icon () at the top right of the Connect AI app to open the settings page.
- On the Settings page, go to the Access Tokens section and click Create PAT.
-
Give the PAT a 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.
With the MySQL connection configured and a PAT generated, Gumloop is prepared to connect to MySQL data through the CData MCP server.
Step 2: Connect to the MCP server in Gumloop
The MCP server endpoint and authentication values from Connect AI must be added to Gumloop credentials.
- Sign in to Gumloop and create an account
- Visit the Gumloop Credentials page to configure MCP server
- Click on Add Credentials and search and select MCP Server
- Provide the following details:
- URL: https://mcp.cloud.cdata.com/mcp
- Label: A descriptive name such as MySQL-mcp-server
- Access Token / API Key: leave blank
- Additional Header: Authorization: Basic YOUR EMAIL:YOUR PAT
- Save the credentials
The MCP server is now available to build workflows in Gumloop.
Step 3: Build a workflow and explore live MySQL data with Gumloop
- Visit Gumloop Personal workspace and click on the Create Flow
- Select the icon or press Ctrl + B to add a node or a subflow
- Search for Ask AI and select it
- Click Show More Options and enable the Connect MCP Server? option
- From the MCP Servers dropdown, choose the saved MCP credential
- Add a Prompt and Choose an AI Model according to your requirements
- After configuring the required details, Click Run to run the pipeline
With the workflow run completed, Gumloop demonstrates successful retrieval of MySQL data through the CData Connect AI MCP server, with the MCP Client node providing the ability to ask questions, retrieve records, and perform actions on the data.
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!