How to Connect Flowise AI Agents to Live SAP SuccessFactors Data via CData Connect AI
Flowise AI is an open-source, no-code tool for building AI workflows and custom agents visually. Its drag-and-drop interface allows you to integrate large language models (LLMs) with APIs, databases, and external systems effortlessly.
CData Connect AI enables real-time connectivity to over 350+ enterprise data sources. Through its Model Context Protocol (MCP) server, CData Connect AI bridges Flowise agents with live SAP SuccessFactors securely and efficiently, no data replication required. By combining Flowise AI's intuitive agent builder with CData's MCP integration, users can create agents capable of fetching, analyzing, and acting upon live SAP SuccessFactors data directly within Flowise AI workflows.
This guide shows you how to connect Flowise AI to CData Connect AI MCP, set up credentials, and enable your agents to query live SAP SuccessFactors data in real time.
Step 1: Configure SAP SuccessFactors Connectivity for Flowise
Connectivity to SAP SuccessFactors from Flowise AI is made possible through CData Connect AI's Remote MCP Server. To interact with SAP SuccessFactors data from Flowise AI, we start by creating and configuring a SAP SuccessFactors connection in CData Connect AI.
- Log into Connect AI, click Sources, and then click Add Connection
- Select SAP SuccessFactors from the Add Connection panel
-
Enter the necessary authentication properties to connect to SAP SuccessFactors.
You can authenticate to SAP Success Factors using Basic authentication or OAuth with SAML assertion.
Basic Authentication
You must provide values for the following properties to successfully authenticate to SAP Success Factors. Note that the provider will reuse the session opened by SAP Success Factors using cookies. Which means that your credentials will be used only on the first request to open the session. After that, cookies returned from SAP Success Factors will be used for authentication.
- Url: set this to the URL of the server hosting Success Factors. Some of the servers are listed in the SAP support documentation (external link).
- User: set this to the username of your account.
- Password: set this to the password of your account.
- CompanyId: set this to the unique identifier of your company.
OAuth Authentication
You must provide values for the following properties, which will be used to get the access token.
- Url: set this to the URL of the server hosting Success Factors. Some of the servers are listed in the SAP support documentation (external link).
- User: set this to the username of your account.
- CompanyId: set this to the unique identifier of your company.
- OAuthClientId: set this to the API Key that was generated in API Center.
- OAuthClientSecret: the X.509 private key used to sign SAML assertion. The private key can be found in the certificate you downloaded in Registering your OAuth Client Application.
- InitiateOAuth: set this to GETANDREFRESH.
- Click Save & Test
- Navigate to the Permissions tab and update user-based permissions
Once the connection is established, SAP SuccessFactors data is now accessible in CData Connect AI and ready to be used with MCP enabled tools.
Add a Personal Access Token
A Personal Access Token (PAT) is used to authenticate the connection to Connect AI from Flowise AI. It is best practice to create a separate PAT for each integration to maintain granular access control.
- Click the gear icon () at the top right of the Connect AI app to open Settings
- On the Settings page, go to the Access Tokens section and click Create PAT
- Give the PAT a descriptive name and click Create
- Copy the token when displayed and store it securely. It will not be shown again
With the SAP SuccessFactors connection configured and a PAT generated, Flowise AI can now connect to SAP SuccessFactors data through the CData MCP Server.
Step 2: Configure Connect AI credentials in Flowise AI
Log in to Flowise AI workspace to set up the integration.
Add OpenAI credentials
- Navigate to Credentials and choose Add Credential
- Select OpenAI API from the dropdown
- Provide a name (e.g., OpenAI_Key) and paste the API key
Add the PAT variable
- Navigate to Variables and Add Variable
- Set Variable Name (e.g., PAT), choose Static as type, and set the Value to Base64-encoded username:PAT
- Click Add to save the variable
Step 3: Build the agent in Flowise AI
- Go to Agent Flows, select Add New
- Click the "+" icon to add a new node and choose Agent and drag the agent to the workflow
- Connect the Start node to the Agent node
Configure agent settings
Double-click on the Agent node and fill in the details:
- Model: select ChatOpenAI or preferred model (e.g., gpt-4o-mini)
- Connect Credential: Select OpenAI API key credential which was created earlier
- Streaming: Enabled
Add the custom MCP tool
- Under Tools, click Add Tool and choose Custom MCP
- Fill in the JSON parameters as shown below:
{
"url": "https://mcp.cloud.cdata.com/mcp",
"headers": {
"Authorization": "Basic {{$vars.PAT}}"
}
}
Click the refresh icon to load available MCP actions. Once actions are listed, now Flowise agent is successfully connected to CData Connect AI MCP.
Step 4: Test and query live SAP SuccessFactors data in Flowise
- Open the Chat tab in Flowise
- Type a query such as "Show top 10 records from SAP SuccessFactors data table"
- Observe that responses are fetched in real time via the CData Connect AI MCP connection
With the workflow run completed, Flowise demonstrates successful retrieval of Salesforce 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 access 300+ SaaS, Big Data, and NoSQL sources directly from your cloud applications, try CData Connect AI today!