You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/frameworks/supabase-edge-functions-database-webhooks.mdx
+10-9Lines changed: 10 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -169,13 +169,11 @@ Follow the CLI instructions and once complete you should see your new edge funct
169
169
170
170
Next, in your Supabase dashboard, click on 'Table Editor' in the left-hand menu and create a new table. In this example we will call our table `skynet`.
171
171
172
-
173
-
[How to create a new table]()
174
-
172
+
[How to create a new table](/images/supabase-new-table-1.png)
175
173
176
174
Add a new column called `name` with the type `text`.
177
175
178
-
[How to add a new column]()
176
+
[How to add a new column](/images/supabase-new-table-2.png)
179
177
180
178
</Step>
181
179
@@ -185,11 +183,11 @@ By default, Supabase edge functions require a JSON Web Token (JWT) in the author
185
183
186
184
In your Supabase dashboard, click 'Project settings', then the 'API' tab, and copy the `anon``public` API key from the table.
187
185
188
-
[How to find your Supabase API keys]()
186
+
[How to find your Supabase API keys](/images/supabase-api-key.png)
189
187
190
188
Then, go to 'Database' click on 'Webhooks', and then click 'Create a new hook'.
191
189
192
-
[How to create a new webhook]()
190
+
[How to create a new webhook](/images/supabase-create-webhook-1.png)
193
191
194
192
Call the hook `edge-function-hook`:
195
193
@@ -200,7 +198,8 @@ Call the hook `edge-function-hook`:
200
198
5. Under 'Headers', add a new header with the key `Authorization` and the value `Bearer <your-api-key>` (replace `<your-api-key>` with the `anon``public` API key you copied earlier).
201
199
6. Click 'Create webhook'.
202
200
203
-
[How to configure the webhook]()
201
+
[How to create a new webhook 2](/images/supabase-create-webhook-2.png)
202
+
[How to create a new webhook 3](/images/supabase-create-webhook-3.png)
0 commit comments