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

# Connect Generic SQL to the Knowledge Base

> Connect to Snowflake or other SQL databases using a connection string.

With the Generic SQL connector, you can connect to Snowflake, Postgres, Redshift, and other SQL databases using a connection string. Use this connector when there is no dedicated connector tile for your database.

## Connecting to Generic SQL

<Steps>
  <Step title="Open Project Settings">
    In your Odin AI Platform project, navigate to **Settings** in the sidebar.
  </Step>

  <Step title="Go to Connections">
    Select the **Connections** tab and find the **Generic SQL** tile under **Databases**.
  </Step>

  <Step title="Open the Generic SQL popup">
    Click the **Generic SQL** tile. A popup appears with the option to connect to Snowflake or other SQL databases. Click **+ Add Connection**.
  </Step>

  <Step title="Fill in the connection form">
    Enter the following details:

    **Server**

    | Field               | Required | Description                                                          |
    | ------------------- | -------- | -------------------------------------------------------------------- |
    | **Connection Name** | Yes      | A display name for this connection (e.g. `My Generic Connection`).   |
    | **Connect String**  | Yes      | The connection string for your database (e.g. `sqlite:///:memory:`). |

    **Database**

    | Field      | Required | Description                                                      |
    | ---------- | -------- | ---------------------------------------------------------------- |
    | **Tables** | Yes      | The tables to index. Enter each table name separated by a comma. |
  </Step>

  <Step title="Save the connection">
    Click **Save**. Odin AI Platform will authenticate using the details provided. If successful, the **Generic SQL** tile on the Connections page will display a green dot and a count of your active Generic SQL connections.
  </Step>
</Steps>

<Check>You're now ready to use your database in the Knowledge Base!</Check>
