Skip to main content
1

Login and navigate to scripting

Login to bunny.net dashboard, then navigate to Edge Platform > Scripting and click Add Script.
2

Select a script type

Provide a name for your script and select a script type:
Select Standalone type and then Default standalone template.
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
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.
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.
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.
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.
Published changes take effect immediately.
Last modified on August 17, 2026