Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

5.5 KB
Raw Blame
---
title: 'Edge Functions: Deploy from the Dashboard + Deno 2.1'
description: 'You can create, test, and deploy Edge Functions directly from the Supabase Dashboard.'
author: saxon_fletcher,nyannyacha,laktek
imgSocial: launch-week-14/day-2-edge-functions-dashboard/og.png
imgThumb: launch-week-14/day-2-edge-functions-dashboard/thumb.png
categories:
  - launch-week
  - product
tags:
  - launch-week
  - functions
date: '2025-04-01T00:00:01'
toc_depth: 3
launchweek: '14'
---

Now you can create, test, edit, and deploy [Edge Functions](/edge-functions) directly from the Supabase Dashboard. We're also releasing Deno 2.1 Preview today but more on that later.

<div className="video-container mb-8">
  <iframe
    className="w-full"
    src="https://www.youtube-nocookie.com/embed/Pn7xyTbsxPI"
    title="Edge Functions: Deploy from the Dashboard + Deno 2.1"
    allow="accelerometer; autoplay; clipboard-write; encrypted-media; fullscreen; gyroscope; picture-in-picture; web-share"
    allowfullscreen
  />
</div>

## Creating Edge Functions from the Supabase Dashboard

To write an Edge Functions previously, you had to install the [Supabase CLI](/features/cli), spin up Docker, and then set up your editor to use Deno. Those steps are no longer necessary. The Edge Functions editor in the Dashboard has built-in syntax highlighting and type-checking for Deno and Supabase-specific APIs.

<Img
  alt="Create a Function from Dashboard"
  src={{
    dark: '/images/blog/launch-week-14/day-2-edge-functions-dashboard/create-function.png',
    light: '/images/blog/launch-week-14/day-2-edge-functions-dashboard/create-function.png',
  }}
/>

The Edge Functions editor includes templates for common use cases, such as Stripe WebHooks, OpenAI proxying, uploading files to Supabase Storage, and sending emails.

<Img
  alt="Function Templates"
  src={{
    dark: '/images/blog/launch-week-14/day-2-edge-functions-dashboard/function-templates.png',
    light: '/images/blog/launch-week-14/day-2-edge-functions-dashboard/function-templates.png',
  }}
/>

Once a Function has been deployed you can make edits directly within the Dashboard, and if you get stuck you can summon an inline [AI Assistant](/features/ai-assistant) to explain, debug or write code.

<Img
  alt="Edit Functions from Dashboard"
  src={{
    dark: '/images/blog/launch-week-14/day-2-edge-functions-dashboard/edit-function.png',
    light: '/images/blog/launch-week-14/day-2-edge-functions-dashboard/edit-function.png',
  }}
/>

## Downloading Edge Functions

You can download Edge Functions source code via Supabase CLI using `supabase functions download FUNCTION_NAME` or by clicking the Download button in the dashboard.

<Img
  alt="Download Functions from Dashboard"
  src={{
    dark: '/images/blog/launch-week-14/day-2-edge-functions-dashboard/download-function.png',
    light: '/images/blog/launch-week-14/day-2-edge-functions-dashboard/download-function.png',
  }}
/>

<Admonition type="caution">

The Dashboard's Edge Function editor currently does not support versioning or rollbacks. We recommend using it only for quick testing and prototypes. When you’re ready to go to production, store Edge Functions code in a source code repository (e.g. git) and deploy it using one of the [CI integrations](https://supabase.com/docs/guides/functions/deploy).

</Admonition>

## Testing Edge Functions from the Supabase Dashboard

We are introducing a built-in tool for testing your Edge Functions from the Supabase Dashboard. You can execute your Edge Function with different request payloads, headers, and query parameters. The built-in tester returns the response status, headers, and body.

<Img
  alt="Test Functions from Dashboard"
  src={{
    dark: '/images/blog/launch-week-14/day-2-edge-functions-dashboard/test-function.png',
    light: '/images/blog/launch-week-14/day-2-edge-functions-dashboard/test-function.png',
  }}
/>

With the built-in editor and tester, you have a streamlined workflow for creating, testing, and refactoring your Edge Functions without leaving the Supabase Dashboard.

## Deploying Edge Functions no longer requires Docker

By popular request, you can now deploy Edge Functions from the Supabase CLI with the `--use-api` flag, which will not use Docker. We will make this the default behavior in future releases (with a `--use-docker` flag as a fallback option.)

```bash
supabase functions deploy MY_FUNCTION --use-api
```

## New APIs for Deploying Edge Functions

The ability to deploy without Docker in both the Edge Functions editor and Supabase CLI are made possible by new APIs we introduced to deploy and update Edge Functions. These APIs are publicly available for you to build custom integrations and workflows.

You can check [the Changelog announcement](https://github.com/orgs/supabase/discussions/33720) for more details and official references to these API endpoints.

## Deno 2.1 support

Last, but not least, we have added Deno 2.1 support for Supabase Edge Runtime. With Deno 2.1, you can use built-in Deno commands to scaffold a new project, manage dependencies, run tests, and lints.

Check [our guide on how to start using Deno 2.1](https://github.com/orgs/supabase/discussions/34054) tooling for your Edge Functions.

## Conclusion

These changes to Supabase Edge Functions make it easier and more accessible for all developers to build powerful functionality into their applications.

- Read the [Edge Functions documentation](https://supabase.com/docs/guides/functions) to learn more
- [Sign up for Supabase](https://supabase.com/dashboard/sign-up) and get started today