Once ThoughtSpot Embrace is enabled, you can add a connection to a Redshift database. This allows you to perform a live query of the external database to create answers and pinboards, without having to bring the data into ThoughtSpot.
Enabling SSL in Amazon Redshift
If you need to create a secure connection to Amazon Redshift, you must edit the “parameter group” assigned to your Redshift cluster and enable the require_SSL flag.
To enable FIPS-compliant SSL mode, set both the use_fips_ssl parameter and the require_SSL parameter to true in the parameter group that is associated with your Redshift cluster.
For more information, see Connect using SSL in Amazon’s Redshift documentation.
Adding a Redshift connection
To add a connection to Redshift:
Click Data in the top navigation bar.
Click the Embrace tab at the top of the page, and click + Add connection at the upper-right-hand side of the page.
Create a name for your connection, a description (optional), then select the Redshift connection type, and click Continue.
Enter the connection details for your Redshift data source.
Refer to the Redshift connection reference for more information on each of the specific attributes you must enter for your connection.
- (Optional) If you enabled SSL in your Redshift cluster, you must do the following:
- Click the Advanced Config menu to reveal the Key and Value fields.
- For Key, enter SSL.
- For Value, enter True.
To add more keys and values, click the plus sign (+), and enter them.Note: Any key-value pairs that you enter must be defined in your Redshift data source. Key-value pairs are case-sensitive.
Select tables (on the left) and the columns from each table (on the right), and then click Create connection.
A message appears indicating the number of tables and columns that will be added to your connection.
Once the connection is added, you can search your Redshift database right away by clicking Search now.
Your new connection appears on the Data > Connections page. You can click the name of your connection to view the tables and columns in your connection.
The connection you just created is a link to the external data source. If there are any joins in the selected tables of the external data source, those are imported into ThoughtSpot.
You can now perform a live query on the selected tables and columns of your connection. Because the selected tables and columns in your connection are linked, it may take a while to initially render the search results. This is because ThoughtSpot does not cache linked data. With linked data, ThoughtSpot queries the external database directly, which is slower than querying data that is stored in ThoughtSpot’s database.