# Is there a way to use the javascript client of Supabase on Weweb?

**URL:** <https://community.weweb.io/t/is-there-a-way-to-use-the-javascript-client-of-supabase-on-weweb/5441>\
**Category:** Ask us anything\
**Created:** [November 16, 2023, 3:51pm UTC](https://community.weweb.io/t/is-there-a-way-to-use-the-javascript-client-of-supabase-on-weweb/5441 "2023-11-16T15:51:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![visualdevs](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/visualdevs/32/6248_2.png) [@visualdevs](https://community.weweb.io/u/visualdevs)\
**Post date:** [November 16, 2023, 3:51pm UTC](https://community.weweb.io/t/is-there-a-way-to-use-the-javascript-client-of-supabase-on-weweb/5441/1 "2023-11-16T15:51:35Z")

</div>

I see a lot of things that can be achieved with the JS client of Supabase, like upload, delete files. This will allow us to use the whole power of Supabase on Weweb.

Is there a way to do this on Weweb?

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/9/9a37e7d9988e301e5e858c07299115ca35b234c9.jpeg)

---

<div class="post-metadata">

**Author:** ![dorilama](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorilama/32/10403_2.png) [@dorilama](https://community.weweb.io/u/dorilama)\
**Post date:** [November 16, 2023, 4:56pm UTC](https://community.weweb.io/t/is-there-a-way-to-use-the-javascript-client-of-supabase-on-weweb/5441/2 "2023-11-16T16:56:23Z")

</div>

> [@Selection action in Supbase](https://community.weweb.io/t/selection-action-in-supbase/5183/4):
>
> wwLib.wwPlugins.supabase.instance and wwLib.wwPlugins.supabaseAuth.publicInstance share the same instance

---

<div class="post-metadata">

**Author:** ![Alexis](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/alexis/32/13248_2.png) [@Alexis](https://community.weweb.io/u/Alexis)\
**Post date:** [November 16, 2023, 5:14pm UTC](https://community.weweb.io/t/is-there-a-way-to-use-the-javascript-client-of-supabase-on-weweb/5441/3 "2023-11-16T17:14:20Z")

</div>

Yes as quoted by @dorilama you can access it through `wwLib.wwPlugins.supabase.instance`

Be aware the current instance use the sdk v1. So you can’t use some features only available with the sdk v2. We are currently working hard to revamp our supabase plugin and upgrade to v2. We will try to add as many features as possible so you don’t need to use javascript anymore, or very little.

---

<div class="post-metadata">

**Author:** ![visualdevs](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/visualdevs/32/6248_2.png) [@visualdevs](https://community.weweb.io/u/visualdevs)\
**Post date:** [November 16, 2023, 5:38pm UTC](https://community.weweb.io/t/is-there-a-way-to-use-the-javascript-client-of-supabase-on-weweb/5441/4 "2023-11-16T17:38:06Z")

</div>

Thta’s amazing! Thank you so much, so I can use the opportunity to communicate the need of having storage functionality on the Supabase plugin.  
Thank you so much for the hard work!

---

<div class="post-metadata">

**Author:** ![visualdevs](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/visualdevs/32/6248_2.png) [@visualdevs](https://community.weweb.io/u/visualdevs)\
**Post date:** [November 16, 2023, 7:13pm UTC](https://community.weweb.io/t/is-there-a-way-to-use-the-javascript-client-of-supabase-on-weweb/5441/5 "2023-11-16T19:13:58Z")

</div>

Sorry, so how should I write the structure of the javascript code?
