# Create and export a template

> Collect configured objects such as rules, devices and dashboards into an application template and download it as a file for another hub.

Source: https://proxus.io/docs/organize/create-an-app-template

At the end of this guide you have an application template that holds the objects you chose, and a `.json` file of
it that you can import into another hub.

## Before you start

- The objects you want to package exist and work in this hub. The template stores a copy of each object's settings
  at the moment you add it.
- For devices: the edge gateways and outbound targets they use are not part of the template. They must exist in the
  hub where you install it.
- Read [Application Templates](https://proxus.io/docs/organize/app-templates) for what install and uninstall do.

## Create the template

1. Open **Organize > Application Templates** and select **New**.
2. Enter a **Name**, and if you like a **Description**, the **Developer** and **Usage Instructions** for whoever
   installs it.
3. Select **Save**. The template gets its **Id**.

## Add objects

4. Under **Objects**, select **New**. The **Template Object** dialog opens.
5. In **Type**, choose the type of object. See
   [Object types](https://proxus.io/docs/organize/app-templates#object-types) for what each name means.
6. A list of the objects of that type opens. Select the object to add. Objects already in the template are not
   listed.

*Screenshot: The Template Object dialog with Rule chosen as the type and the selected rule's name filled in as its caption*

1. **Type**: here **Rule**.
2. **Object Caption**: the chosen object's name, filled in for you.
3. **Save** adds it. **Save and New** adds it and opens the dialog again for the next object.

7. Repeat for every object. When you add a device, its device profile is added with it.
8. Select **Save** on the template.

*Screenshot: The template DOCS_Temperature alarm with its name, description and developer, and one rule in the Objects list*

1. The template's **Name**.
2. The objects in the template.
3. **Export Template**.

## Export the template

9. Select **Export Template**. Your browser downloads the file, named after the template and its **Id**, for
   example `DOCS_Temperature_alarm_1a2b3c4d.json`.

Keep the file with your project documents. It holds the objects' settings, including connection settings of
devices and target profiles: treat it like a configuration backup.

## What's next

- [Import and install a template](https://proxus.io/docs/organize/install-an-app-template)
