Section 3 · Data 360 Fundamentals · 20% of exam
3.1 Agentforce Data Library
Exam objective
Explain the purpose of an Agentforce Data Library, its supported source choices, and how a library connects trusted information to Agentforce features.
What a data library does?
An Agentforce Data Library is a managed way to connect an Agentforce feature to selected organizational knowledge. It prepares supported content for search and retrieval, then makes relevant passages available to a prompt or agent at run time. The model can use that retrieved context to answer with information specific to the business instead of relying only on its general training. This process is called grounding. A library supports retrieval-augmented generation (RAG): retrieve useful source content, add it to the prompt, and generate a response using both the user’s request and the retrieved context. Grounding improves relevance, but it does not guarantee that every answer is correct. Source quality, indexing, retrieval, permissions, prompt instructions, and testing still matter.
Choose a source before creating the library
Salesforce Help currently describes Salesforce Knowledge, uploaded files, and custom retrievers as data source choices for a new library. A library uses one source type at a time, and you cannot change that source after creation. A feature can use only one data library at a time. New web-search libraries are not supported; existing ones are read-only. For current public web information, consider the separate Search the Web capability where appropriate. Verify source availability in current Help.
Setup and readiness
Data 360 must be set up before Agentforce Data Libraries can be used, and libraries consume Data 360 credits. When a library is created, Salesforce automates data preparation steps such as creating or mapping data objects and setting up a search index and retriever. The content must finish processing before it is ready for use. In Agentforce Builder, select the library and confirm its status is Ready. Then ensure the agent has the Answer Questions with Knowledge action if that is the intended integration. The action can provide structured answers and, when Show Sources is enabled, include source information. Test after indexing completes; a saved library that is still processing should not be treated as a usable source.
Plan for ownership and access
A library is not a substitute for deciding which content belongs in an answer. Select only authoritative, current material. For Knowledge, choose the fields that contain useful, well-formed information; for uploaded files, confirm the documents are readable and appropriate for the audience. Consider how updates to source records reach the index and who owns checking freshness. Also consider Data 360 setup, permissions, licensing, credit use, and the relevant agent’s security context. A source that is technically searchable may still be inappropriate for a particular user or use case. Check Salesforce permissions and data governance independently of retrieval configuration. Scenario: support policy answers
Suppose a service agent must answer questions from a maintained set of approved return policies. If the policies are published as Knowledge articles, a Knowledge-based library is a direct fit. The organization selects relevant fields, waits for the library to become Ready, connects it to the agent, and tests questions about both common and edge cases. If the same material exists only as approved documents, an uploaded-file library may fit better. If the required information is held in a Data 360 search index or another supported setup, a custom retriever may be appropriate. The correct choice depends on where the authoritative content lives and how it must be searched, not on which option sounds most advanced.
When a scenario asks how to ground an agent in approved business content, identify the authoritative source first, then choose the matching library type and verify that it is Ready.
New web-search libraries are not available. Existing web-search libraries are read-only; use the current Search the Web feature for new web retrieval use cases where appropriate.
Extra concept: A library automates RAG setup, but source maintenance, access checks, and evaluation remain essential.
Official references:
- Agentforce Data Library https://help.salesforce.com/s/articleView?id=ai.data_library_parent.htm&language=en_US&type=5
- Choose a Data Source for Your Library https://help.salesforce.com/s/articleView?id=ai.data_library_choose_data_source.htm&language=en_US&type=5
- Use the Answer Questions with Knowledge Action https://help.salesforce.com/s/articleView?id=ai.agent_setup_data_sources.htm&language=en_US&type=5
Key takeaways
- A data library connects supported trusted data to Agentforce through grounding and retrieval.
- A library uses one source type; select it carefully because it cannot be changed later.
- Confirm Data 360 setup, credits, Ready status, the right agent action, and source access before testing.
