---
schema_version: "1"
id: efb34b805f4b19903c6b92cc65602803d5c3ee36983d9018d29ae0b92ffb0168
title: Setting Up Data Libraries
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/data_library_setup.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.data_library_setup.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: d75b2de61241cb070d58f69b54b2fb1712b718a3be6b9da5f234e2a95d8c0c47
description: Use Agentforce Data Library to configure the Knowledge Action and enhance the accuracy of AI in your features.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Setting Up Data Libraries

Use Agentforce Data Library to configure the Knowledge Action and enhance the accuracy of AI in your features.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, and <strong>Unlimited</strong> Editions with the Einstein for Platform or Einstein or Agentforce for Sales or Service add-on, or Agentforce Foundations</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
      <colgroup>
        <col>
        <col>
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d213289e67">User Permissions
            Needed</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d213289e67 ">To set up Agentforce Data Libraries:</td>

          <td class="slds-cell-wrap" style="vertical-align:top;" headers="d213289e67 "><a href="https://help.salesforce.com/s/articleView?id=data.c360_a_setup_provision.htm&amp;type=5&amp;language=en_US" target="_blank">Data Cloud admin </a> AND <a href="https://help.salesforce.com/s/articleView?id=platform.admin_userperms.htm&amp;type=5&amp;language=en_US" target="_blank">System Administrator</a> permissions.</td>

        </tr>
      </tbody>
    </table>

To use Agentforce Data Libraries, you must have Data 360 [set up](https://help.salesforce.com/s/articleView?id=data.c360_a_setup_provision.htm&language=en_US&type=5). Data libraries consume Data 360 credits.

![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-generative_ai-264-0-0-production-enus/f8ef6498-d7b2-44e3-9b34-ffd5a850aae9/images/icon_important.png)

Important Web search isn't supported for new data libraries. To search the web in your agents, use the [Search the Web standard action](https://help.salesforce.com/s/articleView?id=ai.copilot_actions_ref_search_the_web.htm&type=5&language=en_US). To search the web in your prompt templates, use the [web retriever in Prompt Builder](https://help.salesforce.com/s/articleView?id=ai.prompt_builder_retriever_web.htm&type=5&language=en_US).

You can create and assign data libraries to features from Agentforce Data Library setup or when you configure an agent in Agentforce Builder. Learn how to.

- **[Create a Data Library](https://help.salesforce.com/s/articleView?id=ai.data_library_create.htm&release=264.0.0&type=5)**  
    Create a data library and give it a unique name.
- **[Choose A Data Source for Your Library](https://help.salesforce.com/s/articleView?id=ai.data_library_choose_data_source.htm&release=264.0.0&type=5)**  
    When you configure a data library, you can add knowledge articles, uploaded files, or custom retrievers as a data source. The data source is indexed on Data Cloud where a search index and retriever are automatically created for you. When integrated with AI agents, the data library’s search index and retriever are used by the Answer Questions with Knowledge action.
- **[Connecting Data Libraries to Agents](https://help.salesforce.com/s/articleView?id=ai.data_library_assign.htm&release=264.0.0&type=5)**  
    After you create a data library, assign it to your agent to ground responses with trusted data.
- **[Test Data Libraries in a Sandbox](https://help.salesforce.com/s/articleView?id=ai.data_library_sandbox.htm&release=264.0.0&type=5)**  
    A sandbox is a copy of your Salesforce org that you can use for development, testing, and training without compromising the data and applications in your production org. Agentforce Data Library is supported in all the sandbox types: Developer, Developer Pro, Partial Copy, and Full Copy.

#### See Also

- [Agentforce Platform | Answer Questions with Knowledge](https://help.salesforce.com/s/articleView?id=ai.copilot_actions_ref_answer_questions_with_knowledge.htm&release=264.0.0&type=5 "Answers a question from a user based on information from relevant knowledge articles and uploaded files.")
- [Data 360 Features and Learning Path](https://help.salesforce.com/s/articleView?id=data.c360_a_customer360_lm.htm&type=5&language=en_US)
- [Agentforce Agents](https://help.salesforce.com/s/articleView?id=ai.copilot_intro.htm&type=5&language=en_US)