Dashboard
Follow this guide to create a Workers application using the Cloudflare dashboard.
Sign up for a Cloudflare account ↗ if you have not already.
To create a Workers application:
- Log in to the Cloudflare dashboard ↗ and select your account.
- Go to Workers & Pages.
- Select Create application.
- Select a template or Create Worker.
- Review the provided code and select Deploy.
- Preview your Worker at its provided
workers.dev
subdomain.
Editing in the dashboard is helpful for simpler use cases.
Once you have created your Worker script, you can edit and deploy your Worker using the Cloudflare dashboard:
- Log in to the Cloudflare dashboard ↗ and select your account.
- Select Workers & Pages.
- Select your application.
- Select Edit Code.
To develop more advanced applications or implement tests, start working in the Wrangler CLI.
- Run the following command, replacing the value of
[<DIRECTORY>]
which the location you want to put your Worker Script.
After you run this command - and work through the prompts - your local changes will not automatically sync with dashboard. So, once you download your script, continue using the CLI.