# Creating a Connection

These instructions apply to the current Admin Console.

Follow these steps to create a Connection in Contextual.

1. In the left sidebar, under **Connect**, select **Connections**.
2. Select **New connection**, then select **General connection**.
3. In the **New connection** dialog, enter the following:
   - **Connection ID**: required, permanent, and unique. Lower case letters, numbers, and dashes, up to 256 characters. It can’t be changed after the connection is created.
   - **Connection Name**: required and editable. Letters, numbers, spaces, dashes, and most special characters are allowed. Used in lists and tables in the console.
   - **Connection Type**: required. Choose a type, which can’t be changed after the connection is created. Available types: `bearer`, `kafka`, `client-grant`, `password-grant`, `basic`, `public`, `pulsar`, `sftp`, `connection-string`, `azure-blob`, `aws-s3`, `authorization-code-grant`, and `google-service-account`. Each type is described in [Types of Connections](https://docs.contextual.io/connect/connections/types-of-connections.md).
4. Complete the type-specific fields that appear below **Connection Type**. Required fields are marked with an asterisk (\*).
5. Select **Create**.

> **Note:** To connect to an AI provider such as OpenAI, Anthropic, or Vertex AI, select **New connection → AI provider connection** instead.

## Duplicate an Existing Connection

To create a connection like an existing one, open that connection’s actions menu (⋮) in the list and select **Duplicate**. The dialog opens prefilled with the original connection’s settings. Enter a new **Connection ID**, re-enter any secret values, and select **Create**.

## Create with SolutionAI

In the **New connection** dialog, select **Create with SolutionAI** to have SolutionAI help you configure the connection.

## Cancel Without Saving

If you select **Cancel** after entering values, the console warns that your edits will be lost. Select **Discard** to close the dialog without creating the connection.
