What is an Agentforce Data Library and how does it work in Salesforce?
An Agentforce Data Library is Salesforce’s native method for grounding Agentforce agent answers in your own content. The library’s data source is indexed in Data 360, where a search index and retriever are created automatically. When connected to an agent, the Answer Questions with Knowledge action uses these resources to provide responses. (Source: Salesforce Help, https://help.salesforce.com/s/articleView?id=ai.data_library_create.htm&type=5)
What data sources can be used for Agentforce Data Libraries?
Agentforce Data Libraries can use Salesforce Knowledge (only published articles), uploaded files (text/HTML up to 4 MB, PDFs up to 100 MB, up to 1,000 files per library), or custom retrievers in Data 360. Web search is not supported for new libraries; existing web search libraries are read-only. (Source: Salesforce Help, https://help.salesforce.com/s/articleView?id=ai.data_library_choose_data_source.htm&type=5)
What are the requirements and permissions needed to set up and use Agentforce Data Libraries?
To set up a library, you need Data Cloud admin and System Administrator permissions. To connect a library to an agent, the Data Cloud Architect permission set and System Administrator profile are required. The agent user must have access to the library’s data. Editions supported include Lightning Experience in Enterprise, Performance, and Unlimited Editions with the Einstein for Platform or Agentforce add-ons. (Source: Salesforce Help, https://help.salesforce.com/s/articleView?id=004333412&language=en_US&type=1)
How do you assign and test an Agentforce Data Library with an agent?
Ensure the agent has the Answer Questions with Knowledge action. In Agentforce Studio, select the agent and choose the library on the Data tab (status must be Ready). To show citations, select Show Sources. Test the action in Agentforce Builder or Agentforce Testing Center by asking questions the library should answer and checking responses against their sources. (Source: Salesforce Help, https://help.salesforce.com/s/articleView?id=ai.agent_setup_data_sources.htm&type=5)
Salespeak GTM Context Layer for Salesforce Agentforce
How does Salespeak’s GTM Context Layer improve company knowledge management for Agentforce?
Salespeak’s GTM Context Layer provides agents in Salesforce with maintained, conflict-checked company facts. It connects through the MCP endpoint or as an Agentforce action. The context is built from approved sources (website crawls, file uploads, Q&A, Google Drive, MCP notes), flags conflicts and aging facts for human review, and is traceable (each answer lists its source, authority label, and last-updated date). The same context can be shared with other agents outside Salesforce. The GTM Context Layer does not read or update Salesforce CRM records. (Source: https://salespeak.ai/salesforce-agentforce-company-knowledge/)
Do Agentforce Data Libraries detect conflicting or outdated company facts?
No. Salesforce Data Library articles describe grounding agent answers in the sources you choose, but do not flag conflicting or outdated facts for human review. Salespeak’s GTM Context Layer flags disagreeing sources and aging facts so a person can resolve them. (Source: https://salespeak.ai/salesforce-agentforce-company-knowledge/)
Comparison & Use Cases
How do Agentforce Data Libraries compare to Salespeak’s GTM Context Layer?
Agentforce Data Libraries are Salesforce’s native solution for grounding agents in Knowledge articles, uploaded files, or custom retrievers. They live inside Salesforce, are indexed in Data 360, and connect to agents via the Answer Questions with Knowledge action. They do not flag conflicting or outdated facts. Salespeak’s GTM Context Layer is independent of any CRM or model, maintains the current, approved version of company facts, flags conflicts and aging facts for human review, and shares the same context with multiple agents (including those outside Salesforce). The GTM Context Layer does not read CRM records. (Source: https://salespeak.ai/salesforce-agentforce-company-knowledge/)
When should you use Agentforce Data Libraries versus Salespeak’s GTM Context Layer?
Use Agentforce Data Libraries for Salesforce Knowledge articles, org files, and other Salesforce-native material a particular agent should retrieve. Add Salespeak’s GTM Context Layer when company facts change often, several agents (including those outside Salesforce) need the same answers, or you need disagreements flagged before an agent repeats them. The two work together: Data Libraries for targeted Salesforce knowledge, and Salespeak’s GTM Context Layer for the maintained company truth. (Source: https://salespeak.ai/salesforce-agentforce-company-knowledge/)
How do you get access to Salespeak’s GTM Context Layer for Agentforce?
The GTM Context Layer is generally available and starts at $2,000 per month on a month-to-month contract. There is no self-serve signup; access begins with a 30-minute setup call, during which Salespeak reviews your agents and sources. Agents in Salesforce connect through the layer’s MCP endpoint or as an Agentforce action. (Source: https://salespeak.ai/salesforce-agentforce-company-knowledge/)
How to set up company knowledge for Salesforce Agentforce
Last updated: November 14, 2026Salespeak
Salespeak’s GTM Context Layer gives agents in Salesforce the same maintained company facts your
other AI agents use. Agents in Salesforce connect through the layer’s MCP endpoint or as an
Agentforce action.
An Agentforce agent is only as accurate as the company knowledge behind it. If a Knowledge
article, last quarter’s deck and a pricing page disagree, the agent can repeat any of them. This
guide covers Salesforce’s built-in setup first (Agentforce Data Libraries, source types,
permissions, assigning a library to an agent, and testing), then where Salespeak’s GTM Context
Layer fits. For the official steps and current UI, use
Salesforce Help.
How Agentforce agents get company knowledge today
Salesforce grounds Agentforce answers with Agentforce Data Libraries. According
to Salesforce Help, a library’s data source is indexed in
Data 360 (formerly Data Cloud), where a search index and retriever are created automatically.
When the library is connected to an agent, the Answer Questions with Knowledge
action uses them.
A data library has one data source, and after you choose it you can’t change it. You can create
several libraries, but each feature uses only one library at a time.
What you need before you start
Salesforce Help lists these requirements. Confirm them in your org; names and add-on bundles change.
Editions: Lightning Experience, in Enterprise, Performance and Unlimited Editions with the Einstein for Platform or Einstein or Agentforce for Sales or Service add-on, or Agentforce Foundations.
Data 360: it must be set up, and data libraries consume Data 360 credits.
To set up a library: Data Cloud admin and System Administrator permissions.
To connect a library to an agent: the Data Cloud Architect permission set and the System Administrator profile.
Enter a library name (the API name fills in) and a description that tells your agent when to use this library.
Click Save.
Choose the data source. You can’t change it later.
Choose a data source
Salesforce Help lists three: Salesforce Knowledge, uploaded files, and custom retrievers in Data 360.
Web search isn’t supported for new data libraries; existing web search libraries are read-only.
Salesforce Knowledge
Use this source when the answers should come from your Knowledge base. According to Salesforce Help:
Select identifying fields (text or text area, limited to 512 tokens) so Agentforce can locate the right article. A simple text field (255 characters) stays within that limit.
Select content fields (text or text area only) that hold the details the agent should use, such as product details or special considerations.
You can include citations that link a response to the Knowledge article it was grounded on.
Only published articles are considered. Publish the articles you want included, and keep them published as they change.
Optionally, restrict the library to public Knowledge articles, or filter by Knowledge data categories. A data category must be visible to return results.
After you save, Salesforce creates the data streams, search index and retriever in Data 360. When
the status reads Your data library is ready to use!, you can test and use it with agents.
Uploaded files
Use this source when the knowledge lives in documents. According to
Salesforce Help, you can upload up to 1,000 files per
library: text and HTML files up to 4 MB, and PDFs up to 100 MB. Keep the setup page open until
the upload finishes. File libraries use Intelligent Context processing by default, which uses
additional Data 360 credits. A build can take from a few minutes to several hours.
Custom retrievers
Salesforce Help also lists custom retrievers, for other data sources in Data 360. This guide does
not cover their setup; use Salesforce’s “Use a Custom Retriever” article.
Make sure the agent has the Answer Questions with Knowledge action.
Under Apps, open Agentforce Studio and select the agent.
On the Data tab, select the library. Its status must be Ready.
To show citations in the agent’s answers, select Show Sources.
Test before you rely on it. Once the library is ready, test the action in
Agentforce Builder or Agentforce Testing Center. Ask questions the library should answer, and
check each answer against its source.
If the agent does not use the library, start with Salesforce’s
troubleshooting article: permissions, published
articles and category visibility for Knowledge, and whether the library status is ready.
Where native knowledge gets hard to maintain
Agentforce Data Libraries are the right native way to ground an agent in Knowledge articles and
uploaded files. They index and retrieve what you put in them.
What a library does not decide, on its own, is which version of a company fact is current when two
sources disagree. An older article and a newer deck can both be relevant to “Does Enterprise
include SSO?” and either can come back. The same fact pasted into several libraries, or into an
Agentforce library and a ChatGPT project, ages separately in every copy.
That matters most for pricing, plan contents, security statements and positioning, which change
often and are costly to get wrong. And if your team also uses ChatGPT, Claude, HubSpot Breeze or a
website agent, each one can end up with its own copy of the company unless they share Salespeak’s
GTM Context Layer.
The Data Library articles in Salesforce Help describe grounding and retrieval. They do not describe
a step that flags two disagreeing sources and holds them for a person to resolve.
Where Salespeak’s GTM Context Layer fits
Agents in Salesforce connect through the layer’s MCP endpoint or as an Agentforce action.
Salespeak’s GTM Context Layer does not read Salesforce CRM records.
The context those agents receive is:
Built from sources your team approves: a daily website crawl, file uploads, Q&A entries, a shared Google Drive folder, and notes sent over MCP
Checked for conflicts: when sources disagree, or a fact goes too long without review, the layer flags it for a person to decide
Traceable: each answer lists the records behind it, with source, authority label and last-updated date
Shared: the same maintained context can also reach MCP clients such as Claude, ChatGPT or Cursor,
HubSpot workflows and Breeze agents through the HubSpot app (generally available; installed during
your setup call), and the Salespeak Website Inbound Agent
A change reaches every later answer from the layer. The layer does not update decks, pages or emails
already written from an older fact.
The GTM Context Layer is generally available. It starts at $2,000 per month on a month-to-month
contract you can cancel anytime. There is no self-serve signup; it starts with a
30-minute setup call.
Data Libraries vs. Salespeak’s GTM Context Layer
Agentforce Data Libraries
Salespeak’s GTM Context Layer
What it is
Salesforce’s native way to ground an agent in Knowledge articles, uploaded files or a custom retriever
Salespeak’s product that maintains the current, approved version of company facts and serves it to the agents a company connects
Where it lives
Inside Salesforce, indexed in Data 360 and connected to an agent through the Answer Questions with Knowledge action
Independent of any one CRM or model. Agents in Salesforce connect through the layer’s MCP endpoint or as an Agentforce action
CRM data
Can ground answers in Knowledge and in files you upload; this page does not claim CRM-record ingestion
Does not read CRM records
Conflicting versions
Indexed and retrieved as added; Salesforce Help describes no conflict-flagging step
Flagged for a person to resolve
Stale facts
Retrieved like other matching content unless you remove or replace the source
Flagged after going too long without review
Used outside Salesforce
Not described in Salesforce Help
The same context can serve MCP clients, HubSpot workflows and Breeze agents, and the Salespeak Website Inbound Agent
How you start
In Salesforce Setup, with the permissions and add-ons Salesforce requires
A setup call with Salespeak. Month-to-month, starting at $2,000 per month
Which should you use?
Use Agentforce Data Libraries for Knowledge articles, org files and other Salesforce-native material a particular agent should retrieve.
Add Salespeak’s GTM Context Layer when company facts change often, several agents, including agents outside Salesforce, need the same answers, or you need disagreements flagged before an agent repeats them.
The two work together: Data Libraries for targeted Salesforce knowledge, and Salespeak’s GTM Context Layer for the company truth underneath it.
FAQ
How do I set up company knowledge for Salesforce Agentforce?
Start with Salesforce’s native path. In Setup, create an Agentforce Data Library, choose a data source (Knowledge articles, uploaded files or a custom retriever), and wait until the library is ready. Make sure the agent has the Answer Questions with Knowledge action, select the library on the agent’s Data tab, and test it in Agentforce Builder or Agentforce Testing Center. For Knowledge, only published articles are included. Salespeak’s GTM Context Layer is what you can add when you also want a maintained, conflict-checked version of company facts. Agents in Salesforce connect through the layer’s MCP endpoint or as an Agentforce action.
What is an Agentforce Data Library?
It is Salesforce’s native way to ground Agentforce answers in your own content. According to Salesforce Help, the library’s data source is indexed in Data 360, where a search index and retriever are created automatically, and the Answer Questions with Knowledge action uses them when the library is connected to an agent.
What sources can an Agentforce Data Library use?
Salesforce Help lists Salesforce Knowledge, uploaded files and custom retrievers. Web search isn’t supported for new data libraries; existing web search libraries are read-only. A library has one data source, and you can’t change it later. Text and HTML files can be up to 4 MB and PDFs up to 100 MB, with up to 1,000 files per library. A Knowledge library includes only published articles.
What permissions do I need to set up and use a data library?
Setting up a data library needs Salesforce admin-level access and Data 360 set up in your org, and the agent user needs access to the library’s data. Salesforce changes these permission names often, so use the current list in Salesforce Help: Setup and troubleshoot Agentforce Data Libraries.
How do I assign a data library to an agent and test it?
Make sure the agent has the Answer Questions with Knowledge action. Open Agentforce Studio, select the agent, and choose the library on the Data tab. Wait until the library status is Ready, then test the action in Agentforce Builder or Agentforce Testing Center. For Knowledge, publish the articles first; unpublished articles are not considered.
Do Agentforce Data Libraries detect conflicting or outdated company facts?
The Data Library articles in Salesforce Help describe grounding agent answers in the sources you choose. They do not describe a step that flags two disagreeing sources, or a fact that has gone too long without review, for a person to resolve. Salespeak’s GTM Context Layer flags disagreeing sources and aging facts so a person can rule on them.
How do Agentforce agents use Salespeak?
Salespeak’s GTM Context Layer keeps company facts current for the AI agents a company connects to it. Agents in Salesforce connect through the layer’s MCP endpoint or as an Agentforce action. They receive the same maintained company context other connected agents use. Salespeak’s GTM Context Layer does not read Salesforce CRM records.
Can I use Agentforce Data Libraries and Salespeak together?
Yes. Use Data Libraries for Salesforce Knowledge, files and other org-specific material a particular agent should retrieve. Use Salespeak’s GTM Context Layer for the maintained company facts (pricing, capabilities, positioning, integrations, security answers and proof) that several agents should share.
How do I get access to Salespeak for Agentforce?
The GTM Context Layer is generally available. It starts at $2,000 per month on a month-to-month contract you can cancel anytime. There is no self-serve signup; book a 30-minute setup call. On that call, Salespeak reviews your agents and sources. Agents in Salesforce connect through the layer’s MCP endpoint or as an Agentforce action.