• EN
  • Supabase CMS integration with Silex

Starting a new thread for walking through Supabase integration with Silex

What I've done so far, using the Wordpress integration guide as a starting point:
A. Created Supabase account and linked to GitHub project

  1. Sign in with GitHub, SSO, or email/password

B. Create a new project

  1. Choose “New Project” on the Dashboard
  2. If an organization already exists, choose that organization or create a new one along with the project. (no organization existed so I created a new one)
  3. Fill in the Organization, Project Name, Database Password, and server/project region.
  4. Security Options and Advanced Configuration Options are available for advanced users, but are not necessary to configure.
  5. When all settings are chosen, “Create new project”
  6. Options to configure the project are now available.

C. Connected GitHub repository to Supabase
For this I just followed the prompts from GitHub and it was pretty self-explanatory, I forgot to document the individual steps.

Here's where I got stuck. I tried to get the Endpoint information to connect to Silex

  1. In Supabase, open Project Settings → Configuration → API
  2. Copy URL for database source (defaults to Primary Database)
    (then it seemed like the next steps would line up with steps 18-40 of the Wordpress documentation)
  3. Return to Silex, open a new project (or add into to an existing one)
  4. Open Settings
  5. Click “CMS”
  6. Add new data source
    6a. Add label
    6b. Paste URL from Supabase into the “URL” field in Silex
    6c. Click “Test connection”

This is where it failed, I got the error:
"Status: ✗ Unknown GraphQL connection failed: GraphQL introspection failed: Failed to fetch"
I've tried to troubleshoot it in Supabase but I don't know what I'm missing.

    booksthatburn could you please paste the api url so that I can make sure it is a graphql api

    Also mabe you need to add headers for auth?

    booksthatburn Oh but that's not the URL of the API
    I did a quick search and it may be https://<your-project>.supabase.co/graphql/v1

    That's the only thing I can find under API, if that's not it then I don't know where to look.

    did you try https://<your-project>.supabase.co/graphql/v1 ?

    2 months later
    Write a Reply...