---
id: auth-signup
title: "auth.signUp()"
slug: auth-signup
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
Creates a new user.
```js
const { user, error } = await supabase.auth.signUp({
email: 'example@email.com',
password: 'example-password',
})
```
```py
# Not yet implemented
```
## Parameters
-
credentials
required
object
The user login details.
## Notes
- By default, the user will need to verify their email address before logging in. If you would like to change this, you can disable email confirmations by going to Authentication -> Settings on [app.supabase.io](https://app.supabase.io)
- When the user confirms their email address, they will be redirected to localhost:3000 by default. To change this, you can go to Authentication -> Settings on [app.supabase.io](https://app.supabase.io)
## Examples
### Sign up
```js
const { user, error } = await supabase.auth.signUp({
email: 'example@email.com',
password: 'example-password',
})
```
```py
# Not yet implemented
```