GitHub user dosubot[bot] added a comment to the discussion: ai chat bot
<!-- Answer --> This exact question was [asked and answered recently](https://github.com/apache/superset/discussions/40362) [[1]](https://github.com/apache/superset/discussions/40362). Here's the summary: **Superset supports this through two layers:** **1. Frontend — Extensions Registry for the Chat UI** You can inject a custom React chatbot widget into the Superset home page using the Extensions Registry. Key extension points: `'welcome.banner'`, `'navbar.right'`, or `'welcome.message'` [[1]](https://github.com/apache/superset/discussions/40362). ```typescript import { getExtensionsRegistry } from '@superset-ui/core'; import ChatbotWidget from './components/ChatbotWidget'; export default function setupExtensions() { const extensionsRegistry = getExtensionsRegistry(); extensionsRegistry.set('welcome.banner', ChatbotWidget); } ``` There's also a newer **chatbot extension framework** with a dedicated `superset.chatbot` contribution point that supports floating window and panel modes with proper lifecycle management [[2]](https://github.com/apache/superset/pull/40439) [[3]](https://github.com/apache/superset/pull/41000). **2. Backend — MCP (Model Context Protocol) for AI Agent Operations** SupersetMCP is a standalone FastMCP service that exposes Superset functionality (chart creation, SQL querying, dashboard management, etc.) as standardized tools for AI agents [[4]](https://github.com/apache/superset/pull/35877). It runs separately (`superset mcp run --port 5008`) and communicates via JSON-RPC 2.0 while respecting Superset's RBAC/security [[5]](https://github.com/apache/superset/pull/35163). **Recommended architecture:** 1. **Frontend**: Custom React chat widget registered via Extensions Registry or the chatbot extension framework 2. **AI Agent Backend**: Your agent (LangChain, CrewAI, etc.) connected to SupersetMCP 3. **Communication**: Chat widget → your agent API → MCP tools → Superset APIs → results back to UI There are also deployment and authentication guides for connecting AI clients like Claude Desktop and ChatGPT to Superset's MCP service [[6]](https://github.com/apache/superset/pull/38415), plus a user guide covering natural language workflows for data exploration and visualization [[7]](https://github.com/apache/superset/pull/38585). For natural language SQL specifically, there's also [SIP-166](https://github.com/apache/superset/issues/29575) which proposes an AI Assistant for text-to-SQL directly in SQL Lab [[8]](https://github.com/apache/superset/issues/33215). <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=apache%2Fsuperset).* --- Docs are dead. Just use [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-tagline&utm_term=apache%2Fsuperset). [](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-feedback&utm_term=apache%2Fsuperset&message_id=24d8a431-ce8b-4dc5-be7f-2fda30be71fb) [](https://github.dosu.com/apache/superset?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-ask-repo&utm_term=apache%2Fsuperset) [](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-share-team&utm_term=apache%2Fsuperset) GitHub link: https://github.com/apache/superset/discussions/41151#discussioncomment-17334636 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
