    CREATE CONNECTION sql_server_connection TO SQL SERVER (
    HOST '<host>',
    SSH TUNNEL ssh_connection
    );
    ```

    - Replace `<host>` with your SQL Server endpoint.

1. Use the [`CREATE SOURCE`](/sql/create-source/) command to connect Materialize to your SQL Server instance and start ingesting data:

    ```mzsql
    CREATE SOURCE mz_source
      FROM SQL SERVER CONNECTION sql_server_connection
      FOR ALL TABLES;
    ```

    - By default, the source will be created in the active cluster; t