> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hightouch.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SingleStore

> SingleStore is a modern relational database for cloud and on-premises delivering immediate insights for modern applications and analytical systems.

## Overview

Hightouch lets you pull data stored in SingleStore and push it to downstream destinations. Most of the setup occurs in the Hightouch UI, but you need access to SingleStore for information like your hostname, database, and credentials.

> [!NOTE]
>
> You may need to allowlist Hightouch's IP addresses to let our systems connect to your warehouse. Reference our [networking docs](https://docs.hightouch.com/security/networking#ip-addresses) to determine which IP addresses you need to allowlist.

## Connection configuration

To get started, go to the [**Sources** overview page](https://app.hightouch.com/sources?from=docs) and click the **Add source** button. Select **SingleStore** and follow the steps below.

### Choose connection type

Hightouch can connect directly to SingleStore over the public internet or via an SSH tunnel. Since data is encrypted in transit via TLS, a direct connection is suitable for most use cases. You may need to set up a tunnel if your SingleStore instance is on a private network or virtual private cloud (VPC).

![Direct connection vs. SSH tunnel](https://mintcdn.com/hightouch-3c037897/L_vQfA0JQEpeGUUo/images/get-started/connection-types-comparison.png?fit=max\&auto=format\&n=L_vQfA0JQEpeGUUo\&q=85\&s=2300535707894b1f08608939cac812b2)

Hightouch supports both standard and reverse SSH tunnels. To learn more about SSH tunneling, refer to Hightouch's [tunneling documentation](https://docs.hightouch.com/security/ssh-tunneling.md).

### Configure your source

Enter the following required fields into Hightouch:

* **Host**: The hostname or IP address of your SingleStore.
* **Port**: The port number of your SingleStore. The default is 3306, but yours may be different.
* **Database**: The name of the database in your SingleStore.
* **Verify CA Certificate**: Enable CA Certificate verification for a more secure connection.

When you enable **Verify CA Certificate**, Hightouch will require you to provide the CA certificate from SingleStore.

Get the certificate file from SingleStore by going to **Connect Directly** option of the workspace your database is in and downloading the **TLS/SSL Certificate**

![Download CA certificate from SingleStore](https://mintcdn.com/hightouch-3c037897/L_vQfA0JQEpeGUUo/images/sources/sources-single-store-cert.png?fit=max\&auto=format\&n=L_vQfA0JQEpeGUUo\&q=85\&s=181613b788ccfe393e4f936978ce3060)

You can then upload the certificate in Hightouch in the **CA Certificate** section.

![Upload CA certificate to Hightouch](https://mintcdn.com/hightouch-3c037897/L_vQfA0JQEpeGUUo/images/sources/sources-single-store-cert-upload.png?fit=max\&auto=format\&n=L_vQfA0JQEpeGUUo\&q=85\&s=e12b8c71b822012604e3270aeb65a8bf)

### Provide your credentials

Enter the following fields into Hightouch:

* **User**: A dedicated user for Hightouch.
* (Optional) **Password**: The password for the user specified above.

## Test your connection

When setting up SingleStore as a source for the first time, Hightouch validates your credentials and access to your database. Once the test passes, click **Continue** to finish setup.

## Create models

Once your source configuration has passed the necessary validation, you've completed setting up SingleStore as a source. Next, you can set up [models](https://docs.hightouch.com/getting-started/concepts.md#models) to define which data you want to pull from SingleStore.

The SingleStore source supports these modeling methods:

* writing a query in [the SQL editor](https://docs.hightouch.com/models/sql-editor.md)
* using the visual [table selector](https://docs.hightouch.com/models/table-selector.md)
* leveraging existing [dbt models](https://docs.hightouch.com/extensions/dbt-models.md)

## Tips and troubleshooting

If you run into an issue this page doesn't cover, [contact support](#pylon-chat).
