---
title: "Create a default data warehouse connection"
method: POST
path: "/v1/projects/{projectId}/data-platform-connections"
tags: ["Connections"]
---

# Create a default data warehouse connection

`POST /v1/projects/{projectId}/data-platform-connections`

An endpoint for creating a default data warehouse connection

## Path parameters

- `projectId` string, uuid, required

## Request body

- CreateDefaultDWHConnectionRequest
  - `authProvider` 'SNOWFLAKE' | 'REDSHIFT' | 'BIGQUERY' | 'DATABRICKS', required — The authentication provider to use for the connection
  - `authType` 'KEY_PAIR' | 'PASSWORD' | 'NONE' | 'PERSONAL_ACCESS_TOKEN' | 'OAUTH_CLIENT_CREDENTIALS', required — The authentication type to use for the connection
  - `name` string, required — The name of the default data warehouse connection
  - `platformConnectionType` 'DWH' | 'COMPONENT_BASIC' | 'CLOUD_PLATFORM_CREDENTIALS', required — The platform type of date warehouse connection to create

## Response `201`

Default Data Warehouse Connection created

## Other responses

- `400` — Wrong request parameters used
- `403` — Unauthorized
- `409` — Name needs to be unique
- `422` — Unprocessable Entity
- `500` — Unexpected error occurred

---

[API](https://skmtc.net/maia/apis/maia-public-rest-api.md) · [All operations](https://skmtc.net/maia/apis/maia-public-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/maia/maia-public-rest-api/revisions/6239825f68eb/schema)
