# Agentforce Data Library setup and considerations

*Agentforce Specialist Study Guide · Data 360 Fundamentals · Last updated October 15, 2026 · https://www.certifyforce.com/study-guide/agentforce-specialist/data-360-fundamentals/agentforce-data-library-setup-and-considerations*

How an Agentforce Data Library turns Knowledge articles or uploaded files into a working RAG setup: what Salesforce provisions in Data 360, who builds a library and where, file limits, the locked source type, connecting it to an agent, and when to outgrow it with hand-built retrievers.

- Certification: Salesforce Agentforce Specialist
- Exam section: Data 360 Fundamentals
- Study guide: https://www.certifyforce.com/study-guide/agentforce-specialist

**Official exam objective:**

> Explain the considerations of Agentforce Data Library and its concepts.

## What the exam expects

- Explain what an Agentforce Data Library does and list what Salesforce provisions in Data 360 when you create one.
- Create a library (who, where, which sources, file size limits) and know that its source type is locked.
- Connect a library to an agent and explain why content is not answerable straight after upload.
- Explain how retrieval from a library respects data access.
- Decide when a library is enough and when to build retrievers in AI Models, or to use an agent action instead.

Key terms: **grounding** adds domain knowledge to a prompt so the LLM answers from your data; **chunk** is a small, self-contained passage of a document; **search index** stores the chunked, vectorized content; **retriever** searches an index and returns relevant results to AI features; **data library** is the quick-start bundle that builds all of these for you.

## Key facts

| Fact | Detail | Source |
|---|---|---|
| Setup location | Setup, Agentforce Data Library, New Library; or the Knowledge tab in Agentforce Builder | [Create a Data Library](https://help.salesforce.com/s/articleView?id=ai.data_library_create.htm&language=en_US&type=5), [Create a Data Library for AI Agents Effectively](https://trailhead.salesforce.com/content/learn/modules/agentforce-data-library-basics/build-a-file-based-data-library-for-an-agent) |
| Permissions to build | System Administrator plus Data Cloud admin (now Data Cloud Architect) | [Setting Up Data Libraries](https://help.salesforce.com/s/articleView?id=ai.data_library_setup.htm&language=en_US&type=5), [Data 360 Standard Permission Sets](https://help.salesforce.com/s/articleView?id=data.c360_a_userpermissions.htm&language=en_US&type=5) |
| File size limits | 4 MB for text or HTML, 100 MB for PDF | [Answer Questions with Knowledge](https://help.salesforce.com/s/articleView?id=ai.copilot_actions_ref_answer_questions_with_knowledge.htm&language=en_US&type=5) |
| Source type | One source per library, can't be changed; each feature uses one library at a time | [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) |
| Web search | Not supported for new libraries; use the Search the Web standard action | [Setting Up Data Libraries](https://help.salesforce.com/s/articleView?id=ai.data_library_setup.htm&language=en_US&type=5) |
| Going live on an agent | Knowledge tab, select library, save, Activate | [Create a Data Library for AI Agents Effectively](https://trailhead.salesforce.com/content/learn/modules/agentforce-data-library-basics/build-a-file-based-data-library-for-an-agent) |
| Access | Governance policies and row-level access checks apply to retrieved content | [Retrieve Data](https://help.salesforce.com/s/articleView?id=data.c360_a_ai_retriever_about.htm&language=en_US&type=5) |

## Check yourself

- Why might an agent fail to find answers minutes after several hundred PDFs are uploaded?
- When should a specialist build retrievers in AI Models instead of relying only on a library?
- Which four components does a library provision automatically in Data 360?
- Why is a data library the wrong fit for telling a customer their order's ship date?

## Sources

- [Enhance AI Performance with Real-World Data Insights](https://trailhead.salesforce.com/content/learn/modules/agentforce-data-library-basics/upgrade-ai-with-real-world-data)
- [Create a Data Library for AI Agents Effectively](https://trailhead.salesforce.com/content/learn/modules/agentforce-data-library-basics/build-a-file-based-data-library-for-an-agent)
- [Setting Up Data Libraries](https://help.salesforce.com/s/articleView?id=ai.data_library_setup.htm&language=en_US&type=5)
- [Create a Data Library](https://help.salesforce.com/s/articleView?id=ai.data_library_create.htm&language=en_US&type=5)
- [Learn About Data Libraries](https://help.salesforce.com/s/articleView?id=ai.data_library_learn_about.htm&language=en_US&type=5)
- [Answer Questions with Knowledge](https://help.salesforce.com/s/articleView?id=ai.copilot_actions_ref_answer_questions_with_knowledge.htm&language=en_US&type=5)
- [Retrieve Data](https://help.salesforce.com/s/articleView?id=data.c360_a_ai_retriever_about.htm&language=en_US&type=5)
- [Enhance Agents with Business Knowledge Using RAG](https://trailhead.salesforce.com/content/learn/modules/retrieval-augmented-generation-quick-look/augment-prompts-with-relevant-knowledge)
- [Example: Agentic RAG with Advanced Data 360 Setup](https://help.salesforce.com/s/articleView?id=ai.generative_ai_rag_example.htm&language=en_US&type=5)
- [Data 360 Standard Permission Sets](https://help.salesforce.com/s/articleView?id=data.c360_a_userpermissions.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 a Custom Retriever](https://help.salesforce.com/s/articleView?id=ai.data_library_custom_retriever.htm&language=en_US&type=5)

## About the full unit

The "Core concepts", "Exam traps" and "Worked scenario" sections of this unit, its 28 linked practice questions, and unlimited timed mock exams are included with the Agentforce Specialist pack (USD $19): https://www.certifyforce.com/practice-exams
