---
title: "Tutorial: Creating a Chain"
slug: "tutorial-creating-a-chain"
updated: 2024-11-26T21:31:47Z
published: 2024-11-26T21:31:47Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://help.tritondigital.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Tutorial: Creating a Chain

In the following tutorial, you will create a test chain that uses a file as the data source, and then send some data to it by creating the file and modifying it in a text editor.

**To create a chain:**

1. In the RAS Adapter, click the **Add RAS Chain** button. The template selector dialog appears, asking you to choose which template the RAS chain will be based on: **Template selector** ![template-selector](https://cdn.document360.io/7124b381-0a94-401a-abbd-9df9c4ea5dff/Images/Documentation/3ee2f70b-568e-4ab0-be30-81b7a17c5380.png)
2. Choose the **General-Purpose** **A** template and click **OK**. The RAS Chain Editor appears: **The RAS Chain Editor** ![tut-chain-editor](https://cdn.document360.io/7124b381-0a94-401a-abbd-9df9c4ea5dff/Images/Documentation/332af9d4-6e74-4cb1-aec2-c5fa6553b11a.png)
3. Enter the name **Test RAS** in the **Ras Chain Id** field (alternatively, you can enter any name you prefer).
4. Click **Input Connector** and select **File** in the Input Connector Type dropdown: **The RAS Chain Editor** ![tut-chain-ed-file-path](https://cdn.document360.io/7124b381-0a94-401a-abbd-9df9c4ea5dff/Images/Documentation/dba5ba43-d494-4159-988b-3d6b4f9f977e.png)
5. Enter **c:\tmp\test.txt** in the **File Path** field (assuming you have a “tmp” directory on your c: drive; if you do not, either create one or enter a path to an existing temporary directory).
6. Now select the red **Mapping** processor. Note that if you hover your mouse over any red element, the tooltip will show you an informative message. **The RAS Chain Editor** ![tut-chain-ed-mapping-items](https://cdn.document360.io/7124b381-0a94-401a-abbd-9df9c4ea5dff/Images/Documentation/7764b6c6-5a1c-469e-829d-1a2a817d7ff9.png)
7. Enter **Test Mount** in the **Value** column for the **stw_mount** key.
8. Now select the **Time Span** processor. **The RAS Chain Editor** ![tut-chain-ed-time-span](https://cdn.document360.io/7124b381-0a94-401a-abbd-9df9c4ea5dff/Images/Documentation/1b2b0e85-c802-4767-8218-5ea2be00b61b.png)
9. Enter **mm:ss** in the **Input Format** field. See “[Date Time Formats](/v1/docs/date-time-formats)” for more details.
10. Click **Save**.

You have just created a new RAS chain. You can check its configuration by hovering your mouse over any block; the tooltip with the configuration is shown:

**RAS chain block tooltip**

![tooltip](https://cdn.document360.io/7124b381-0a94-401a-abbd-9df9c4ea5dff/Images/Documentation/d3c85557-c709-491a-a114-477ca93cc488.png)

In the RAS Chain Editor, you can add or remove processors and change the types of input connector, parser, or output connector. You can also change the order of processing by moving processors up and down. The Mapping processor is usually the first one in the list.
