> For the complete documentation index, see [llms.txt](https://lixeldesign.gitbook.io/tebex/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lixeldesign.gitbook.io/tebex/ender-template/installation/how-to-install.md).

# How to install

This is the guide for how to install the template. If you want to update the template, read [how to update](/tebex/ender-template/installation/how-to-update.md). To install add-ons, read [how to upgrade to add-ons](/tebex/ender-template/installation/upgrade-to-add-ons.md).

{% hint style="danger" %}
**Do not ask for support** before having done the full setup. The most errors are caused by wrong installation. Make sure you do the steps exactly as they are described below.

**Premium Setup Service** can be ordered on [Discord](https://discord.gg/nxYM2jHJte).
{% endhint %}

{% hint style="info" icon="font-awesome" %}
One **common issue** is that icons are not displayed. This is normal, you need to follow the Font Awesome setup guide at **step 6**!
{% endhint %}

{% stepper %}
{% step %}

### Downloading the template

After purchase, download the template from the [resource page](https://builtbybit.com/ender). You will receive a ZIP folder. Extract the folder.

{% hint style="info" %}
The folder does **not include add-ons**! Add-ons have to be downloaded separately.
{% endhint %}
{% endstep %}

{% step %}

### Creating the template

Secondly, login to your Tebex dashboard and [open the Appearance](https://creator.tebex.io/appearance) tab at the left sidebar.

Click on <kbd>Create Custom Template</kbd>.

<figure><img src="/files/8bnJ6N3Ia6hbYEzD6nwP" alt=""><figcaption></figcaption></figure>

Enter any name and select `Dawn` as the base template. **By default**, Exo is selected. Change that to Dawn.

Then, click on <kbd>Create</kbd>.

<figure><img src="/files/8Qsc8i5iTTpFskFkL0o4" alt=""><figcaption></figcaption></figure>

You will be redirected to the **HTML Editor**. Stay there!
{% endstep %}

{% step %}

### Uploading the Webstore files

{% hint style="danger" %}
The **most mistakes** are caused during this step. So read the full step before doing anything and do exactly what is described.
{% endhint %}

Now, we have to move the code from your downloaded folder to the HTML editor. Do not try to install the files in a different order as explained here.

Webstore folder

Firstly, open the `Webstore` folder inside the `files` folder from your downloaded folder. You will see a list of `.html` files.

For each file you have to do the same steps.&#x20;

{% hint style="warning" %}
You should **only** touch the files inside the HTML editor which are also contained in the downloaded folder. So follow the order of the files inside the downloaded folder and **NOT** the order they are displayed inside the HTML editor. This way you prevent replacing or deleting files you should not touch.
{% endhint %}

Open the file from the downloaded folder. For example `category.thml` file.

{% hint style="warning" %}
Do **NOT** open the files with your browser. Right click the files and open them with any **text editor**. Your browser would try to render the files, so any code would be invisible.
{% endhint %}

Select the **whole** content of the file by pressing `Ctrl+A`.

Copy the **whole** content of the file by pressing `Ctrl+C`.

Go to the **HTML editor** and search for the file with the same name inside the **left sidebar**.

> **Example:** If you have copied the content of `category.html`, you will have to open the `category.html` file inside the HTML editor.

Inside opened file of the HTML editor, select the **whole** content with `Ctrl+A` and **delete it**.

We are going to **replace** the old content from the file inside the HTML editor to the content of the file inside the downloaded folder. So make sure the file inside the HTML editor is **completely empty**.

Paste the code **from the file from the downloaded folder** you have copied before by pressing `Ctrl+V`.

**Make sure the file inside the HTML editor now has the exact same content as the file from the downloaded folder.**

Then, click on <kbd>Save As Draft</kbd> at the top right.

<figure><img src="/files/tHa26YLT7BvQLzuqjag7" alt=""><figcaption></figcaption></figure>

**Repeat** this step **for each single file** which is inside the `Webstore` folder of your download.

{% hint style="info" %}
**Only continue, if** you have replaced and saved every single file!
{% endhint %}

{% hint style="warning" %}
**Some files do not need to be replaced. DO NOT TOUCH THEM.** So follow the order of the files inside the downloaded folder and **NOT** the order they are displayed inside the HTML editor. This way you prevent replacing or deleting files you should not touch.
{% endhint %}
{% endstep %}

{% step %}

### Uploading Asset files

Asset files are also inside the left sidebar of the HTML editor. You just have to scroll down a bit.

If you have replaced **every** file which is inside the **downloaded** `Webstore` folder, open the `files/Assets` folder inside your downloaded folder.

{% hint style="danger" %}
**IMPORTANT!** Some files **already exist** in the HTML editor, some other files **do not exist** inside the HTML editor.
{% endhint %}

**Follow the order from the files inside the downloaded** `Assets` **folder** and **NOT** the order inside the HTML editor.

**If the file already exists inside the HTML editor:**

Just **open** it, **delete** the old content, **paste** the new content from the downloaded file and click on <kbd>Save</kbd> at the top right.

{% hint style="info" %}
This is **exactly the same** you did on **step 3** with the Webstore files.
{% endhint %}

**If the file does not exist:**

If the file does not exist, click on <kbd>Add</kbd> at the left sidebar.

<figure><img src="/files/pknsThJRPeDE0xtvBMTT" alt=""><figcaption></figcaption></figure>

Now, select the **right file type**. Inside the downloaded `Assets` folder, there are `.twig` files, `.css` files and `.js` files.

Depending on the file you want to upload, you have to select the right type.

> **Example:** If you want to upload `template.css`, you will have to select **CSS**.

You will see a further step. Click on <kbd>Upload</kbd>.

<figure><img src="/files/q15fK91kKhq5vUzC3kHO" alt=""><figcaption></figcaption></figure>

Then, click on <kbd>Browse</kbd> and select the right file for upload. Then, click on <kbd>Upload File</kbd>.

<figure><img src="/files/aqVyqdvpWpyswEaA2MRk" alt=""><figcaption></figcaption></figure>

Click on <kbd>Save</kbd> at the top right.

**Repeat** this step 4 for **ALL** of the files which are inside the **downloaded** `Assets` folder.

{% hint style="info" %}
**Only continue, if** you have replaced or uploaded and saved every single file!
{% endhint %}
{% endstep %}

{% step %}

### Uploading the Schema

Now, open the `SCHEMA.txt` file, which is directly inside the downloaded folder.

**Select** and **copy** the whole content of the file by pressing `Ctrl+A` and `Ctrl+C`.

Go **back to the HTML** editor and click on <kbd>Change Schema</kbd> at the top left inside the sidebar.

Select the **whole** content there with `Ctr+A` and **delete** it. **Make sure the file is completely empty!**

**Paste** the content of the **downloaded** `SCHEMA.txt` file you have copied before.

Click on <kbd>Save</kbd> at the top right **AND PUBLISH** by clicking on <kbd>Publish</kbd> at the top right.

{% hint style="info" %}
**Only continue, if** you have replaced and published the schema file.
{% endhint %}
{% endstep %}

{% step %}

### Font Awesome setup

**Font Awesome** provides free icons for you, for example the Discord icon or store icon.

To install Font Awesome, you have to create an account on [https://fontawesome.com](https://fontawesome.com/).

Go to [your kits](https://fontawesome.com/kits) and create a free kit. You will have to **enter the URL of your webstore**.

> **Example:** `yourserver.tebex.io`

You will receive a code line.

It should look like this one:<a class="button secondary">Copy</a>

```
<script src="https://kit.fontawesome.com/7****396e1.js" crossorigin="anonymous"></script>
```

{% hint style="danger" %}
Do **NOT** use this example code line from above. It is only an example how it should look like.
{% endhint %}

Copy the code line of **your** kit and open the HTML editor.

Open the `head.twig` file, search for the following section and just paste the code line there. It is **located at the end** of the file.

Before:<a class="button secondary">Copy</a>

```
<!-- PASTE FONTAWESOME CODE HERE -->

<!-- PASTE FONTAWESOME CODE HERE -->
```

After:<a class="button secondary">Copy</a>

<pre><code><strong>&#x3C;!-- PASTE FONTAWESOME CODE HERE -->
</strong>&#x3C;script src="https://kit.fontawesome.com/7****396e1.js" crossorigin="anonymous">&#x3C;/script>
&#x3C;!-- PASTE FONTAWESOME CODE HERE -->RE -->
</code></pre>

{% hint style="danger" %}
Do **NOT** use this example code line from above. It is only an example how it should look like.
{% endhint %}

Click on <kbd>Save</kbd> and <kbd>Publish</kbd> at the top right.
{% endstep %}

{% step %}

### Done!

{% hint style="success" %}
**Congratulations!** You have completed the installation. Checkout your new webstore. You will need to change the settings to your needs.
{% endhint %}
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://lixeldesign.gitbook.io/tebex/ender-template/installation/how-to-install.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
