Publishing an app
The App View sidebar is where you configure what your app looks like and publish it.- Open the App View sidebar in one of these ways:
- Click the Runchat menu in the top-left and select Preview App
- Select a single node and click the puzzle piece next to its settings bar
- Select multiple nodes and click the puzzle piece in the selection toolbar
- Use the Add Input picker to choose which parameters become editable fields in your app.
- Use the Add Output picker to choose which parameters are displayed as results.
- Click Publish at the bottom. A credit-per-run estimate appears next to the button. Subsequent publishes increment the version (Publish v2, v3, and so on).

Choosing parameters
- Input parameters in the App appear as editable fields. A published text input becomes a text field; a published number becomes a number input; a published image becomes an upload, and so on.
- Output parameters are displayed as-is, formatted exactly as they appear in the editor. Outputs are read-only.
Sharing an app
Once published, you can share the App URL with anyone. By default, every visit to your app URL creates a new instance, a unique copy of the app for that visitor. The instance ID is visible in the URL. This is what lets your apps remember per-visitor state, like chat history or game scores.Want to build a multiplayer app where multiple visitors edit the same state? Share the same instance URL with both of them.
Running the app
Users edit any visible inputs and click the run button. Runchat loads the workflow on the server, runs it with their inputs, and sends the result back. If your app uses long-running prompts or large libraries, check that the run time matches the patience of your audience.State
Apps keep track of the state of every node in the current Runchat. This is what lets you build apps that change over time, a task tracker that updates, a game with persistent scores, a chat that remembers previous turns. Note that nested Runchats do not track state, every time the user runs the app, any nested Tool node runs fresh with the current inputs.Embedding apps
Apps embed cleanly in third-party sites like Notion. Most platforms accept a paste of the app URL and embed it as an iframe. The Runchat docs themselves embed Runchat apps in several places.Tokens and accounts
Visitors need a Runchat account to run a published app. When a signed-in visitor runs the app, the run is billed to their account using their own credits and linked accounts. The same applies when the workflow is called via the Runchat API: the API key identifies the caller, and runs are billed to that caller’s account.Next steps
- Tools, Apps, and Libraries: how Apps relate to Tools and Libraries
- Publishing Tools: the same publish flow viewed through the Tool lens
- Build and publish an artifact: worked example of publishing an app