> For the complete documentation index, see [llms.txt](https://docs.relevat.hu/supabase.js-bubble-plugin/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.relevat.hu/supabase.js-bubble-plugin/setup/supabase-auth/how-to-sign-up.md).

# How to: Sign Up

### Signup with Email

Let's say you'd like to allow user to signup via email. Fill out the Email and Password section, and add the Captcha Token if you're using the Cloudflare Plugin.&#x20;

<figure><img src="/files/yi0hQJTxWjTCvNRl9iAk" alt=""><figcaption></figcaption></figure>

Once the action successfully run the user have been authenticated and you should have access to all the Data. Since there are events for almost everything, you should always wait for these events to fire to make sure that the action you're trying to run has actually ran successfully.

<figure><img src="/files/rV3sLzrl7nCnbBWF6kMu" alt=""><figcaption></figcaption></figure>

If there's any error also at any point Supabase Auth let you know as soon as possible so always setup an error handling action within the page.

<figure><img src="/files/hj4wxvsCsVGL0gmacfxz" alt=""><figcaption></figcaption></figure>

### Signup with Social

Now let's login with Social Login. In this example we use Google as it's the most used. First make sure you set everything up within Supabase <https://supabase.com/docs/guides/auth/social-login>

<figure><img src="/files/ihSQ3alNIsl1olNivL68" alt=""><figcaption></figcaption></figure>

Once you've done that, you can use the action shown above.&#x20;

Scopes needs to match with the Social Login provider, and if you have any sensitive scope, you need to have your project approved, before making the request.&#x20;

Once redirected and the authentication was successful the plugin will notify you via the related event.&#x20;

<figure><img src="/files/yvNwOBOq7MZaeuhSpH3a" alt=""><figcaption></figcaption></figure>

The Element returns the provider at all times, like the name of the Social provider, Email or Phone.&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.relevat.hu/supabase.js-bubble-plugin/setup/supabase-auth/how-to-sign-up.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
