> 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-edge-functions/bubble-setup.md).

# Bubble Setup

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

<figure><img src="https://565817280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmxSvZ04SZeWMqvozlHui%2Fuploads%2FW0mCeRfzmEaKpS0q73eW%2Fimage.png?alt=media&amp;token=ee7c2e80-ece9-4d2b-b9b7-5e689a3395d0" 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;
