From f5ba4b586897425919ccd51dfaaedda554f2c30d Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Mon, 1 Jun 2026 18:47:30 +0000 Subject: [PATCH] docs: mention View preview button in AI writeback chat --- guides/ai-agents/ai-writeback.mdx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/guides/ai-agents/ai-writeback.mdx b/guides/ai-agents/ai-writeback.mdx index 986e274f..fe719ff2 100644 --- a/guides/ai-agents/ai-writeback.mdx +++ b/guides/ai-agents/ai-writeback.mdx @@ -80,7 +80,13 @@ Clean up our metrics. Make the orders model better. ``` -When the pull request is ready, the agent posts the URL in the thread. Open it, review the diff, and merge as you would any other pull request. After merging, refresh dbt in Lightdash (or let your CI/CD do it) so the change takes effect. +When the pull request is ready, the agent posts a **View pull request** button in the thread. Open it, review the diff, and merge as you would any other pull request. After merging, refresh dbt in Lightdash (or let your CI/CD do it) so the change takes effect. + +### Preview the change before merging + +If your dbt repository's CI runs `lightdash preview` on pull requests, a **View preview** button appears next to **View pull request** as soon as the preview project is published. Use it to jump straight into a Lightdash preview of the proposed change and confirm it looks right before merging. + +The button only shows once the preview is ready — if your repository doesn't publish a preview, or it hasn't finished yet, you'll just see **View pull request**. ## What happens if it can't run