You can use the Visual Embed SDK for the following purposes:
Embed specific components of ThoughtSpot application. For example, search bar, search answers page, pinboards, charts, and tables.
Embed the full ThoughtSpot application within a host application.
Render charts, visualizations, and pinboards.
Visual Embed SDK libraries
For embedding the ThoughtSpot search functionality.
For embedding the full ThoughtSpot application with or without the navigation bar.
Configuration requirements for embedding
For information on security configuration requirements, see Configure security settings.
Optional settings for embedding
The URLs in data display as clickable links in ThoughtSpot tables. By default, clicking on a link opens the URL in a separate tab. However, there is a system-wide setting that can be changed to open the links within the context in which they appear.
Changing this setting opens the links. Consider the possible link types, and how they open:
Link in search result table in ThoughtSpot.
Same browser tab as ThoughtSpot application.
Link in table embedded in a DOM element.
<iframe>that contains the table.
Link in full ThoughtSpot application embedded in a web page.
<iframe>that contains the application.
Note the following support across browsers:
Supported desktop browsers
Chrome, Edge, Firefox, and Opera
Supported mobile browsers
Android webview, Chrome for Android, Firefox for Android, Opera for Android, and Samsung Internet
NOT supported desktop browsers
Internet Explorer, Safari
NOT supported mobile browser
Safari on iOS
You can use any of the following authentication services for authenticating application users who want to access the embedded content.
This would require the user to be already logged into ThoughtSpot, before interacting with the client application. You can use this authentication approach for testing environments. Do not use this in a production environment.
This method requires you to set up SAML SSO support on the ThoughtSpot admin console.
Trusted Authentication This method requires you to enable token-based trusted authentication service. In this authentication method, ThoughtSpot provides your client application service with a token that allows it to authenticate on behalf of users.
Visual Embed SDK reference
For detailed information about the SDK contents, classes, functions, and methods:
- Go SpotDev portal.
- Navigate to Guides > Visual Embed > Visual Embed SDK Reference.