# Publish a flow

A flow can be published by clicking on the "**Publish**" button in the top-right of the screen.&#x20;

*<mark style="color:red;">Caution: Make sure your flow do not have the error before publish</mark>*

Once you click the button, you can run your flow via an API or via Interface (form or chat).

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2FsMYWe0hmMrFx6VPOn0ZK%2Fimage.png?alt=media&#x26;token=e048a997-2dc7-4c98-9058-5e83c3f5df47" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2FomcjFEoqZKlLiERxfRnJ%2Fimage.png?alt=media&#x26;token=b7ab59dc-06a0-4c48-9328-20adcba0d64f" alt=""><figcaption></figcaption></figure>

***

## 1. Internal Apps

Apps can only be accessed when the users sign in

You can copy the link and share it with users

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2FPM0x40SeIJI74eZfMxa6%2Fimage.png?alt=media&#x26;token=56db4f55-c5bd-4e99-900a-497b5cdee382" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2FxvoRAvPT7JssYLkGFttF%2Fimage.png?alt=media&#x26;token=29a03e70-70b1-44ba-9689-1199dfa35108" alt=""><figcaption></figcaption></figure>

## 2. Public App

Apps can be accessed by anyone via a link

You can copy the link and share Public

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2FE2DNIOYEWpDGlQFgdN10%2Fimage.png?alt=media&#x26;token=de0db0af-cf51-419e-b5ff-c3b7d3f2bebd" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2FYMbJikFSDVvWnuOBI3wj%2Fimage.png?alt=media&#x26;token=d705eab4-02ae-4da8-9fad-75e4809a6c52" alt=""><figcaption></figcaption></figure>

You can "Setting" the Public App, by click the icon "**Appearance**"

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2FpF5oTsfISd6EFEIVq5yf%2Fimage.png?alt=media&#x26;token=b13051b4-18c7-470d-910e-86c6ccfccba4" alt=""><figcaption></figcaption></figure>

You can update:

* General (Title, Subtitle, Logo/icon, Cover, Color and Style)
* Input
* Output
* Security ("Public" or "Lock with Password")

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2FoKSStqfNo5HFF77smo00%2Fimage.png?alt=media&#x26;token=a53b7659-86cc-4ff2-b4ec-427d126a5f80" alt=""><figcaption></figcaption></figure>

## 3. Run via API

Trigger the app via cURL or integrate via Python/Javascript.

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2FfkD6cy39AR0bx1rlQYCw%2Fimage.png?alt=media&#x26;token=dbb901ab-6cfd-43b6-8d56-5fe4bceb9664" alt=""><figcaption></figcaption></figure>

Click the button "**API Docs**" to view the options:

* Python&#x20;
* JavaScript
* cURL

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2FDyPv9Zr5KqWFltW9rX9k%2Fimage.png?alt=media&#x26;token=b8c4188b-e65c-4f12-ab49-871579573173" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2F2lRoSPnPoZMO8DSZGctR%2Fimage.png?alt=media&#x26;token=383712cb-558d-4959-9659-c012720bcffc" alt="" width="314"><figcaption></figcaption></figure>
