How to Connect Flowise AI Agents to Live NetSuite SuiteAnalytics Data via CData Connect AI

Integrate Flowise AI with the CData Connect AI MCP Server to enable agents to securely query and act on live NetSuite SuiteAnalytics data without replication.

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 hundreds of enterprise data sources. Through its Model Context Protocol (MCP) server, CData Connect AI bridges Flowise agents with live NetSuite SuiteAnalytics 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 NetSuite SuiteAnalytics 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 NetSuite SuiteAnalytics data in real time.

Step 1: Configure NetSuite SuiteAnalytics Connectivity for Flowise

Connectivity to NetSuite SuiteAnalytics from Flowise AI is made possible through CData Connect AI's Remote MCP Server. To interact with NetSuite SuiteAnalytics data from Flowise AI, we start by creating and configuring a NetSuite SuiteAnalytics connection in CData Connect AI.

  1. Log into Connect AI, click Sources, and then click Add Connection
  2. Adding a connection in Connect AI
  3. Select NetSuite SuiteAnalytics from the Add Connection panel
  4. Selecting data source
  5. Enter the necessary authentication properties to connect to NetSuite SuiteAnalytics.

    Prerequisites

    Before you can connect to NetSuite SuiteAnalytics, you must set up SuiteAnalytics Connect in your NetSuite account:

    1. Enable the Connect Service feature.

      1. Ensure that your Account Administrator has enabled your Account and Role with the Connect Service feature.

      2. Navigate to Setup > Company > Enable Features.

      3. Click the Analytics tab and check the SuiteAnalytics Connect box.

    2. Add the SuiteAnalytics Connect permission to an existing Role, and note the Role ID for later.

    3. Find the Settings portlet on your home page and click Set Up SuiteAnalytics Connect, then click Your Configuration to view your service host and account ID. These settings map directly to the Server and Account Id properties.

    Add the NetSuite SuiteAnalytics Connection

    1. Open the Sources page of the Connect Cloud dashboard.

    2. Click Add Connection and select NetSuite SuiteAnalytics from the list of connectors.

    3. Enter a Connection Name of your choice.

    Authenticate to NetSuite SuiteAnalytics

    Set the following required properties:

    • Server: The Service Host value you found when setting up SuiteAnalytics Connect.

    • Account Id: The Account ID value you found when setting up SuiteAnalytics Connect.

    • Role Id: The internal ID of the login role you granted the SuiteAnalytics Connect permission.

    Next, choose one of the supported authentication methods:

    Basic authentication

    • User: The username you use to authenticate to your NetSuite account.

    • Password: The password associated with that account.

    Token-based authentication

    • Consumer Key and Consumer Secret: Generated when you create your integration record in NetSuite.

    • Token Key and Token Secret: The access token and secret generated for that integration.

    After you enter your credentials, click Save & Test to validate the connection.

    Configuring a connection (Salesforce is shown)
  6. Click Save & Test
  7. Navigate to the Permissions tab and update user-based permissions
  8. Updating permissions

Once the connection is established, NetSuite SuiteAnalytics 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.

  1. Click the gear icon () at the top right of the Connect AI app to open Settings
  2. On the Settings page, go to the Access Tokens section and click Create PAT
  3. Give the PAT a descriptive name and click Create
  4. Creating a new PAT
  5. Copy the token when displayed and store it securely. It will not be shown again

With the NetSuite SuiteAnalytics connection configured and a PAT generated, Flowise AI can now connect to NetSuite SuiteAnalytics data through Connect AI.

Step 2: Configure Connect AI credentials in Flowise AI

Log in to Flowise AI workspace to set up the integration.

Add OpenAI credentials

  1. Navigate to Credentials and choose Add Credential
  2. Click Add credential
  3. Select OpenAI API from the dropdown
  4. Provide a name (e.g., OpenAI_Key) and paste the API key
  5. Adding OpenAI credentials in Flowise

Add the PAT variable

  1. Navigate to Variables and Add Variable
  2. Navigate to Variables
  3. Set Variable Name (e.g., PAT), choose Static as type, and set the Value to Base64-encoded username:PAT
  4. Click Add to save the variable
  5. Adding PAT as variable in Flowise

Step 3: Build the agent in Flowise AI

  1. Go to Agent Flows, select Add New
  2. Agent Flow page
  3. Click the "+" icon to add a new node and choose Agent and drag the agent to the workflow
  4. Adding agent node in Flowise
  5. Connect the Start node to the Agent node
  6. Connecting agent nodes in Flowise

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
Fill in the details for Agent Node

Add the custom MCP tool

  1. Under Tools, click Add Tool and choose Custom MCP
  2. Fill in the JSON parameters as shown below:
 
{
  "url": "https://mcp.cloud.cdata.com/mcp",
  "headers": {
    "Authorization": "Basic {{$vars.PAT}}"
  }
}
Configuring custom MCP tool in Flowise

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 NetSuite SuiteAnalytics data in Flowise

  1. Open the Chat tab in Flowise
  2. Type a query such as "Show top 10 records from NetSuite SuiteAnalytics data table"
  3. Observe that responses are fetched in real time via the CData Connect AI MCP connection
  4. Testing live queries in Flowise

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 hundreds of SaaS, Big Data, and NoSQL sources directly from your cloud applications, try CData Connect AI today!

Ready to get started?

Learn more about CData Connect AI or sign up for free trial access:

Free Trial