# Import a template

## Upload a template <a href="#upload-a-template" id="upload-a-template"></a>

Designing a Newsletter template can be tricky, especially making sure it will be displayed properly on all mail clients.

So it's usually much easier to use an existing Newsletter template structure instead of starting from scratch.

AcyMailing enables you to easily import any template you can [download on our website](https://www.acyba.com/acymailing/templates-pack.html) but also almost any Newsletter template you can find and download on internet (do a quick search on internet with the words "Newsletter template", you should find many results) or you created by yourself with another software.

* Click on the menu "AcyMailing -> Templates".

![](/files/-MJSKHO1E63LJUXdqXDu)

Template menu

* Click on the button "import"

![](/files/-MJSKJc1xFsoZa9UxeK-)

Button upload

* A popup will open and you will be able to browse a zip package and then click on the button upload. AcyMailing will copy all the pictures on your server, extract the CSS, background-colour and other information from the index.html file and create a new AcyMailing template with it.

![](/files/-MJSKLM-i2OlVaMkk5Ag)

Upload template

## Frequently Asked Questions <a href="#frequently-asked-questions" id="frequently-asked-questions"></a>

### I created a template with Dreamweaver, how can I import it in AcyMailing? <a href="#i-created-a-template-with-dreamweaver-how-can-i-import-it-in-acymailing" id="i-created-a-template-with-dreamweaver-how-can-i-import-it-in-acymailing"></a>

First save your template with Dreamweaver in a specific folder.

Then create a zip of this folder and select it on our interface (using the browse button).

### What's the import newsletter-template format? <a href="#whats-the-import-newsletter-template-format" id="whats-the-import-newsletter-template-format"></a>

If you want to create your own template and import it, you should create an index.html file which contains the template html code. Then create a zip of this file and all the necessary pictures and import the zip via our interface. The index.html file can display pictures using relative path, AcyMailing will convert the picture path properly during the import. You can also include a file thumbnail.png in the same directory as your index.html file, it will be used as thumbnail.

Here is the default structure of your index.html :

```
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Newsletter-template TITLE</title><style type="text/css"><!--Your CSS stylesheet here...--></style></head><body>Your html code here...</body></html>
```


---

# 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.acymailing.com/old/main-pages/newsletters/templates/import-a-template.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.
