---
title: "Create a template for an endpoint"
slug: "create-a-template-for-an-endpoint"
abstract: "How to create a template for an endpoint in Sitecore Data Exchange Framework."
---
# Create a template for an endpoint

You use the Sitecore Content Editor to model the data synchronization processes. This lets you use a familiar interface for doing the configuration. The configuration requires a template that you can use to represent a text file that Sitecore can read from.

This configuration requires a template that you can use to represent a text file that Sitecore can read from.

<details>
<summary><h2>Create a template</h2></summary>

To create a template:

1. In the Content Editor, navigate to *Templates*.
2. On the menu ribbon, in the **Insert** group, click **New Template**.

    ![New template option in menu ribbon](https://doc.sitecore.com/api/markdown-image/xp/en/developers/def/60/data-exchange-framework/images/add-template.png)

3. In the **Select name** dialog, enter the following values:

    | Field | Value |
    | --- | --- |
    | **Name** | *Text File Endpoint* |
    | **Base template** | *Templates/Data Exchange/Framework/Endpoints/Base Template/ Base Endpoint* |

4. Click **Next**.
5. In the **Location** dialog, select *Templates/Data Exchange/Providers/File System/Endpoints*. Click **Next**.
6. In the confirmation dialog, click **Close**.

</details>

<details>
<summary><h2>Set an icon</h2></summary>

To set an icon:

1. In the Content Editor, select the new template, for example, *Templates/Data Exchange/Providers/File System/Endpoints/Text File Endpoint*.

    ![Text File Endpoint template in content tree](https://doc.sitecore.com/api/markdown-image/xp/en/developers/def/60/data-exchange-framework/images/new-template-selected1.png)

2. In the right-hand pane, click the **Content** tab.
3. On the **Content** tab, click the icon next to the title.

    ![Title icon](https://doc.sitecore.com/api/markdown-image/xp/en/developers/def/60/data-exchange-framework/images/icon1.png)

4. In the **Change Icon** dialog, in the **Icon** field, enter the name of the icon, for example, `Office/32x32/cloud.png`.
5. Click **OK**.

</details>

<details>
<summary><h2>Add a template field</h2></summary>

In the text file endpoint, you must configure the settings that tell Sitecore how to parse the text file. For example, you can specify if data is on a single line or multiple lines, which column separator the file uses, and whether the file contains a line with column headers.

To add these settings:

1. Navigate to *Data Exchange/Providers/File System/Endpoints/Text File Endpoint*.
2. Add a template section. Name it *Settings*.
3. On the **Builder** tab, in the **Settings** section, add the following template fields:

    | Name | Type | Shared |
    | --- | --- | --- |
    | *Path* | *Single-Line Text* | selected |
    | *ColumnSeparator* | *Single-Line Text* | selected |
    | *ColumnHeadersInFirstLine* | *Checkbox* | selected |

4. Save the item.

</details>