Beginner Guide
4 simple steps to deploy Cloudflare Workers from scratch
Create Cloudflare Account
Cloudflare is the largest CDN and cloud security platform, offering free Workers service.
Register Account
- Go to dash.cloudflare.com/sign-up
- Enter your email and password
- Verify your email
- Log in to the dashboard
Get API Token
- Log in to Cloudflare dashboard
- Click your avatar (top right) → My Profile
- Select API Tokens from the left menu
- Click Create Token
- Choose Edit Cloudflare Workers template, create and copy the token
Register a Domain
You need a domain to bind your Worker to a custom URL.
Where to buy a domain?
Recommended domain registrars:
- Namecheap - Affordable with frequent promotions
- GoDaddy - Largest registrar, supports multiple languages
- Cloudflare Registrar - Managed directly in CF, most convenient
Configure DNS (Connect Domain to CF)
Point your domain nameservers to Cloudflare to manage DNS through CF.
Update Nameservers
- Log in to your domain registrar (e.g. Namecheap)
- Find domain management → Nameservers
- Select Custom DNS
- Enter the two NS addresses provided by CF (e.g. xxx.ns.cloudflare.com)
Add DNS Records
- Log in to Cloudflare dashboard
- Select your domain → DNS
- Add A record: name = @, content = Workers URL
- Or add CNAME record to bind a custom domain
Deploy a Project
Everything is ready! Deploy your first Worker now!
- Browse or search for a project you want
- Click the "One-Click Deploy" button
- Log in with your CF account (if not already)
- Enter a Worker name and your API Token
- Wait for deployment, then visit your Worker!
FAQ
Is the Cloudflare Workers free tier enough?
Free tier includes 100K requests/day, enough for personal projects and small websites. Upgrade to paid ($5/mo+) if you need more.
Do I need to know how to code?
No! This platform offers one-click deployment. Just select a project and click deploy - no coding required.
How to bind my own domain after deployment?
After deployment, you get a xxx.workers.dev URL. To use your own domain, configure it in the CF dashboard.
Are deployed projects secure?
All projects run in your own CF account. Code is never uploaded to third-party servers. You can manage everything in the CF dashboard.