---
title: "Create Integration"
method: POST
path: "/api/onboarding/clickhouse/integrations"
tags: ["clickhouse-onboarding"]
---

# Create Integration

`POST /api/onboarding/clickhouse/integrations`

## Request

- Base URL: `https://api.deeptrace.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.deeptrace.com/api/onboarding/clickhouse/integrations`
- Auth: none declared

## Request body

- ClickHouseCreateRequest: Create a new ClickHouse service integration for a team.
  - `name` string, required: Display name for this service
  - `description` string, nullable: What this service contains
  - `host` string, required: ClickHouse host or IP
  - `port` integer
  - `username` string, required: ClickHouse username
  - `password` string, required: ClickHouse password
  - `use_ssl` boolean: Use HTTPS

## Response `200`

Successful Response

- ClickHouseCredentialResponse: Sanitized ClickHouse credential response (no password).
  - `id` string, required
  - `name` string, required
  - `description` string, nullable
  - `host` string, required
  - `port` integer, required
  - `username` string, required
  - `use_ssl` boolean, required
  - `is_enabled` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/deeptrace/apis/deeptrace-api.md) - [All operations](https://skmtc.dev/deeptrace/apis/deeptrace-api/llms.txt) - [OpenAPI document](https://skmtc.dev/deeptrace/apis/deeptrace-api/revisions/855e59bb07f0?raw)
