# Publishing the Application

## Export Application

In order to publish an application, a package of the app must first be built and downloaded. To do this, go into the configuration mode of the app you want to publish. Open the Publish app and then export the application. You will receive a \*.pack file which contains all the information of this app.

![](/files/-MVqsQObsR6DyyPkolmA)

{% hint style="info" %}
To be able to execute an export, the version and the author must be entered in the settings of this application.
{% endhint %}

## Import Application

The app packages are installed by the administrator in the **Admin Center**. The apps are then available platform-wide.

To do this, open the **App Management**. A list of the published apps of the platform will appear. These are divided into tabs. When you open it for the first time, the available apps are displayed. In further tabs, the installed and the update-able apps are listed.\
The `Import` button is located in the upper right corner. The previously generated pack file can now be uploaded. Once this is done, the app is available to the platform.

![App Management](/files/-MVqz0m0YzuBCuLxKyLY)

However, this does not mean that the app is installed. In the overview list, you can recognize the installed apps by the green icon. The installation can be done in the **App Details**

### Import Application in bulk

&#x20;When the user executes `Import Packages`, he can now upload multiple files at once.

![](/files/-M_fTth9aJtUFuBgzim9)

## Install Application

If you select an app from the list, a new map opens with the information of the app.

The first section **General** contains the information about the status of the app on the platform and related actions. The currently installed version of the app appears first. As an action for this information an uninstall can be executed. Below this there is a checkbox with the versions that are available. Here you can update to a higher version or downgrade to a lower version. \
The second section **Description** contains the metadata of the currently installed app. Additionally the dependencies on other apps etc. are displayed.

![](/files/-MW04ddygTg9x-zJFjWm)

### Multi update applications

There are 2 ways to update the app. First of all in the details view of the application. With the `Install` button a version can be specifically updated.\
In addition, it is possible to update several (or all) available apps to the latest version in the App Management in the `Updateable` tab.

![](/files/-M_fU17sb7xrbXgjwVk_)

In the header of the list there is a checkbox on the left. Selecting this will select all apps from the list. You can also select individual apps with the checkbox on the left in each entry of the list.\
After selecting several apps (or only one), these selected entries can be updated at once. Press the `Update` button in the upper right corner. Progress is shown throughout installation. Each error will displayed at the end of the installation with the package ID (in a message box to confirm).

## Add Application to workspace

There are two different ways to add an app to the workspace. Firstly, in the **Admin Center** in the Workspace section and secondly, apps can be added directly in the **Workspace**.

To install an app in **Admin Center**, open a workspace. With the '**+**' button apps can be selected for installation.

![Workspace apps](/files/-MW07QEkCXj70S6kTTf8)

An overlay opens with a selection list from which you can choose an app.

![App selection list](/files/-MW08pn_5FGeelN1NDgg)

{% hint style="info" %}
Only apps that have been previously installed are listed.
{% endhint %}

However, the **Workspace Admin** can also install apps. This can be done in the workspace overview with the `Add App` button (see pic below #10). This action opens the Install-Overlay in the same way as in the Admin Center. Now you can choose the app you want to install.

![](/files/-MW0DISxykYA9KkLCk7q)

## Remove Application

Removing an app is again done in the **Admin Center** under Workspace Administration.

![Uninstall App](/files/-MW0HaqjSd01lTcUWGuw)

Select an app from the list of this workspace. In the context menu of the detail card, the uninstall action can be selected. After the action is performed, the app is removed from this workspace. But it is still available on the platform.

## Uninstall Application

To completely remove a previously published app from the platform, it must be uninstalled.

This is again done in **App Management**. Just as described above [how to install an app](/building-an-application/application-setup/publishing-the-application.md#install-application), you can also uninstall it at this point.

{% hint style="warning" %}
Uninstalled apps are automatically removed from the workspaces as well.
{% endhint %}

## Remove packages&#x20;

In the course of a publishing life cycle, many package versions may be imported. To keep the system clean, it is possible to remove package versions that are no longer used. This is again done in **App Management**. \
Select a package from the available apps. You will be taken to the details page. There you can select one of the available (installed) versions. With the button 'Remove package' you can remove the package from the platform.

![](/files/-M_fUdA6QSyfBauNUDEv)

{% hint style="info" %}
Currently installed app versions cannot be removed. These must be uninstalled beforehand.
{% endhint %}


---

# 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.tivity.one/building-an-application/application-setup/publishing-the-application.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.
