> ## Documentation Index
> Fetch the complete documentation index at: https://nango.dev/docs/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**.

![](https://mintcdn.com/nango/rpxVsgyt9vCu9JNi/api-integrations/clickhouse/api_key.png?fit=max\&auto=format\&n=rpxVsgyt9vCu9JNi\&q=85\&s=8ac570d3b236269462e87d70af2a609c)

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

![](https://mintcdn.com/nango/rpxVsgyt9vCu9JNi/api-integrations/clickhouse/create_api_key_form.png?fit=max\&auto=format\&n=rpxVsgyt9vCu9JNi\&q=85\&s=d2b66fd443395b21452e623bcedab259)

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

![](https://mintcdn.com/nango/rpxVsgyt9vCu9JNi/api-integrations/clickhouse/generated_key.png?fit=max\&auto=format\&n=rpxVsgyt9vCu9JNi\&q=85\&s=41af1f08ab71be24474809609bd7cb80)

#### 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.

![](https://mintcdn.com/nango/rpxVsgyt9vCu9JNi/api-integrations/clickhouse/form.png?fit=max\&auto=format\&n=rpxVsgyt9vCu9JNi\&q=85\&s=40a69ec82ece3250d1804ae6a6ab4a82)

You are now connected to ClickHouse Cloud.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.