MuleSoft is transforming how AI works by helping agents connect with data, external systems, and large language models (LLMs) seamlessly and securely. In this blogpost, we unlock & explore this new ‘Agentforce & MuleSoft Integration’ potential.
Our use case
We imported a vast amount of product specifications for different electrical appliances like dishwashers, ovens, etc. into a Postgres vector database using the MAC connector. Using the AI connector, we were able to generate answers to different questions from the user.
We’ve expanded Agentforce to leverage our existing database. We did so by combining the strengths of both systems to deliver more accurate and efficient responses. Let’s dive in!

#1 Access to vector data
With the MAC connector, developers can pick from a variety of vector databases, giving agents instant access to tons of data via MuleSoft connectors. Now, users can ask about anything—in our case from dishwashers to ovens—by simply querying PDFs right within Salesforce. This makes it super easy to get the info they need.
#2 Seamless integration with external systems
Agents can seamlessly connect to multiple third-party systems via the Topic Center in Agentforce. This simplifies access to external data and resources. In our use case, with three different APIs, Agentforce intelligently determines the right data source and how to leverage it, ensuring smooth and efficient workflows.
#3 Leverage existing tool
MuleSoft makes it easy to integrate with existing tools, allowing agents to use pre-built resources for faster deployment and less setup time. With the Salesforce API Catalog, reusing assets from Anypoint Exchange is quick and simple, and making integration seamless.
#4 Enhanced security
MuleSoft enhances security by implementing controls during the processing of prompts sent to Large Language Models (LLMs). This includes applying governance rules and breaking prompts into smaller parts to protect sensitive information. You can use the Einstein AI connector to take advantage of the Einstein Trust Layer, which provides strong security to protect your sensitive data.
#5 Better, more accurate responses
By enriching prompts with vector data and other relevant information, MuleSoft ensures that AI responses are more precise and contextually relevant. The result? Better user experiences and more effective AI-powered interactions.
#6 Easy & fast setup
Setting up is a breeze! With Agentforce and MuleSoft, agents can leverage pre-built integrations and tools, enabling a quick and hassle-free setup. Less time spent on configuration means more time focused on delivering results right away.