---
id: database-users
title: "Database Users"
slug: database-users
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/postgres.yml
---

import Tabs from '@theme/Tabs';
import TabsPanel from '@theme/TabsPanel';

Users and Roles are almost interchangeable.




















## Examples

### Create New User



<Tabs
  defaultActiveId="sql"
  groupId="reference/postgres"
  values={[{ label: 'SQL', value: 'sql' }]}>

<TabsPanel id="sql" label="sql">

```sql
create user new_user
with password 'hello';
```


</TabsPanel>

</Tabs>