# Create tracks

## Overview

Generally speaking, there are four steps to creating a track:

1. Create the initial track (either from scratch, a template, or an existing track)
2. Add challenges and scripts
3. Test it
4. Publish it

## Create tracks from templates

Creating tracks from templates can save you time because templates provide a pre-defined sandbox, and some challenges to build off of.&#x20;

{% tabs %}
{% tab title="🌐 Web UI" %}

1. Click **Create track** on the *Content page,* followed by **Use template** from the dropdown.
2. Click the template you wish to use.
3. Input a **Track title** and a **Track slug**.&#x20;
4. Finally, click **Create**.

{% hint style="info" %}
A **track slug** is a unique identifier for your tracks, often used in URLs.
{% endhint %}
{% endtab %}

{% tab title="💻 Instruqt CLI" %}

1. Run the following command to create a track:

   ```bash
   instruqt track create
   ```
2. Input a track title.
3. When asked to select a build method, input **`2`** to select *From a template*.
4. When asked to select a template, input a number corresponding to the desired template.
   {% endtab %}
   {% endtabs %}

## Create tracks from scratch

Creating tracks from scratch lets you define every aspect of a track, from the start.

{% tabs %}
{% tab title="🌐 Web UI" %}

1. Click **Create track***,* followed by **Start from scratch** from the dropdown.
2. In the **Settings** section, click **Edit**.
3. In the **Track name** field, input the track name.
   {% endtab %}

{% tab title="💻 Instruqt CLI" %}

1. Run the following command to create a track:

   ```bash
   instruqt track create
   ```
2. Input a track title.
3. When asked to select a build method, input **`1`** to select *From scratch*.
   {% endtab %}
   {% endtabs %}

## Duplicate tracks

{% tabs %}
{% tab title="🌐 Web UI" %}

1. Click ••• on the track you want to duplicate, followed by **Duplicate track**.
2. Input a track title and slug.
3. If you are a member of multiple teams, select which team you want to duplicate to.
4. Click **Create**.
   {% endtab %}

{% tab title="💻 Instruqt CLI" %}

1. Run the following command to duplicate an existing track:

   ```bash
   instruqt track create --title "Blah" --from <team>/<existing-track-slug>
   ```

{% endtab %}
{% endtabs %}
