---
schema_version: "1"
id: 20e433e0fb7cf5c8c652988e0227e26102b4e0e125dc7a86884ccac0fb7abae4
title: Create a Vector Search Index with Advanced Setup
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/data/264-0-0/c360_a_search_index_create_vector_index_config.md
canonical_url: https://help.salesforce.com/s/articleView?id=data.c360_a_search_index_create_vector_index_config.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 913f3d070458a04494d500b79af167685ae19fe56147ad8d01a372ef29620c3d
description: When you create a vector search index configuration for a data model object, Data 360 breaks up the referenced data into semantically related chunks and generates searchable vectors. Your RAG and agent workflows use these vectors to find and return semantically similar items when they run queries. To get more granular control over your search index configuration, use the advanced setup, which guides you through each step of the process.
products:
  - Data 360
release: "264"
---
# Create a Vector Search Index with Advanced Setup

When you create a vector search index configuration for a data model object, Data 360 breaks up the referenced data into semantically related chunks and generates searchable vectors. Your RAG and agent workflows use these vectors to find and return semantically similar items when they run queries. To get more granular control over your search index configuration, use the advanced setup, which guides you through each step of the process.

### 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: <strong>All Editions</strong> supported by Data 360. See <a href="https://help.salesforce.com/s/articleView?id=data.c360_a_dc_editions.htm&amp;language=en_US" target="_blank">Data 360 edition availability</a>.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:left;vertical-align:top;" id="d16507e62">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d16507e62 ">To create a search index configuration:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d16507e62 ">
              <p>Permission set: </p>
              <ul>
                <li>Data Cloud Architect</li>

              </ul>
            </td>

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

Before creating a search index, review the Unstructured Data and Search Index Guidelines and Limits in [Data 360 Limits and Guidelines](https://help.salesforce.com/s/articleView?id=data.c360_a_limits_and_guidelines.htm&type=5&language=en_US) and search index considerations in the [Search Reference.](https://help.salesforce.com/s/articleView?id=data.c360_a_search_index_reference.htm&release=264.0.0&type=5 "Data 360 search supports many different file formats with unstructured data, embedding models, and pre-filter operations on search results.") Familiarize yourself with the concepts of chunking unstructured data, vectorization, and the chunk and index data model objects.

## Enable Agentforce for Generative AI Capabilities (Optional)

Some capabilities in search index, including image processing, enriched index, and LLM-based content processing and parsing requires generative AI features available through Agentforce. If you want to use those capabilities, contact your admin to [enable Agentforce](https://help.salesforce.com/s/articleView?id=ai.agent_setup_enable.htm&language=en_US) in your org. Enable Amazon Bedrock Models (Amazon and Anthropic) in Einstein Setup to use enriched indexing.

## Select a Search Type and Source Object

To get started specify the type of search you want to perform and select a source DMO.

1. From App Launcher, select **Data Cloud**.
2. Click **Search Index** > **New**.
3. Click **Advanced Setup** > **Next**.
4. Select Vector Search for **Search Type**.
5. Select a data space and a source object.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-data-data_cloud-264-0-0-production-enus/f3569962-3c9b-4f83-9d0c-b6a574e785da/images/icon_note.png)
    
    Note A DMO that has mappings from one or more external DLOs can only be used as the data source if caching is enabled for all those external DLOs. For more information see, [Caching in Data Federation](https://help.salesforce.com/s/articleView?id=data.c360_a_accelerated_data_lake_objects.htm&type=5&language=en_US).
6. Click **Next**.

## Set Up Parsing and Visual Data Preprocessing

Next, extract and prepare text, metadata, tables, and images from unstructured documents for chunking.

LLM-based Parsing and preprocessing options are available for PDF, HTML, DOCX, and PPTX file types from UDMOs and files attached to DMO records. These options aren’t available for use with DMO records.

You cannot select both LLM-based parsing and LLM-based Visual Data Preprocessing options for a single search index. See [LLM-based parsing and preprocessing](https://help.salesforce.com/s/articleView?id=data.c360_a_llm_parsing_preprocessing.htm&release=264.0.0&type=5 "Use LLM-based parsing and preprocessing to extract and prepare text, metadata, tables, and images from unstructured documents for chunking.") for more information about these options.

With LLM-based parsing and LLM-based Visual Data Preprocessing you can override the default GPT-4o model to use any supported LLM that best fits your business needs and your content. You can only select LLMs that are approved for use by your admin. If your org admin turns off a model that is currently in use, your previously processed content remains accessible. However, Search Index will fail to process any further content. For more more information supported models, see [Search Index Reference](https://help.salesforce.com/s/articleView?id=data.c360_a_search_index_reference.htm&type=5&language=en_US).

1. On the Parsing page, choose one of these options.
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small "><tbody><tr class=""><th style="vertical-align:top;" headers="d16507e256-option" id="d16507e260">Default Parser</th><td style="vertical-align:top;" headers="d16507e256-desc d16507e260">Extract text with built-in settings.</td></tr><tr class=""><th style="vertical-align:top;" headers="d16507e256-option" id="d16507e269">LLM-based Parser</th><td style="vertical-align:top;" headers="d16507e256-desc d16507e269">Extract all text, images, and other visual elements using an LLM.</td></tr><tr class=""><th style="vertical-align:top;" headers="d16507e256-option" id="d16507e278">Docling Parser</th><td style="vertical-align:top;" headers="d16507e256-desc d16507e278">Extract text from images, tables, and document layouts using Docling Parser.</td></tr></tbody></table>
2. If you choose Default Parser, click **Next.**
3. If you choose to parse your documents using an LLM, complete these steps.
    1. From the dropdown list, select the appropriate model.
    2. Use the default prompt as is, or edit it for your specific use case.
        
        It's highly recommended to customize the prompt for your use case and documents.
    3. Click **Next**.
4. If you choose the Docling parser, click **Next**.
    
    By default, additional pre-processing is turned-off. Optionally, enable image processing when you set up chunking strategies to parse images and complex tables.
5. If you chose the default parser, on the Preprocessing page, choose one of these options.
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small "><tbody><tr class=""><th style="vertical-align:top;" headers="d16507e346-option" id="d16507e350">No Preprocessing</th><td style="vertical-align:top;" headers="d16507e346-desc d16507e350">Use parsed text and visual data as is.</td></tr><tr class=""><th style="vertical-align:top;" headers="d16507e346-option" id="d16507e359">LLM-based Visual Data Preprocessing</th><td style="vertical-align:top;" headers="d16507e346-desc d16507e359">Capture context from visual data using an LLM. (Available only if you selected the default parser in the previous step.)</td></tr></tbody></table>
6. If you choose No pre-processing, click **Next**.
7. If you choose to pre-process your documents using an LLM, complete these steps.
    1. From the dropdown list, select the appropriate model.
    2. Use the default prompt as is, or edit it for your specific use case.
        
        It's highly recommended to customize the prompt for your use case and documents.
    3. Click **Next**.

## Set Up Chunking and Vectorization

Next, set up chunking for your data and select an embedding model to create searchable vectors for each chunk.

1. If your search index is on a DMO, on the Chunking page, select fields to chunk and the [chunking strategy](https://help.salesforce.com/s/articleView?id=data.c360_a_search_index_supported_chunking_strategies.htm&release=264.0.0&type=5 "Data 360 supports several chunking strategies. Data 360 automatically chooses the optimal chunking strategy based on the content type you're working with.").
    1. To add or remove fields, click **Manage Fields** and save your work.
        
        Search Indexes don't support date and datetime fields for chunking. Only numerical and text fields are available for chunking data.
    2. (Optional) Update the chunking strategy and modify the settings.
    3. If your search index is on a DMO of a Salesforce object with file attachments that you want to include, click **Include Attachments** and select the ContentDocumentVersion UDMO.
    4. Add a file extension or set a chunking strategy based on the file type. To add a file extension for a new file type, click **Add File Extension**, and then optionally update the chunking strategy and modify the settings for an existing file type.
    5. (Optional) To add additional fields to a chunk, select the **Prepend fields to each chunk** toggle and select a field from the list. You can add a maximum of two fields.
    6. To enrich generated chunks with additional metadata, turn on the **Enrich Content Chunks** toggle.
    7. Click **Next**.
2. If your search index is on a UDMO, add a file extension or set a [chunking strategy](https://help.salesforce.com/s/articleView?id=data.c360_a_search_index_supported_chunking_strategies.htm&release=264.0.0&type=5 "Data 360 supports several chunking strategies. Data 360 automatically chooses the optimal chunking strategy based on the content type you're working with.") based on the file type.
    1. To add a file extension for a new file type, click **Add File Extension**. If you have images to process, add the JPEG, JPG, and PNG file extensions.
    2. (Optional) Update the chunking strategy and modify the settings for an existing file type.
        
        For image files with extensions, such as JPEG, JPG, or PNG, image processing is enabled by default. To include image processing for PDF files, turn on image processing.
        
        If you selected LLM-based parsing or LLM-based visual data preprocessing in previous steps, image processing doesn't apply even if you turn it on.
    3. (Optional) To add additional fields to a chunk, select the **Prepend fields to each chunk** toggle and select a field from the list. You can add a maximum of two fields.
    4. To enrich generated chunks with additional metadata, turn on the **Enrich Content Chunks** toggle.
    5. When you select the Docling parser, optionally, turn-on LLM-based image processing to parse images and complex tables using an LLM. For better data extraction with tables, select Section-Aware chunking. Section-Aware chunking processes tables optimally such as retaining the header information across table chunks. For more information on supported file formats see, [Docling Parser](https://help.salesforce.com/s/articleView?id=data.c360_a_docling_parser.htm&type=5&language=en_US).
3. If you have audio or video files to transcribe, click **Configure**, and in the transcription window, select the following:
    1. Select the default transcription model from the dropdown.
    2. To add a timestamp to each speaker entry, select **Include timestamp**.
4. Click **Next**.
5. On the Vectorization page, from the dropdown list, select an embedding model, and then click **Next**. If your search index includes images to process, select the [appropriate embedding model (beta)](https://help.salesforce.com/s/articleView?id=data.c360_a_search_index_reference.htm&release=264.0.0&type=5).
    
    The model determines how Data 360 measures your unstructured data objects for semantic relevance when building search results.

## Configure Fields for Filtering

To enhance the precision and relevance of search results, specify fields that users can use to filter their searches.

1. On the Fields for Filtering page, optionally add fields from the Source object or related objects to provide more ways to filter a search. You can select up to ten filter fields.
    
    Data 360 picks up the pre-filter fields when you generate vector embeddings. If you change the values in those pre-filter fields, Data 360 picks them up when you generate or refresh those vector embeddings. The cardinality of object relationship between the source object and the related object must be either 1:1 or N:1.
    
    For example, if the indexed unstructured data includes case conversation transcripts, filtering on the Status field in the Case object can improve the relevance of semantic search results when searching the conversation transcripts.
2. Click **Next**.

## Review and Build the Index

1. Review the configuration and the target data model objects.
2. Click **Save**.

When you build the search index, Data 360 creates a hybrid search index for the data. Next, create a Retriever in the **AI Models** tab. Agentforce agents can use the search index with Retrievers in prompt templates.

#### See Also

- [_Salesforce Help_: Search Index Considerations](https://help.salesforce.com/s/articleView?id=data.c360_a_search_index_reference.htm&release=264.0.0&type=5 "Data 360 search supports many different file formats with unstructured data, embedding models, and pre-filter operations on search results.")
- [_Salesforce Help_: Manage a Search Index](https://help.salesforce.com/s/articleView?id=data.c360_a_search_index_manage.htm&release=264.0.0&type=5 "Create, view, edit, and delete search index configurations.")
- [_Salesforce Help_: Chunking Strategies](https://help.salesforce.com/s/articleView?id=data.c360_a_search_index_supported_chunking_strategies.htm&release=264.0.0&type=5 "Data 360 supports several chunking strategies. Data 360 automatically chooses the optimal chunking strategy based on the content type you're working with.")
- [_Salesforce Help_: Ground with Retriever Augmented Generation (RAG)](https://help.salesforce.com/s/articleView?id=ai.prompt_builder_ground_rag.htm&type=5&language=en_US)