Skip to content

Commit 2310531

Browse files
committed
docs(config): add Thoughtspot as a downstream tool
1 parent 8f3dafc commit 2310531

File tree

3 files changed

+156
-0
lines changed

3 files changed

+156
-0
lines changed

docs/content/Configuration/Connecting-to-Downstream-Tools.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ Choose a tool to get started with below.
3838
imageUrl="https://raw.githubusercontent.com/cube-js/cube.js/master/docs/static/icons/metabase.svg"
3939
title="Metabase"
4040
/>
41+
42+
<GridItem
43+
url="downstream/thoughtspot"
44+
imageUrl="https://raw.githubusercontent.com/cube-js/cube.js/master/docs/static/icons/thoughtspot.svg"
45+
title="Thoughtspot"
46+
/>
4147
</Grid>
4248

4349
You can learn more about SQL API on the [reference page](/backend/sql), including how to connect
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
---
2+
title: Connecting from Thoughtspot
3+
permalink: /config/downstream/thoughtspot
4+
---
5+
6+
You can connect to Cube from [Thoughtspot][thoughtspot] using the [Cube SQL
7+
API][ref-sql-api].
8+
9+
## Enable Cube SQL API
10+
11+
<InfoBox>
12+
13+
Don't have a Cube project yet? [Learn how to get started
14+
here][ref-getting-started].
15+
16+
</InfoBox>
17+
18+
### <--{"id" : "Enable Cube SQL API"}--> Cube Cloud
19+
20+
Click **How to connect your BI tool** link on the Overview page, navigate to the
21+
SQL API tab and enable it. Once enabled, you should see the screen like the one
22+
below with your connection credentials:
23+
24+
<div style="text-align: center">
25+
<img
26+
src="https://raw.githubusercontent.com/cube-js/cube.js/master/docs/content/cube-sql-api-modal.png"
27+
style="border: none"
28+
width="80%"
29+
/>
30+
</div>
31+
32+
### <--{"id" : "Enable Cube SQL API"}--> Self-hosted Cube
33+
34+
You need to set the following environment variables to enable the Cube SQL API.
35+
These credentials will be required to connect to Cube from Tableau later.
36+
37+
```bash
38+
CUBEJS_PG_SQL_PORT=5432
39+
CUBEJS_SQL_USER=myusername
40+
CUBEJS_SQL_PASSWORD=mypassword
41+
```
42+
43+
## Connecting from Thoughtspot
44+
45+
Thoughtspot connects to Cube as a Redshift database.
46+
47+
In Thoughtspot, go to the Setup tab, then click **Connect now** to add a new
48+
data source:
49+
50+
<div style="text-align: center">
51+
<img
52+
src="https://ucarecdn.com/85bd8325-efd9-4cae-a463-e9b025a667cc/"
53+
style="border: none"
54+
width="80%"
55+
/>
56+
</div>
57+
58+
Enter a name for the data source, choose **Amazon Redshift** as the data
59+
warehouse and click **Continue** in the header:
60+
61+
<div style="text-align: center">
62+
<img
63+
src="https://ucarecdn.com/36aad090-b8c8-4e2b-8684-dc83ce2578c3/"
64+
style="border: none"
65+
width="80%"
66+
/>
67+
</div>
68+
69+
Enter credentials from the previous step and click **Continue**:
70+
71+
<div style="text-align: center">
72+
<img
73+
src="https://ucarecdn.com/bddba9ac-1e24-4651-9086-75f1d0c3c811/"
74+
style="border: none"
75+
width="80%"
76+
/>
77+
</div>
78+
79+
Select columns from the desired cubes and click **Create Connection** on the
80+
next screen:
81+
82+
<div style="text-align: center">
83+
<img
84+
src="https://ucarecdn.com/95692c63-e620-42a5-9355-b4df27d6b3c4/"
85+
style="border: none"
86+
width="80%"
87+
/>
88+
</div>
89+
90+
## Querying data
91+
92+
Your cubes will be exposed as tables, where both your measures and dimensions
93+
are columns.
94+
95+
[ref-getting-started]: /cloud/getting-started
96+
[ref-sql-api]: /backend/sql
97+
[ref-connecting-from-tableau]:
98+
https://cubedev-blog-images.s3.us-east-2.amazonaws.com/dc025b24-674f-4f32-ac44-421d546ee676.GIF
99+
[ref-querying-from-tableau]:
100+
https://cubedev-blog-images.s3.us-east-2.amazonaws.com/ea73a998-e2ce-4814-863e-425b4d35860c.gif
101+
[thoughtspot]: https://www.thoughtspot.com/

docs/static/icons/thoughtspot.svg

Lines changed: 49 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)