Skip to content

Latest commit

 

History

History

README.md

Spotter Embed

Embed the ThoughtSpot Spotter experience. You can customize the text, logo, and other styles as per your theme.

Key Usage

import { AuthType, init } from "@thoughtspot/visual-embed-sdk";
import { ConversationEmbed } from "@thoughtspot/visual-embed-sdk/react";

init({
  thoughtSpotHost: "https://your-instance.thoughtspot.cloud",
  authType: AuthType.None,
});

// Embed the Spotter conversational AI experience
const SpotterPage = () => (
  <ConversationEmbed
    worksheetId="your-datasource-id"
    frameParams={{ width: "100%", height: "100%" }}
  />
);

Demo

Open in Codesandbox

Documentation

Run locally

$ git clone https://github.com/thoughtspot/developer-examples
$ cd visual-embed/spotter/spotter-embed
$ npm i
$ npm run dev

Technology labels

  • React
  • Typescript
  • Web