# Bubble Setup

Running the Edge Function from the element is super simple after you made all the setup.&#x20;

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

* The plugin support custom body, and header values, which will be sent after parsing them.&#x20;
* The Authorization Header will be sent automatically, and it's the same as for the Data element, meaning if you query the DB in the Edge Function RLS will be applied.&#x20;
* Once we get a 200 or 201 response the event "edge function finished" will be fired, so you can safely reference the reponse.&#x20;
* The plugin also uses AJV validation just like in the Data element, which is optional but highly recommended.&#x20;


---

# Agent Instructions: 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:

```
GET https://docs.relevat.hu/supabase.js-bubble-plugin/setup/supabase-edge-functions/bubble-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
