---
title: "Manage content sources"
slug: "manage-content-sources"
abstract: "How to create, reindex, and delete content sources in SitecoreAI."
---
# Manage content sources

> [!important]
> Feature availability is part of a phased rollout. Your organization may not see this functionality yet. It will become available when your environment is included in the rollout.

A content source is an index of content from your content library, along with the configurations that control how that content is searched. When a visitor uses a search component on your site, the results they get come from the search source you select for that component.

When you create a content source, you specify a content template from the **Content editor** and SitecoreAI ingests all published content items based on that template. The selected field values are stored directly in the source’s index, along with the rules and settings you define. An item's template ID is visible when you [view that content item in the **Content Editor**](https://doc.sitecore.com/sai/en/users/sitecoreai/manage-content/content-editor/the-editing-tools/the-content-editor.html).

Because a source contains both indexed data and configurations, changes you make to the source affect only search behavior. They do not modify the underlying content in your content library.

> [!note]
> If you make changes to data in your content library after creating a source, such as adding or deleting items, [reindex the source](https://doc.sitecore.com/sai/en/users/sitecoreai/search-experiences/manage-content-sources.html#UUID-ec566738-7692-67de-1185-276faf75c98b_section-id235438912786406 "Reindex content for a content source") to reflect those changes.

> [!tip]
> To index data from a website, [use a site source](https://doc.sitecore.com/sai/en/users/sitecoreai/search-experiences/manage-site-sources.html "Manage site sources").

## Create a content source

When you save a new content source, it triggers the source's first ingestion.

> [!important]
> You must publish your data in the Content editor and initiate a reindex before it can be ingested by your source.

> [!tip]
> You can save a source as a draft while you configure it and continue working on it later.

To create a source for your search experience:

1. On the menu bar, click **Content** > **Search sources**.
2. On the **Search Sources** page, click **Create Source**.
3. In the **Create new search source** dialog, click **Content Source**.
4. In the **Create new search source** dialog, in the **Source Name** field, enter a name for your source.
5. In the **Template ID** field, specify the template ID that your source will pull data from.
6. Optionally, add a **Description** for your source, then click **Next Step**.
7. Choose the languages that this source will support. For more information on how to add languages to your environment, see [Manage languages and locales](https://doc.sitecore.com/sai/en/users/sitecoreai/create-and-manage-sites/manage-languages-and-locales.md "Manage languages and locales").

    > [!note]
    > When you mark fields as searchable, the **Allowance** meter will increase by the number of languages selected for this source. Once the allowance is reached, you cannot mark additional fields as searchable.

8. Click **Next Step**.
9. Configure the [fields](https://doc.sitecore.com/sai/en/users/sitecoreai/search-experiences/understanding-search-sources/fields.html "Fields") in your source and their behavior, and then click **Next Step**.
10. [Enable the advanced settings](https://doc.sitecore.com/sai/en/users/sitecoreai/search-experiences/understanding-search-sources/advanced-settings.html "Advanced settings") you want to use in this source and then click **Save**.

## Reindex content for a content source

When you make changes to content in the **Content editor**, you need to refresh sources so that the search information is accurate.

When you reindex a source, SitecoreAI rebuilds the underlying index and seamlessly switches the source to use the updated index. This ensures that search experiences connected to the source continue to return results while the reindexing process completes.

To reindex content for a source:

1. On the menu bar, click **Content** > **Search sources**.
2. Next to the source you want to reindex content for, click **Reindex content**.

## View a content source

Clicking on a source allows you to view and edit that source's configurations, including fields and rules.

To view the details associated with a source:

1. On the menu bar, click **Content** > **Search sources**.
2. Click a source.
3. Click any of the following tabs:
    - **Fields** - displays the list of fields indexed by the source, and their configurations.
    - **Pinning Rules** - displays a list of [pinning rules](https://doc.sitecore.com/sai/en/users/sitecoreai/search-experiences/understanding-search-sources/rules.html "Add pin rules to your source") active on the source. Click **Add a pin** to create a pin rule.
    - **Boost/Bury Rules** - displays a list of boost and bury rules active on the source. Click **Add new rule** to [create a new boost or bury rule](https://doc.sitecore.com/sai/en/users/sitecoreai/search-experiences/understanding-search-sources/rules.html "Rules").
    - **Settings** - displays the source settings, such as the source name, ID, and advanced settings.
    - **Preview** - displays a preview of the content indexed in this source, and the number of fields that have been indexed for each item.
  
## Delete a content source

> [!important]
> When you delete a source, search components connected to that source do not return results. You can select a new source in the **Source Configuration Manager** menu.

To delete a content source:

1. On the menu bar, click **Content** > **Search sources**.
2. Next to the source you want to delete, click **Actions** :mdiDotsHorizontal:.
3. Click **Delete**.
4. To confirm the deletion, click **Delete**.

## Configure a search component

After you have created a source, the next step is to [configure a search component](https://doc.sitecore.com/sai/en/users/sitecoreai/search-experiences/search-experience-components/configure-a-search-component.html "Configure a search component") so your search experience can display the content indexed by that source.