# ThoughtSpot integrations: metadata and data

> Import TML, run a search query and export a Liveboard report in ThoughtSpot. Connect ThoughtSpot to the rest of your data and analytics stack with Tray.ai.

**Canonical page:** https://tray.ai/connectors/thoughtspot-integrations/
**Categories:** Data and analytics
**Connects through:** HTTP Connector

## Overview

ThoughtSpot is an analytics platform where people search their data in plain language and build Liveboards and reports on top of cloud data warehouses. Tray.ai connects to ThoughtSpot through the HTTP Connector, so your workflows can call the ThoughtSpot API alongside the rest of your stack.

## Use cases

### Users

Read, create, update, and delete users in ThoughtSpot from any Tray.ai workflow. The ThoughtSpot API covers calls such as search users and create a user.

- Search users
- Create a user
- Update a user

### Groups

Read, create, update, and delete groups in ThoughtSpot from any Tray.ai workflow. The ThoughtSpot API covers calls such as search groups and create a group.

- Search groups
- Create a group
- Update a group

### Metadata

Read, create, and delete metadata in ThoughtSpot from any Tray.ai workflow. The ThoughtSpot API covers calls such as search metadata and export TML.

- Search metadata
- Export TML
- Import TML

### Data

Read data in ThoughtSpot from any Tray.ai workflow. The ThoughtSpot API covers calls such as run a search query and fetch Liveboard data.

- Run a search query
- Fetch Liveboard data
- Fetch Answer data

### Reports

Read reports in ThoughtSpot from any Tray.ai workflow. The ThoughtSpot API covers calls such as export a Liveboard report and export an Answer report.

- Export a Liveboard report
- Export an Answer report

### Connections

Read, create, update, and delete connections in ThoughtSpot from any Tray.ai workflow. The ThoughtSpot API covers calls such as search connections and create a connection.

- Search connections
- Create a connection
- Update a connection

## Challenges Tray.ai solves

### Keeping ThoughtSpot credentials out of logs

A raw API call usually means pasting a key or token into the request, where it ends up in step inputs, logs, and screenshots.

**How Tray.ai helps:** Store ThoughtSpot credentials once as a Tray.ai authentication and reference them from the HTTP Connector. Tray.ai masks authentication values in logs, so the secret never shows up in a step's input or output.

### Going from the ThoughtSpot API docs to a working call

Translating an example request from API docs into a workflow step means copying the method, URL, headers, and body by hand.

**How Tray.ai helps:** Paste a cURL example from the ThoughtSpot API docs into the HTTP Connector and Tray.ai fills in the method, URL, headers, and body for you.

### Handling files and non-JSON responses

Not every API answers in JSON. Some return XML, files, or binary data, or expect a multipart upload.

**How Tray.ai helps:** The HTTP Connector parses JSON and XML responses, returns files you can pass to the next step, and sends multipart form data for uploads.

## Frequently asked questions

### Does Tray.ai connect to ThoughtSpot?

Yes. Tray.ai connects to ThoughtSpot through the HTTP Connector, which calls the ThoughtSpot API directly. Any call the ThoughtSpot API documents can run as a step in a Tray.ai workflow.

### How does Tray.ai authenticate with ThoughtSpot?

The ThoughtSpot API uses a bearer token. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

### Can I get a dedicated ThoughtSpot connector?

ThoughtSpot runs through the HTTP Connector rather than a dedicated connector. If your team wants one, the Tray.ai connector SDK can build a dedicated ThoughtSpot connector from the ThoughtSpot API.

## Learn more

- Intelligent Integration: https://tray.ai/platform/intelligent-ipaas/
- Merlin Agent Builder: https://tray.ai/platform/merlin-agent-builder/
- Agent Gateway for MCP: https://tray.ai/platform/agent-gateway/
- Book a demo: https://tray.ai/contact/
