# ThoughtSpot

## Before you start

To connect ThoughtSpot to Select Star, you will need...

1. [Generate a Secret Key](#1.-generate-a-secret-key)
2. [Connect ThoughtSpot to Select Star](#2.-connect-thoughtspot-to-select-star)

## **1. Generate a Secret Key**

Generate a Secret Key in the Develop tab,

1. As an account admin, log in to the ThoughtSpot.
2. Click on thr **Develop tab**.

<figure><img src="https://3470314135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgAiVthA_yg9UXKuhyY%2Fuploads%2Fgit-blob-88c25159ddd764853fa0e3bc1c2f26c18053f94a%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

3. Under the **Security settings** section, click Edit, to enable `Trusted authentication`.

<figure><img src="https://3470314135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgAiVthA_yg9UXKuhyY%2Fuploads%2Fgit-blob-627f0c686cc028d6fef7d4cbf330a9aad0db4b69%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

4. Toggle the switch to enable the feature and **Save Changes**.

<figure><img src="https://3470314135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgAiVthA_yg9UXKuhyY%2Fuploads%2Fgit-blob-c10f124208cc9967d5a1f411205acf1300c67904%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Enabling the Trusted authentication, will trigger a service interruption.
{% endhint %}

<figure><img src="https://3470314135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgAiVthA_yg9UXKuhyY%2Fuploads%2Fgit-blob-d3abadde430a990101eeb4f2ab0a180364d5e16e%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

5. After the changes are saved, you should be able to see and copy the **Secret Key**.

<figure><img src="https://3470314135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgAiVthA_yg9UXKuhyY%2Fuploads%2Fgit-blob-033308fe8edc111d65f17d239c3d2918690f0b95%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

## 2. Connect ThoughtSpot to Select Star

1. Go to the Select Star **Settings**.
2. Click **Data** in the sidebar, then **+ Add** to create a new Data Source.

<figure><img src="https://3470314135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgAiVthA_yg9UXKuhyY%2Fuploads%2Fgit-blob-28a6469311de545a3a2e3f10c0506fa1129426de%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

3. Choose **ThoughtSpot** in the Source Type dropdown and provide the following information:

**Display Name:** This value is `ThoughtSpot` by default, but you can override it if desired.

**Username:** This is the username of the user who created the Secret Key from Step 1.

**Secret Key:** This is the **Secret Key** from Step 1, which is used to authenticate access to Thoughtspot.

**Base URL:** This is the address of your ThoughtSpot instance. This should include the `https://<instance name>.thoughtspot.cloud`.

<figure><img src="https://3470314135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgAiVthA_yg9UXKuhyY%2Fuploads%2Fgit-blob-a1515f813d8a04a087d70b8edee760e4ba95793b%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

4. Once this information is added, click Connect. This will trigger a sync process. You can close this window now.

<figure><img src="https://3470314135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgAiVthA_yg9UXKuhyY%2Fuploads%2Fgit-blob-fbc0630ce7af804092d580cec8138003bfddae05%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

Your metadata should start loading automatically. Please allow 24-48 hours to completely generate and lineage.

When the sync is complete, you'll be able to explore ThoughtSpot in Select Star.

{% content-ref url="../learning-data/getting-started-thoughtspot" %}
[getting-started-thoughtspot](https://docs.selectstar.com/learning-data/getting-started-thoughtspot)
{% endcontent-ref %}
