---
title: Change the Name of Sources Created in the Coveo Index
slug: '2164'
canonical_url: https://docs.coveo.com/en/2164/
collection: coveo-for-sitecore-v5
source_format: adoc
---
# Change the Name of Sources Created in the Coveo Index
The first time you rebuild your indexes in Sitecore, Coveo for Sitecore creates a source corresponding to each index in Coveo.
These sources are named after a combination of your Sitecore index name and the `Farm name` value you specified in the activation step (for example, `Coveo_master_index - ProductionFarm` and `Coveo_web_index - ProductionFarm`).
If you have not specified a `Farm name` value, the Sitecore host and instance name are used instead.
Typically, you may want to change the names of your sources to make them shorter and easier to remember whenever you need them to manually perform a query.
> **Leading practice**
>
> Instead of setting individual source names, you can set a name for the entire farm (see [Assign a farm name to resources](https://docs.coveo.com/en/2149/)).
## Changing the Source Name
The current procedure shows you how to modify the name of the source corresponding to the Sitecore `master` index.
. Open the `Coveo.SearchProvider.Custom.config` file using a text editor.
. Create the element for the `master` index configuration.
It should look like this:
```xml
```
. In the `index` node, add an element named `sourceName` that encloses the desired source name in Coveo.
For example, you could name your source `Test`.
Your index configuration should now look like this:
```xml
Test
```
> **Important**
>
> The `sourceName` element is case-sensitive.
> Make sure that the value you enter exactly matches the casing of the corresponding source in Coveo.
> Typically, a source name should look like this: `Coveo_web_index - WKS-000236-Sitecore72u2`.
. Save the file and re-index your items (see [Coveo for Sitecore Indexing Guide](https://docs.coveo.com/en/2216/)).
. You can validate that the new source has been created in the Coveo Administration Console:

> **Note**
>
> The first re-indexing may take longer, as a new source needs to be created.
> The old sources aren't deleted.