> ## Documentation Index
> Fetch the complete documentation index at: https://nango-marcin-nan-6306-mcp-tool-connections-get.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ClickHouse - How do I link my account?

# Overview

To authenticate with ClickHouse Cloud, you will need:

1. **Key ID** – Your ClickHouse Cloud API Key ID; used as the Basic Auth username.
2. **Key Secret** – Your ClickHouse Cloud API Key Secret; used as the Basic Auth password. Keep it secure.

### Prerequisites

* A ClickHouse Cloud account with an active organization.

### Instructions

#### Step 1: Create an API key

1. Log in to your ClickHouse Cloud console and navigate to the [Profile](https://console.clickhouse.cloud/profile) page.
2. Navigate to your organization settings and go to **API Keys**.
3. Click **Generate API Key**.

<img src="https://mintcdn.com/nango-marcin-nan-6306-mcp-tool-connections-get/Xw8Ems6hDxEOOtCL/api-integrations/clickhouse/api_key.png?fit=max&auto=format&n=Xw8Ems6hDxEOOtCL&q=85&s=fa916cf1b826fd73b8f30b5ac56b3f81" width="3024" height="1434" data-path="api-integrations/clickhouse/api_key.png" />

4. Give the key a name and select the appropriate role/permissions.

<img src="https://mintcdn.com/nango-marcin-nan-6306-mcp-tool-connections-get/Xw8Ems6hDxEOOtCL/api-integrations/clickhouse/create_api_key_form.png?fit=max&auto=format&n=Xw8Ems6hDxEOOtCL&q=85&s=4a3fb46cc925c8e6db49e8dc0010a1dd" width="3024" height="1472" data-path="api-integrations/clickhouse/create_api_key_form.png" />

5. Click **Create** and copy both the **Key ID** and **Key Secret** — the secret is only shown once.

<img src="https://mintcdn.com/nango-marcin-nan-6306-mcp-tool-connections-get/Xw8Ems6hDxEOOtCL/api-integrations/clickhouse/generated_key.png?fit=max&auto=format&n=Xw8Ems6hDxEOOtCL&q=85&s=ce1dbe9af255ed39014b89ebb45f8337" width="3024" height="1458" data-path="api-integrations/clickhouse/generated_key.png" />

#### Step 2: Enter credentials in the Connect UI

Once you have your **Key ID** and **Key Secret**:

1. Open the form where you need to authenticate with ClickHouse.
2. Enter your **Key ID** and **Key Secret** in their respective fields.
3. Submit the form, and you should be successfully authenticated.

<img src="https://mintcdn.com/nango-marcin-nan-6306-mcp-tool-connections-get/Xw8Ems6hDxEOOtCL/api-integrations/clickhouse/form.png?fit=max&auto=format&n=Xw8Ems6hDxEOOtCL&q=85&s=3b312ad5f21a4e3b90552b07df607981" style={{maxWidth: "450px" }} width="996" height="1252" data-path="api-integrations/clickhouse/form.png" />

You are now connected to ClickHouse Cloud.
