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

# ClickHouse

## Basic config

```yaml theme={"system"}
connector_type: clickhouse
profile: default    # profile in the io_config.yaml
config:
  table_name: table_name
```

Enter the DB connection credentials in [`io_config.yaml`](/development/io_config) file and specify the profile in the config.

## Optional fields

```yaml theme={"system"}
database: database                  # Override the database
create_table_statement: true/false  # Whether to run create table statement
```
