# Connection String

These instructions apply to the current Admin Console.

## Description

The **Connection String** connection type (`connection-string`) stores connection parameters and credentials together as a single secret string. Use it with the **ODBC** node for database connections or the **Redis Cmd** node for Redis connections. Multiple Flow nodes can reference the same saved Connection.

For ODBC, provide an ODBC connection string for your database. For Redis Cmd, provide a Redis connection URL.

## Before You Begin

For ODBC, confirm that the worker supports the driver named in your connection string. Creating a connection does not install or enable an ODBC driver.

The **ODBC** node requires `Driver={driver name};`, with a capital **D** and a trailing semicolon.

## Required Information

After you select this type in **Connection Type**, the console asks for the following fields. Every connection also has a **Connection ID**, **Connection Name**, and **Connection Type**.

| **Field**             | **Required** | **Description**                                 |
|-----------------------|--------------|-------------------------------------------------|
| **Connection String** | Yes          | The full connection string. Stored as a secret. |

## Usage

1. Under **Connect → Connections**, select **New connection → General connection**. Set **Connection Type** to `connection-string`.
2. Enter the **Connection ID**, **Connection Name**, and **Connection String**, then select **Create**.
3. In the Flow Editor, add an **ODBC** or **Redis Cmd** node and select the saved connection in its **Connection** field.
4. Configure the database query or Redis command and any required parameters in the node.
