Skip to content

Commit 3b28236

Browse files
authored
Describe how to connect to Supabase in Nordcraft (#511)
1 parent e21c0c6 commit 3b28236

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

-98.7 KB
Loading
2.94 KB
Loading

‎docs/connecting-data/services/index.md‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,12 @@ You can add services in Nordcraft in two ways.
4444
To connect to Supabase:
4545

4646
1. Enter a name for the service (defaults to "Supabase")
47-
2. Provide the following credentials:
48-
- **Project URL**: The URL of your Supabase project
49-
- **Anon public key**: The anonymous/public API key for your project
47+
2. Press "Connect Supabase" to authenticate with Supabase
48+
3. After returning to the Nordcraft editor, pick the project you want to connect to from the list of available Supabase projects
5049

51-
You can find these credentials in your Supabase project settings. Once the Supabase service is added, Nordcraft will validate the connection to ensure it can access the API documentation.
50+
By default, Supabase doesn't expose its OpenAPI documentation. Therefore, it's necessary to authenticate through Nordcraft's Supabase OAuth App. This will store a cookie in your browser, allowing Nordcraft to access the OpenAPI documentation for your Supabase project.
51+
52+
If you want to use GraphQl with Supabase, you must [enable the GraphQL extension](https://supabase.com/docs/guides/database/extensions/pg_graphql#enable-the-extension) and [allow introspection queries](https://github.com/orgs/supabase/discussions/46320).
5253

5354
:::tip
5455
To get up and running quickly with Supabase, including auth, realtime, and file uploads, install the [Supabase Connect](https://supabase_connect.nordcraft.site/) package in your project, or create a new website using the [Nordbase](https://nordbase.nordcraft.site) template, which is a pre-configured template that demonstrates all functionality of the Supabase Connect package.

0 commit comments

Comments
 (0)