docs: add AI writeback self-hosting guide#767
Merged
Conversation
Contributor
🤖 Documentation BotStatus🔗 Broken Links (Manual Fix Required)Click to view details |
Self-hosted operators supply their own E2B API key, so a bare `lightdash-ai-writeback` template name resolves to their own (empty) team and fails sandbox creation. The `lightdash/` prefix is required to pull Lightdash's public template — matching the existing data apps self-hosting guide which uses `lightdash/lightdash-data-app`. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
🤖 Documentation BotStatus🔗 Broken Links (Manual Fix Required)Click to view details |
APPS_RUNTIME_ENABLED only gates the data apps feature (it force-enables the enable-data-apps flag and registers the preview routes). The AI writeback path never checks it — writeback is gated solely by the ai-writeback feature flag and reads E2B_API_KEY unconditionally. Listing it as a required "main switch" was inaccurate, so remove it from the config table and troubleshooting. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
🤖 Documentation BotStatus🔗 Broken Links (Manual Fix Required)Click to view details |
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a new
AI writeback self-hostingpage under Build with AI → Agentic development, modeled on the existing Data apps self-hosting guide.What's new
guides/developer/ai-writeback-self-hosting.mdx— prerequisites, env vars (APPS_RUNTIME_ENABLED,E2B_API_KEY,E2B_AI_WRITEBACK_TEMPLATE_NAME,AI_WRITEBACK_ANTHROPIC_API_KEY, optionalE2B_AI_WRITEBACK_TEMPLATE_TAG), costs, permissions, and troubleshooting for self-hosted operators.docs.json— page added to the Agentic development group.Links to the existing
/guides/ai-agents/ai-writebackpage for end-user usage.