[{"_path":"/docs/plugins/supabase","_draft":false,"_partial":false,"_empty":false,"title":"Supabase Integration","description":"SimpleLog is powered by Supabase, so naturally a plugin is a must 😂!\nJust follow these few simple steps to start.","excerpt":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"SimpleLog is powered by "},{"type":"element","tag":"a","props":{"href":"https://supabase.com","rel":["nofollow","noopener","noreferrer"],"target":"_blank"},"children":[{"type":"text","value":"Supabase"}]},{"type":"text","value":", so naturally a plugin is a must 😂!\nJust follow these few simple steps to start."}]},{"type":"element","tag":"h2","props":{"id":"create-integration"},"children":[{"type":"text","value":"Create Integration"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Navigate to "},{"type":"element","tag":"a","props":{"href":"/app/settings/plugins"},"children":[{"type":"text","value":"Plugin"}]},{"type":"text","value":" page in the app, and you will be welcomed with Supabase integration immediately."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"img","props":{"alt":"SimpleLog plugin page","src":"/assets/docs/supabase/pic1.png"},"children":[]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Then, select the desired project and channels to populate events from Supabase.\nAfter "},{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"create"}]},{"type":"text","value":" the integration, copy the endpoint."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"img","props":{"alt":"Create Supabase integration","src":"/assets/docs/supabase/pic2.png"},"children":[]}]},{"type":"element","tag":"hr","props":{},"children":[]},{"type":"element","tag":"h2","props":{"id":"connect-with-supabase"},"children":[{"type":"text","value":"Connect with Supabase"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Next, login to your "},{"type":"element","tag":"a","props":{"href":"https://app.supabase.com/","rel":["nofollow","noopener","noreferrer"],"target":"_blank"},"children":[{"type":"text","value":"Supabase project"}]},{"type":"text","value":", and navigate to "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"Database"}]},{"type":"text","value":" → "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"Database Webhooks"}]},{"type":"text","value":"."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"img","props":{"alt":"Supabase Database","src":"/assets/docs/supabase/pic3.png"},"children":[]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Create a new database webhook with the table you want to log the events with. You can select any "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"Events"}]},{"type":"text","value":" you wish to trigger. In this example below, I've selected "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"users"}]},{"type":"text","value":" table, and only log the "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"Insert"}]},{"type":"text","value":" event in SimpleLog."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"img","props":{"alt":"Create Supabase Database Webhooks","src":"/assets/docs/supabase/pic4.png"},"children":[]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Lastly, change the Method to "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"POST"}]},{"type":"text","value":", and paste in the URL field with the endpoint you copied just now.\nYou can also add "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"notify"}]},{"type":"text","value":" parameter to "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"true/false"}]},{"type":"text","value":". (default to "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"true"}]},{"type":"text","value":")."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"img","props":{"alt":"Create Supabase integration","src":"/assets/docs/supabase/pic5.png"},"children":[]}]},{"type":"element","tag":"h2","props":{"id":"-"},"children":[{"type":"text","value":"🎉 !"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Awesome! You've create an integration with Supabase, and it will notify you when there's a change in Supabase table!"}]}]},"slug":"Supabase","icon":"i-logos-supabase-icon","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"SimpleLog is powered by "},{"type":"element","tag":"a","props":{"href":"https://supabase.com","rel":["nofollow","noopener","noreferrer"],"target":"_blank"},"children":[{"type":"text","value":"Supabase"}]},{"type":"text","value":", so naturally a plugin is a must 😂!\nJust follow these few simple steps to start."}]},{"type":"element","tag":"h2","props":{"id":"create-integration"},"children":[{"type":"text","value":"Create Integration"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Navigate to "},{"type":"element","tag":"a","props":{"href":"/app/settings/plugins"},"children":[{"type":"text","value":"Plugin"}]},{"type":"text","value":" page in the app, and you will be welcomed with Supabase integration immediately."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"img","props":{"alt":"SimpleLog plugin page","src":"/assets/docs/supabase/pic1.png"},"children":[]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Then, select the desired project and channels to populate events from Supabase.\nAfter "},{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"create"}]},{"type":"text","value":" the integration, copy the endpoint."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"img","props":{"alt":"Create Supabase integration","src":"/assets/docs/supabase/pic2.png"},"children":[]}]},{"type":"element","tag":"hr","props":{},"children":[]},{"type":"element","tag":"h2","props":{"id":"connect-with-supabase"},"children":[{"type":"text","value":"Connect with Supabase"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Next, login to your "},{"type":"element","tag":"a","props":{"href":"https://app.supabase.com/","rel":["nofollow","noopener","noreferrer"],"target":"_blank"},"children":[{"type":"text","value":"Supabase project"}]},{"type":"text","value":", and navigate to "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"Database"}]},{"type":"text","value":" → "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"Database Webhooks"}]},{"type":"text","value":"."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"img","props":{"alt":"Supabase Database","src":"/assets/docs/supabase/pic3.png"},"children":[]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Create a new database webhook with the table you want to log the events with. You can select any "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"Events"}]},{"type":"text","value":" you wish to trigger. In this example below, I've selected "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"users"}]},{"type":"text","value":" table, and only log the "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"Insert"}]},{"type":"text","value":" event in SimpleLog."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"img","props":{"alt":"Create Supabase Database Webhooks","src":"/assets/docs/supabase/pic4.png"},"children":[]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Lastly, change the Method to "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"POST"}]},{"type":"text","value":", and paste in the URL field with the endpoint you copied just now.\nYou can also add "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"notify"}]},{"type":"text","value":" parameter to "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"true/false"}]},{"type":"text","value":". (default to "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"true"}]},{"type":"text","value":")."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"img","props":{"alt":"Create Supabase integration","src":"/assets/docs/supabase/pic5.png"},"children":[]}]},{"type":"element","tag":"h2","props":{"id":"-"},"children":[{"type":"text","value":"🎉 !"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Awesome! You've create an integration with Supabase, and it will notify you when there's a change in Supabase table!"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"create-integration","depth":2,"text":"Create Integration"},{"id":"connect-with-supabase","depth":2,"text":"Connect with Supabase"},{"id":"-","depth":2,"text":"🎉 !"}]}},"_type":"markdown","_id":"content:docs:plugins:supabase.md","_source":"content","_file":"docs/plugins/supabase.md","_extension":"md"}]