Embed Analytics into Your Applications¶
After establishing a unified data foundation, integrating your analytics ecosystem, organizing it within the Knowledge Layer, enabling conversational interactions, and continuously refining accuracy, the next step is to deliver these capabilities to end-users where they work. Embedding Numbers Station into your existing applications, products, or internal portals allows users to interact with analytics directly in their operational context without switching tools.
Embeddable JavaScript Widget¶
Numbers Station provides an embeddable widget that can be inserted into any web page or application interface using a small snippet of JavaScript code.
Integration Steps¶
- Copy a short JavaScript snippet from the Numbers Station documentation.
- Insert it into your application's front-end codebase (e.g., within the
<head>
section or a designated script bundle). - Once the snippet runs, it initializes the conversational interface, making it accessible as a panel or modal overlay within your existing UI.
- Branding and Appearance Customization
- Adjust API variables or apply your branding guidelines to match the look and feel of your product.
- Control the widget's color scheme, fonts, and layout options so that the embedded conversational interface blends seamlessly into your application's user experience.
Open Source Codebase for Advanced Customization¶
For organizations with unique requirements or advanced front-end frameworks, Numbers Station offers an open-source code repository) which you can fork and customize.
-
Modifying the Code
- Clone or fork the repository and modify its React/TypeScript code to integrate deeper into your application stack.
- Add custom interface elements, integrate with internal APIs, or adjust how queries and responses are displayed.
-
Build and Deploy
- Run a local build process (using npm) to produce a custom widget bundle.
- Deploy your customized version to staging or production, ensuring it meets your organization's UI and user interaction standards.
Integrate On-Demand Insights and Complement Existing AI Features¶
Beyond static embedding, Numbers Station provides the capability to stream responses and integrate seamlessly with applications that already employ AI-driven functionalities. By adopting our lightweight, streaming APIs, you can deliver answers incrementally as they are processed, enhancing user experiences with responsive, interactive analytics.
-
Streaming APIs for Insights Delivery
- Connect to REST streaming endpoints to submit queries and receive partial responses as they are generated.
- Incrementally render textual summaries, then augment them with tables, charts, or visualizations as the Charting Agent finalizes each output.
-
Complementing Existing AI Ecosystems
- If you already have chatbots, recommendation engines, or natural language interfaces, Numbers Station can enhance them by delivering verified analytics outputs.
- Incorporate contextualized answers—rooted in the Knowledge Layer—into your existing AI features, ensuring that the responses remain aligned with established business semantics and previously curated insights.
- Reuse historical Q&A and dashboard references to reduce redundant computations and improve response times, enabling your existing AI features to operate more efficiently while delivering richer insights.
Summary¶
By embedding Numbers Station into your applications, you place conversational analytics directly in the user's daily workflow. Instead of navigating standalone analytics tools, users can ask questions in-line while using your operational systems, project management software, internal dashboards, or client-facing portals. They receive natural language explanations, dynamically rendered charts, and data-driven insights without leaving the context of their tasks. This integration reduces friction, accelerates decision-making, and allows for continuous adaptation as your application evolves.