Add an SAP HANA connection

Starting in December 2021, ThoughtSpot rebranded pinboards as Liveboards. For backward compatibility, we currently support internal processes and external methods that use the older naming convention.

Once ThoughtSpot Connections is enabled, you can add a connection to an SAP HANA database. This allows you to perform a live query of the external database to create answers and Liveboards, without having to bring the data into ThoughtSpot.

To add a connection to SAP HANA:

  1. Click Data in the top navigation bar.

  2. Click the Connections tab, and click + Add connection at the upper-right-hand side of the page.

    Click "+ Add connection"
  3. Create a name for your connection, a description (optional), then select the SAP HANA connection type, and click Continue. image::HANA-connectiontype.png[Add a HANA connection]

  4. Enter the connection details for your SAP HANA data source. image::HANA-connectiondetails.png[Enter connection details]

    Refer to the SAP HANA connection reference for more information on each of the specific attributes you must enter for your connection.

  5. (Optional) Provide additional key-value pairs that you need to set up your connection to SAP HANA, by doing the following:

    1. Click the Advanced Config menu to reveal the Key and Value fields.

    2. Enter your key and value information.

    3. To add more keys and values, click the plus sign (+), and enter them.

    Any key-value pairs that you enter must be defined in your HANA data source. Key-value pairs are case-sensitive.

    + For more information about the advanced properties for SAP HANA, see: SAP HANA Client Interface Programming Reference, in the SAP’s documentation.

  6. Click Continue.

  7. Select tables (on the left) and the columns from each table (on the right), and then click Create connection.

    Select tables and columns for your connection

    Once the connection is added, you can search your BiqQuery database right away by clicking Search now. image::HANA-connectioncreated.png[The "Connection created" screen]

    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.