> For the complete documentation index, see [llms.txt](https://docs.openflower.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.openflower.org/publish-apps/share-an-app.md).

# Share an App

## Overview

Application sharing in OpenFlower allows Application Creators to share their applications with specific users, user groups, or the public. This functionality is accessible via the sharing dialogue and supports various sharing states and roles.

## Sharing States

An application can be shared in two states:

1. **In Editing**: The app is still under development and not yet published. That means, the App can get *edited* and shown as *preview* by all allowed users.
2. **Published**: The app is completed and released to users. That means, the App can get additionally *viewed* by all allowed users.

<figure><img src="/files/Qh67MsPx4fJiGmYEJnI7" alt=""><figcaption><p>The Share button is on the App Editor in the upper right corner</p></figcaption></figure>

## Roles

When sharing an application with a User-Group or individual User, you can apply a role to define the level of access:

* **Viewer**: Can view the application but cannot make any changes.
* **Editor**: Can view and edit the application.
* **Owner**: Has full control over the application, including editing and managing sharing settings.

<figure><img src="/files/urlkuLV0u1YyDm2zWhBU" alt="" width="563"><figcaption></figcaption></figure>

## Sharing Methods

There are three primary methods for sharing an application:

1. **Direct Sharing**: Share the app directly with specific users or user groups.
2. **Public Sharing**: Share the app with the "Anonymous" user role, making it accessible to anyone.
3. **Public to Marketplace**: Share the app on the marketplace, making it accessible to all users within the marketplace scope.

<figure><img src="/files/JNyTE5YBNKD9Nk10MfaT" alt="" width="563"><figcaption></figcaption></figure>

### Public to Marketplace

"Public to Marketplace" is a special sharing case designed to showcase applications in a OpenFlower marketplace.

<figure><img src="/files/8pCvToFaIZYYZxhFYJGr" alt="" width="563"><figcaption></figcaption></figure>

This feature supports two types of marketplaces:

1. **Global Marketplace**: Accessible at <https://prod-us1.openflower.org/>, where apps are available to everyone.
2. **Local Marketplace**: Individual OpenFlower installations can host their own marketplaces, accessible only to their users.

The `LOWCODER_MARKETPLACE_PRIVATE_MODE` environment variable controls the visibility of apps on local marketplaces:

* **True**: Only logged-in users (Viewer, Editor, Owner) can see apps published on the local marketplace.
* **False**: Apps published on the local marketplace can be seen by everyone, including Anonymous users.

{% hint style="warning" %}
Remember, you need to publish an App, so the **Public Sharing** or the **Public to Marketplace** Sharing has an effect.
{% endhint %}
