---
title: "Create a PostgreSQL cluster"
sidebar_label: "Create a cluster"
sidebar_position: 3
description: "How to create a PostgreSQL cluster and databases"
---

import Formbricks from '@theme/MDXComponents/Formbricks'
import CreateCluster from '@site/i18n/en/docusaurus-plugin-content-docs/current/_partials/managed-databases/postgresql/create-cluster.mdx'

# Create a PostgreSQL cluster

## Create a cluster \{#create-cluster}

<CreateCluster DatabaseName="PostgreSQL" slug="postgresql" />

## Create a database \{#create-database}

1. [Create a user](/managed-databases/postgresql/manage-users.mdx) — the database must have an owner user.
2. In the [Dashboard](https://my.selectel.ru/vpc/default/dbaas/), on the top menu click **Products** and select **Managed Databases**.
3. Open the **Active** tab.
4. Open the cluster page → **Databases** tab.
5. Click **Create Database**.
6. Enter a database name.
7. Select a database owner user.
8. Enter the character set locale (`LC_CTYPE`) — it is responsible for character classification and case variations. You cannot change the locale after the database has been created. Learn more about locales in the [PostgreSQL documentation](https://postgrespro.ru/docs/postgresql/12/locale).
9. Enter the collation locale (`LC_COLLATE`) — it determines string and character comparison settings and also affects sorting. You cannot change the locale after the database has been created.
10. Click **Create**.

<Formbricks />
