Qualetics insights are designed to be integrated with external Web apps that support a Rest API based integration.
In order to embed any Qualetics Insight using Rest API integration method, use the following steps.
How to Access API Credentials?
Go to the Visualize View of any Qualetics Insight by following the steps below
Go to Advanced View
Advanced View
Click on the API button (Indicated by a Settings Wheel) below the Visualization
Click on API button
How to use the API Settings?
Each Qualetics Insight will provide the following parameters to be used for integration
APP ID
APP Secret
Client ID
Insight URL
The parameters are displayed in the API Settings dialog window
API Settings
Example Code
In order to render the insight in a web app, two Rest API calls need to be performed
Get Authentication Token
Perform a POST request to render the insight
The following is an example Rest API call using Javascript to perform the authentication and POST request respectively and load into an HTML Div container
First Define HTML Div Container
HTML
<body><!--Begin Container to load the insight--><divid="res"></div><!--End Container to load the insight--></body>
Add the following script reference to D3.JS to support visualizations