# Configure Spotter Analysts

> For the complete documentation index, see [llms.txt](https://developers.thoughtspot.com/docs/llms.txt)

Source: https://developers.thoughtspot.com/docs/customize-spotter-analysts

# Configure Spotter Analysts

Spotter Analysts are use-case-scoped AI analysts that bring governed, pre-configured natural language analytics to your embedded applications.

## Overview

Instead of showing a blank Spotter prompt and expecting users to pick the right data source and ask the correct questions to get the right answers, you can provide them with a pre-configured, governed Analyst that is scoped with the right data context. With the data pre-scoped to what the team is allowed to access and the tools governed accordingly, every team member gets the same context without having to configure anything themselves.

ThoughtSpot allows users to create and manage [Analysts](https://docs.thoughtspot.com/cloud/latest/spotter-analysts) directly within the Spotter interface. Each Analyst is scoped to a data model and can be configured with custom instructions, tool restrictions, and conversation starter options. You can also set share permissions and administrative controls to determine who can access or modify the Analyst in the embedded view.

## Spotter Analysts in the embedded view

When Spotter Analysts are enabled on your ThoughtSpot instance and [sidebar]({{navprefix}}/{{customize-spotter-sidebar}}) is visible in the embedded view, the Analysts panel and dashboard are visible by default. The sidebar also includes the option to view a specific Analyst or open the dashboard to view all the available Analysts.

### Customizing the Analyst panel visibility

To control the visibility of the Spotter Analysts panel in the embedded sidebar, use the `SpotterAnalystSidebar` action ID in the `disabledActions` or `hiddenActions` array.

The following example shows how to hide the Spotter Analysts panel from the embedded view:

```JavaScript
const embed = new SpotterEmbed("#embed", {
    // ...other Spotter embed configuration options
    disabledActions: [
        Action.SpotterAnalystSidebar,
    ],
});
```

### Control individual Analyst actions

When Analysts are enabled in the embedded view, you can show or hide specific menu actions using the following action IDs:

 
| Action ID | Description |
| --- | --- |
| 
`Action.CreateAnalyst`

 | 

Action ID for the **Create new** action for creating a new Spotter Analyst.

 |
| 

`Action.EditAnalyst`

 | 

Action ID for the edit option for an existing Analyst.

 |
| 

`Action.CopyAnalyst`

 | 

Action ID for the **Make a copy** action for duplicating an Analyst.

 |
| 

`Action.ShareAnalyst`

 | 

Action ID for the share action for sharing an Analyst with other users.

 |
| 

`Action.DeleteAnalyst`

 | 

Action ID for the delete option for removing an Analyst.

 |

```JavaScript
const spotterEmbed = new SpotterEmbed(document.getElementById('ts-embed'), {
    // ...other embed view configuration options
    hiddenActions: [
        Action.DeleteAnalyst,
    ],
});
```

### Customizing label strings

If you want to replace the default "Analyst" or "Analysts" text with terminology that matches your application, use the `spotterAnalystLabel` and `spotterAnalystsLabel` locale customization strings.

For example, you might want to use "AI Assistant" instead of "Analyst" in your embedded application:

```JavaScript
const spotterEmbed = new SpotterEmbed(document.getElementById('ts-embed'), {
    // ...other embed view configuration options
    spotterSidebarConfig: {
         // show sidebar panel
         enablePastConversationsSidebar: true,
         // Custom label for a single Analyst (default: "Analyst")
         spotterAnalystLabel: 'AI Assistant',
         // Custom label for the Analysts section heading (default: "Analysts")
         spotterAnalystsLabel: "AI assistants",
    },
});
```

## Additional resources

-   [Spotter Analysts in product documentation](https://docs.thoughtspot.com/cloud/latest/spotter-analysts)
    
-   [Customizing the Spotter embed view]({{navprefix}}/{{customize-spotter-embed}})
    
-   [Visual Embed SDK changelog]({{navprefix}}/{{api-changelog}})
    
-   [Customizing the Spotter sidebar panel]({{navprefix}}/{{customize-spotter-sidebar}})