Integrate KX Dashboards with kdb Insights SDK
This page describes the requirements for integrating KX Dashboards with kdb Insights SDK.
Information
Integration with kdb Insights SDK is supported only from kdb Insights SDK version 1.15 onwards.
Integration KX Dashboards with kdb Insights SDK provides the following benefits:
-
Real-time data access : Integration with the kdb Insights Database allows KX Dashboards to query both real-time streaming and historical data through the same interface.
-
Advanced query capabilities : Leverage qSQL or custom q functions via the kdb Insights SDK APIs, allowing complex analytics directly from KX Dashboards.
-
Simplified development workflows : Define queries, pipelines, and data sources using the kdb Insights SDK, then link them directly to dashboard widgets without additional configuration.
-
Managed deployments and versioning : Integration with the kdb Insights SDK allows dashboards to be packaged and deployed as part of a complete kdb Insights SDK.
-
Enhanced visual interactivity: kdb Insights SDK integration enables live updates, streaming data visualizations, and event-driven interactions between dashboards and the backend data services
How to integrate
To enable KX Dashboards integration with your kdb Insights SDK deployment, the following requirements must be met:
-
Deploy KX Dashboards.
-
Deploy kdb Insights SDK: At a minimum the Database must be deployed. Refer to Deploying Database for details.
-
Configure CORS policy: The kdb Insights SDK CORS policy defines which external origins are permitted to access resources on the Service Gateway. To enable KX Dashboards access, you must configure
KXI_SG_CORS_ORIGINS
in your kdb Insights SDK deployment with the host and port where KX Dashboards is running. -
Connect dashboard components with kdb Insights SDK : The Data Source, for components in your dashboards, must be configured to connect to kdb Insights SDK. Refer to Connection Management for details.