> ## Documentation Index
> Fetch the complete documentation index at: https://bunny.net/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Create and deploy your first Edge Script in minutes.

**1. Login and navigate to scripting**

Login to [bunny.net dashboard](https://dash.bunny.net/auth/login?pk_buttonlocation=menu), then navigate to **Edge Platform** > **Scripting** and click **Add Script**.

![](https://mintcdn.com/bunnynet-cb9733c2/GYo51EPI6zuebYhU/images/docs/0b5bff4662563e07b358a70392b77a8be85f58aa8e1cd21968b2dfef2f88b34e-image.png?fit=max\&auto=format\&n=GYo51EPI6zuebYhU\&q=85\&s=1a7858cf61f540e09fb1ca3f243e46fe)

**2. Select a script type**

Provide a name for your script and select a script type:

**Standalone**

Select **Standalone** type and then **Default standalone** template.

![](https://mintcdn.com/bunnynet-cb9733c2/L57MhyfuZyBVCcmn/images/docs/68f18ff3816d5947d7acd499028840c65c3e6c7dc5461a8e81d1f8807cc3548e-image.png?fit=max\&auto=format\&n=L57MhyfuZyBVCcmn\&q=85\&s=571282cd58ea3b9eada68d10162e1bf6)

Standalone scripts handle HTTP requests directly at the edge, without an origin server behind them. Use them for REST APIs, UI applications, and data processing.

[Learn more about standalone scripts](/docs/scripting/standalone/overview)

**Middleware**

Select **Middleware** type and then **Default middleware** template.

Middleware scripts intercept and modify requests and responses as they flow through the CDN. Use them for authentication, header manipulation, and content transformation.

[Learn more about middleware scripts](/docs/scripting/middleware/overview)

Click **Add script**.

**3. Explore the script editor**

A pull zone is created for your script, so it is reachable from the outside through a unique URL. The script starts with a placeholder function that returns "Hello from" when you open that URL.

![](https://mintcdn.com/bunnynet-cb9733c2/kcU5tb-Sz5318NF5/images/docs/da2454f3d77252f3af19246fb567d36fcd0d40a767a564e238f3f481d3f4fcb5-image.png?fit=max\&auto=format\&n=kcU5tb-Sz5318NF5\&q=85\&s=6a1641ff4c0ea2b5a5b32f7039e3964e)

The bottom left panel is a preview pane where you can enter a URL and run the script currently open in the editor. Running it here doesn't change the deployed script, so you can test your code before publishing it.

![](https://mintcdn.com/bunnynet-cb9733c2/GYo51EPI6zuebYhU/images/docs/23d1b7ac94614fa713ed6fb811bc5284d46539c1c2b8b0019d7ca6a344c9f7c0-image.png?fit=max\&auto=format\&n=GYo51EPI6zuebYhU\&q=85\&s=44d20a19d7391b42db2dc2bd119a5e44)

On the bottom right, the dashboard includes a logs pane. This pane captures and displays output from any `console.log` calls made by the script when it is run in the preview pane.

![](https://mintcdn.com/bunnynet-cb9733c2/kcU5tb-Sz5318NF5/images/docs/d5c773703340b197b87dbc664e48ae7fc0eae31d410d70ad2fca4acbb07994da-image.png?fit=max\&auto=format\&n=kcU5tb-Sz5318NF5\&q=85\&s=08e18959e76f9eaed2d959e38ab6ea7a)

Use it to trace what the script did on the last run and to confirm it behaved the way you expected.

**4. Edit and test your script**

Replace the placeholder with your own code, then open the script URL to check
that your changes work.

**5. Save and publish**

When you are happy with your script, click **Save** and **Publish**.

![](https://mintcdn.com/bunnynet-cb9733c2/L57MhyfuZyBVCcmn/images/docs/a3a37ccbb4b2fbbad74ad195292713e3875f727a99bb2bba411cc3e7c11e977a-image.png?fit=max\&auto=format\&n=L57MhyfuZyBVCcmn\&q=85\&s=6fba8fe7c300ae3b8faf53087b80de9d)

Published changes take effect immediately.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.