# 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.instruqt.com/tracks/manage/create-tracks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
