Skip to main content
Edge Functions run on Supabase infrastructure and handle secure backend logic for your app. They are ideal for tasks like processing payments, calling external APIs, handling chat completions, or running server-side operations.
  • Execute on the server, not the user’s device
  • Can store and use secrets securely
  • Can be triggered from your UI or other backend processes

Create an Edge Function

Just describe what you need in Noah’s chat. Noah will generate the function, deploy it to Supabase, and wire it into your app automatically. Examples:
Create an edge function that processes payments using Stripe
Add a chat function that calls the OpenAI API
Make an edge function to send welcome emails when a user signs up
Noah will:
  • Write the function code
  • Prompt you for any required secrets (like API keys)
  • Deploy the function to your connected Supabase project
  • Connect it to the relevant part of your app

View Your Edge Functions

To see all deployed functions, open the Cloud tab in Noah’s toolbar and click Edge Functions in the sidebar.
Noah Cloud tab showing Edge Functions list with function names, URLs, deployment versions, and creation dates
You can see each function’s name, URL, deployment version, and when it was created.

Secrets Management

You can manage all your edge function secrets directly from Noah. Open the Cloud tab and click Secrets in the sidebar.
Noah Cloud tab showing Secrets panel with Add New Secret form and list of all stored secrets
From here you can:
  • Add a new secret — enter a name and value, then click + Add Secret
  • Add multiple secrets at once — click + Add Another to add more fields before saving
  • Delete a secret — click the trash icon next to any secret in the list
Secrets are stored securely in Supabase and are available to all your edge functions. Common secrets include API keys, database URLs, and service role keys.

Calling Edge Functions

Once deployed, Noah automatically connects the function to your app. You can also ask for specific triggers:
  • After user actions like signups, button clicks, or form submissions
  • On a schedule or from other backend processes
  • As part of a workflow (e.g., “When a user places an order, call the payment function”)

Troubleshooting

The edge function is deployed but not behaving correctly.
  • Describe the problem clearly in chat, for example: “The payment function is returning an error when users check out”
  • Noah will inspect the function, apply fixes, and redeploy it
Noah shows an error when trying to push the function to Supabase.
  • Make sure your Supabase project is still connected in the Cloud tab
  • Try disconnecting and reconnecting Supabase, then ask Noah to redeploy
You created a function but it does not appear in the Edge Functions panel.
  • Click the refresh button in the Edge Functions panel
  • Verify you are connected to the correct Supabase project