Skip to content

Commit 7159d45

Browse files
docs: add promotion flow for data apps (#741)
Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
1 parent 8300f85 commit 7159d45

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

guides/data-apps.mdx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,26 @@ Personal apps stay tied to whoever created them until they're moved into a space
132132
![Clean Shot 2026 04 29 At 18 39 56@2x](/images/CleanShot-2026-04-29-at-18.39.56@2x.png)
133133
</Frame>
134134

135+
## Promoting an app
136+
137+
If you're building in a [preview project](/guides/developer/preview-projects), you can promote a data app into the preview's upstream (production) project once it's ready. This mirrors how chart and dashboard [promotion](/guides/how-to-promote-content) works: you iterate safely in preview, then push a snapshot to production.
138+
139+
To promote an app:
140+
141+
1. Open the app's **** menu - either on the app card in a list, or in the chat header inside the app - and select **Promote**.
142+
2. In the confirmation dialog, review whether the action will **create** a new production app or **update** the existing linked one, and which space it will land in.
143+
3. Click **Promote**. When it finishes, you're taken to the promoted app in the production project.
144+
145+
The first promotion creates a new app in the upstream project and links the two together. Every later promotion of the same preview app appends a new version to that linked production app, so production keeps a clean history of what was promoted and when. The latest ready version in preview is what gets snapshotted - in-progress builds are skipped.
146+
147+
The app lands in a space that matches the source app's space by path. If no space with that path exists in the upstream project, Lightdash creates one. Personal apps (apps not in a space) are promoted as personal apps owned by the promoter.
148+
149+
To promote, you need:
150+
151+
- **Manage** access on the source data app in the preview project.
152+
- **Create** permission for data apps in the upstream project.
153+
- The preview project must have an upstream project configured under **Settings → Data ops**.
154+
135155
## Data context and the app model
136156

137157
Data apps don't ship with their own copy of your data. They run inside a sandboxed iframe with no direct access to the Lightdash API, so every query the app wants to run is proxied through the Lightdash UI hosting the iframe.

guides/how-to-promote-content.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,7 @@ If the dashboard or charts are in a space that doesn't exist in the upstream pro
6666
</Frame>
6767

6868
Once the dashboard is promoted, you can click on the `success` banner to open a new tab into this dashboard in the `production project`.
69+
70+
## Promote data apps
71+
72+
You can also promote data apps from a preview project into their upstream project. See [Promoting an app](/guides/data-apps#promoting-an-app) in the data apps guide for details.

0 commit comments

Comments
 (0)