Skip to content

feat: assistant widget - #6754

Open
dks333 wants to merge 23 commits into
mainfrom
sam/assistant-widget
Open

feat: assistant widget#6754
dks333 wants to merge 23 commits into
mainfrom
sam/assistant-widget

Conversation

@dks333

@dks333 dks333 commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Documentation changes

Brief description of what's being updated

Closes


For Reviewers

When reviewing documentation PRs, please consider:

✅ Technical accuracy

  • Code examples work as written
  • Commands and configurations are correct
  • Links resolve to the right destinations
  • Prerequisites and requirements are accurate

✅ Clarity and completeness

  • Instructions are clear and easy to follow
  • Steps are in logical order
  • Nothing important is missing
  • Examples help illustrate the concepts

✅ User experience

  • A new user could follow these docs successfully
  • Common gotchas or edge cases are addressed
  • Error messages or troubleshooting guidance is helpful

Note

Low Risk
Documentation and docs-site UI only; no production app or auth changes.

Overview
Adds assistant/widget documentation for embedding the Mintlify AI assistant on external sites via @mintlify/assistant-widget, including enablement steps, install guidance, and a full browser API reference (init, open, ask, update, CSP, and configuration tables).

The page wraps an AssistantWidgetPlayground snippet that lets readers tune appearance and hooks, copy HTML or Next.js install snippets, and see a live iframe preview (with layout guards for SPA navigation). playground.css widens the content area on large screens so the preview can sit beside the prose. docs.json links the new page under Assistant in Optimize.

Reviewed by Cursor Bugbot for commit f16e564. Bugbot is set up for automated code reviews on this repo. Configure here.

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
tomee 🟢 Ready View Preview Jul 26, 2026, 8:15 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@mintlify

mintlify Bot commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview Jul 26, 2026, 8:15 AM

Comment thread assistant-widget.js Outdated
@mintlify

mintlify Bot commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mintlify 🟡 Building Jul 26, 2026, 8:13 AM

@mintlify

mintlify Bot commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
tomee 🟡 Building Jul 26, 2026, 8:13 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Comment thread assistant-widget.js Outdated
Comment thread snippets/assistant-widget-playground.jsx

@ethanpalm ethanpalm left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pushed a few changes. lgtm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants