![]() |
VOOZH | about |
Cline is an autonomous AI coding agent that runs inside modern IDEs such as VS Code and Cursor. It enables developers to build agent-driven workflows that can reason through tasks, execute actions, and interact with external systems directly from the editor using a structured execution model.
By integrating Cline with CData Connect AI through the built-in MCP (Model Context Protocol) Server, the agent gains the ability to query, analyze, and act on live Salesforce Marketing data in real time. This integration bridges Cline's in-IDE agent framework with the governed enterprise connectivity of CData Connect AI, ensuring all data access runs securely against authorized sources without manual data movement.
This article outlines the steps to configure Salesforce Marketing connectivity in Connect AI, generate the required personal access token, register the Connect AI MCP Server in Cline, and verify that the agent can successfully interact with live Salesforce Marketing data from within the IDE.
Connectivity to Salesforce Marketing from Cline is made possible through CData Connect AI's Remote MCP Server. To interact with Salesforce Marketing data from Cline, start by creating and configuring a Salesforce Marketing connection in CData Connect AI.
Authenticating to the Salesforce Marketing Cloud APIs
Set the and to your login credentials, or to the credentials for a sandbox user if you are connecting to a sandbox account.
Connecting to the Salesforce Marketing Cloud APIs
By default, the data provider connects to production environments. Set to true to use a Salesforce Marketing Cloud sandbox account.
The default Instance is s7 of the Web Services API; however, if you use a different instance, you can set .
π Configuring a connection (Salesforce is shown)A Personal Access Token (PAT) is used to authenticate the connection to Connect AI from Cline. It is best practice to create a separate PAT for each integration to maintain granular access control.
With the Salesforce Marketing connection configured and a PAT generated, Cline can now connect to Salesforce Marketing data through the CData Connect Ai.
Cline is distributed as an IDE extension and can be installed in environments such as VS Code or Cursor. In this example, Cursor is used, but the steps are identical for supported IDEs.
Once Cline is running, add the CData Connect AI Remote MCP Server so the agent can access live Salesforce Marketing data through Connect AI.
{
"mcpServers": {
"mcp": {
"url": "https://mcp.cloud.cdata.com/mcp",
"type": "streamableHttp",
"headers": {
"Authorization": "Basic your_email:your_PAT"
},
"disabled": false,
"autoApprove": []
}
}
}
Note: Cline will use Basic authentication with Connect AI. Combine your Connect AI user email and the PAT you created earlier. For example, [email protected]:ABC123...XYZ789 and add the value for the Authorization header like, Basic [email protected]:ABC123...XYZ789.
π Configuring MCP serverWith the MCP server registered, Cline can now interact with live data sources exposed by Connect AI.
Cline is now fully configured to access and query live Salesforce Marketing data through the CData Connect AI Remote MCP Server, enabling real-time, data-driven workflows directly from your IDE.
To access hundreds of SaaS, Big Data, and NoSQL sources through secure, AI-ready interfaces, try CData Connect AI today.
Learn more about CData Connect AI or sign up for free trial access:
Free Trial