Files
supabase/apps/docs/content/_partials/database_setup.mdx
T
Danny White 59cddd41a9 feat(studio): group database access settings (#54350)
> [!WARNING]
> This PR relies on #54282 being merged first.

## Problem

Database password and token access appear as separate sections in
Database Settings, although both control connections to Postgres.

## Solution

Group the existing controls under **Database access**, with **Password
access** first and the switch beside **Token access**. Nest **Members**
inside the Token access card and label its action **Add member**.
Preserve the existing feature gates, permissions, toggle behaviour,
dialogs and section anchors. Use shared card headings for Members,
centre the token switch beside its description, and darken the Members
table header. Update the matching token-access and password-reset docs
instructions.

```text
Database access
├── Password access
└── Token access                 [switch]
    └── Members                  [Add member]
```

| After |
| --- |
| <img width="735" height="818" alt="CleanShot 2026-12-01 at 15 56 50"
src="https://github.com/user-attachments/assets/f1207a2f-80d5-480a-9529-e110b960f427"
/> |
| _App [token] access coming separately in
https://github.com/supabase/supabase/pull/53917._ |

## Review instructions

1. Open a project's **Database → Settings** page. Check that **Database
access** contains **Password access** first, with the existing **Reset
database password** button.
2. With the database token access preview enabled, check that **Token
access** has its switch on the same row and **Members** appears inside
the same card when enabled. Check that **Add member** opens the existing
access rule sheet.
3. Check the existing enable confirmation and password reset dialog.
Projects requiring SSL enforcement or a Postgres upgrade should keep
their existing notices and actions.
2026-12-02 00:03:43 +00:00

17 lines
840 B
Plaintext

## Project setup
To create a new Postgres database, start a new Project in Supabase:
1. [Create a new project](https://database.new/) in the Supabase dashboard.
1. Enter your project details. Remember to store your password somewhere safe.
Your database will be available in less than a minute.
**Finding your credentials:**
You can find your project credentials on the dashboard:
- [Database connection strings](/dashboard/project/_/settings/api?showConnect=true): Direct and Pooler connection details including the connection string and parameters.
- [Reset database password](/dashboard/project/_/database/settings#database-password): Find this under **Database access** → **Password access** if you do not have your password.
- [API credentials](/dashboard/project/_/settings/api): your serverless API URL and publishable keys.