Go to supabase.com and click on "Sign in".
Enter your email and password, or create an account.
Click "New project" and give it a name.
Click "Create new project" to confirm.
Open the SQL Editor from the menu.
Paste the sample data for a blog. You can generate this code by asking an AI:
write me SQL queries to create the necessary tables and populate them with fake data
this is for a supabase demo
make it a blog
Here is what I have used: supabase_blog_demo.sql
Click "Run CTRL" to execute the SQL script.
Click "API Docs" to view the documentation.
Click "API settings" in the same section.
Copy the project URL and anon key for later use in Silex.
Open v3.silex.me in your browser.
Click on "GitLab.com" to authenticate.
Log in and authorize Silex to access your GitLab projects.
View your dashboard with all existing websites.
Click "Create website".
Enter a name like "Test supabase 1".
Click "Create".
Click on your site to enter the editor.
You are now inside the Silex editor.
Click to open the settings panel.
Click the "CMS" tab.
Click "Add data source".
Use the Supabase project URL as endpoint.
Add "/graphql/v1" to the end of the URL.
Click to configure headers.
Header name: apikey
— Value: your anon key from Supabase.
Click "Test connection".
You should see "connected".
Click "Apply" to save the configuration.
Now you can switch to the generic Silex CMS docs
And you probably will want to