> [!NOTE]
> **Note:** See the [Teradata end-user license agreement](https://docs.cloud.google.com/looker/docs/2600/db-teradata-eula).

The procedures that are required to connect Looker to a Teradata database depend on your Looker deployment:

- For Looker-hosted, Looker (original) instances, contact [Looker Support](https://docs.cloud.google.com/looker/docs/2600/best-practices/looker-support-details) if you want to enable the Teradata driver.

- For [customer-hosted](https://docs.cloud.google.com/looker/docs/2600/glossary#customer-hosted) Looker (original) instances, perform the following procedures:

  1. [Install the `hash_md5` user-defined function (UDF) on your Teradata server](https://docs.cloud.google.com/looker/docs/2600/db-config-teradata#install-udf).
  2. [Install the Teradata JDBC driver](https://docs.cloud.google.com/looker/docs/2600/db-config-teradata#install-jdbc-driver).
  3. [Create the Looker connection to your database](https://docs.cloud.google.com/looker/docs/2600/db-config-teradata#creating-the-connection-to-your-database).
- For [Looker (Google Cloud core)](https://docs.cloud.google.com/looker/docs/looker-core-overview) instances, perform the following procedures:

  1. [Install the `hash_md5` user-defined function (UDF) on your Teradata server](https://docs.cloud.google.com/looker/docs/2600/db-config-teradata#install-udf).
  2. [Create the Looker connection to your database](https://docs.cloud.google.com/looker/docs/2600/db-config-teradata#creating-the-connection-to-your-database).

## Encrypting network traffic

It is a best practice to encrypt network traffic between the Looker application and your database. Consider one of the options described on the [Enabling secure database access](https://docs.cloud.google.com/looker/docs/2600/enabling-secure-db-access) documentation page.

## Installing the `hash_md5` user-defined function (UDF)

Before configuring Looker to work with Teradata, you must install the `hash_md5` user-defined function (UDF) on your Teradata server. You can find instructions for installing the UDF on this [Teradata downloads](https://downloads.teradata.com/download/extensibility/md5-message-digest-udf) page.

## Installing the Teradata JDBC driver

If you have a Looker (original) instance, you will need to configure a Teradata driver before creating the Looker connection. These instructions describe that process, assuming use of a startup script that is similar to the examples that are provided on the [looker-open-source GitHub page](https://github.com/looker-open-source/customer-scripts/tree/master/startup_scripts).

> [!NOTE]
> **Note:** If you have a [Looker (Google Cloud core)](https://docs.cloud.google.com/looker/docs/looker-core-overview) instance, you can create a connection to a Teradata database without configuring a Teradata driver. After you [install the `hash_md5` user-defined function (UDF) on your Teradata server](https://docs.cloud.google.com/looker/docs/2600/db-config-teradata#install-udf), you can go right to the [Creating the Looker connection to your database](https://docs.cloud.google.com/looker/docs/2600/db-config-teradata#creating-the-connection-to-your-database) procedure on this page.

To install the driver, you will need to acquire two Teradata files, include them as part of the startup process, and add an option to tell Looker to access the driver.

Follow the steps on the [Unpackaged JDBC drivers](https://docs.cloud.google.com/looker/docs/2600/unpackaged-jdbc-drivers) documentation page using the following values:

**driver symbol** : `teradata`

**driver entry**:

    - name: teradata
      dir_name: teradata
      module_path: com.teradata.jdbc.TeraDriver

For the [step to put the driver in your dialect's directory](https://docs.cloud.google.com/looker/docs/2600/unpackaged-jdbc-drivers#driver_directory), the paths to these files will look like this:

- `looker/custom_jdbc_drivers/teradata/tdgssconfig.jar`
- `looker/custom_jdbc_drivers/teradata/terajdbc4.jar`

## Creating the Looker connection to your database

To create the connection from Looker to your database, follow these steps:

1. In the **Admin** section of Looker, select **Connections** , and then click **Add Connection**.
2. Select **Teradata** from the **Dialect** drop-down menu.
3. Fill out the connection details. The majority of the settings are common to most database dialects. See the [Connecting Looker to your database](https://docs.cloud.google.com/looker/docs/2600/connecting-to-your-db) documentation page for information.
4. To verify that the connection is successful, click **Test** . See the [Testing database connectivity](https://docs.cloud.google.com/looker/docs/2600/testing-db-connectivity) documentation page for troubleshooting information.
5. To save these settings, click **Connect**.

## Feature support

For Looker to support some features, your database dialect must also support them.

Teradata supports the following features as of Looker 26.0:

| Feature | Supported? |
|---|---|
| Looker (Google Cloud core) | Yes |
| Symmetric aggregates | Yes |
| Derived tables | Yes |
| Persistent SQL derived tables | Yes |
| Persistent native derived tables | Yes |
| Stable views | Yes |
| Query killing | Yes |
| SQL-based pivots | Yes |
| Timezones | No |
| SSL | No |
| Subtotals | No |
| JDBC additional params | Yes |
| Case sensitive | Yes |
| Location type | Yes |
| List type | No |
| Percentile | No |
| Distinct percentile | No |
| SQL Runner Show Processes | No |
| SQL Runner Describe Table | Yes |
| SQL Runner Show Indexes | Yes |
| SQL Runner Select 10 | Yes |
| SQL Runner Count | Yes |
| SQL Explain | Yes |
| OAuth 2.0 credentials | No |
| Context comments | Yes |
| Connection pooling | No |
| HLL sketches | No |
| Aggregate awareness | Yes |
| Incremental PDTs | No |
| Milliseconds | Yes |
| Microseconds | Yes |
| Materialized views | No |
| Period-over-period measures | No |
| Approximate count distinct | No |