Skip to content
Cloudflare Docs

Tutorials

View tutorials to help you get started with Workers.

Docs

Name Last Updated Type Difficulty
Query D1 using Prisma ORM 6 days ago 📝 Tutorial Beginner
Migrate from Netlify to Workers 6 days ago 📝 Tutorial Beginner
Migrate from Vercel to Workers 27 days ago 📝 Tutorial Beginner
Setup Fullstack Authentication with Next.js, Auth.js, and Cloudflare D1 about 1 month ago 📝 Tutorial Intermediate
Ingest data from a Worker, and analyze using MotherDuck about 1 month ago 📝 Tutorial Intermediate
Create a data lake of clickstream data about 1 month ago 📝 Tutorial Intermediate
Connect to a MySQL database with Cloudflare Workers about 2 months ago 📝 Tutorial Beginner
Set up and use a Prisma Postgres database 3 months ago 📝 Tutorial Beginner
Build a Voice Notes App with auto transcriptions using Workers AI 5 months ago 📝 Tutorial Intermediate
Protect payment forms from malicious bots using Turnstile 5 months ago 📝 Tutorial Beginner
Build a Retrieval Augmented Generation (RAG) AI 6 months ago 📝 Tutorial Beginner
Automate analytics reporting with Cloudflare Workers and email routing 6 months ago 📝 Tutorial Beginner
Build Live Cursors with Next.js, RPC and Durable Objects 7 months ago 📝 Tutorial Intermediate
Build an interview practice tool with Workers AI 7 months ago 📝 Tutorial Intermediate
Using BigQuery with Workers AI 7 months ago 📝 Tutorial Beginner
How to Build an Image Generator using Workers AI 7 months ago 📝 Tutorial Beginner
Use event notification to summarize PDF files on upload 7 months ago 📝 Tutorial Intermediate
Build a Comments API 8 months ago 📝 Tutorial Intermediate
Handle rate limits of external APIs 8 months ago 📝 Tutorial Beginner
Build an API to access D1 using a proxy Worker 8 months ago 📝 Tutorial Intermediate
Deploy a Worker 8 months ago 📝 Tutorial Beginner
Connect to a PostgreSQL database with Cloudflare Workers 9 months ago 📝 Tutorial Beginner
Build a web crawler with Queues and Browser Rendering 10 months ago 📝 Tutorial Intermediate
Recommend products on e-commerce sites using Workers AI and Stripe 11 months ago 📝 Tutorial Beginner
Custom access control for files in R2 using D1 and Workers 11 months ago 📝 Tutorial Beginner
Send form submissions using Astro and Resend 11 months ago 📝 Tutorial Beginner
Create a fine-tuned OpenAI model with R2 12 months ago 📝 Tutorial Intermediate
Build a Slackbot 12 months ago 📝 Tutorial Beginner
Use Workers KV directly from Rust about 1 year ago 📝 Tutorial Intermediate
Build a todo list Jamstack application about 1 year ago 📝 Tutorial Beginner
Send Emails With Postmark about 1 year ago 📝 Tutorial Beginner
Send Emails With Resend about 1 year ago 📝 Tutorial Beginner
Create a sitemap from Sanity CMS with Workers about 1 year ago 📝 Tutorial Beginner
Log and store upload events in R2 with event notifications about 1 year ago 📝 Tutorial Beginner
Create custom headers for Cloudflare Access-protected origins with Workers over 1 year ago 📝 Tutorial Intermediate
Create a serverless, globally distributed time-series API with Timescale over 1 year ago 📝 Tutorial Beginner
Deploy a Browser Rendering Worker with Durable Objects over 1 year ago 📝 Tutorial Beginner
GitHub SMS notifications using Twilio over 1 year ago 📝 Tutorial Beginner
Deploy a Worker that connects to OpenAI via AI Gateway over 1 year ago 📝 Tutorial Beginner
Tutorial - React SPA with an API 📝 Tutorial
Deploy a real-time chat application over 1 year ago 📝 Tutorial Intermediate
Build a QR code generator almost 2 years ago 📝 Tutorial Beginner
Securely access and upload assets with Cloudflare R2 almost 2 years ago 📝 Tutorial Beginner
OpenAI GPT function calling with JavaScript and Cloudflare Workers almost 2 years ago 📝 Tutorial Beginner
Handle form submissions with Airtable almost 2 years ago 📝 Tutorial Beginner
Connect to and query your Turso database using Workers about 2 years ago 📝 Tutorial Beginner
Generate YouTube thumbnails with Workers and Cloudflare Image Resizing about 2 years ago 📝 Tutorial Intermediate

Videos

Play

OpenAI Relay Server on Cloudflare Workers

In this video, Craig Dennis walks you through the deployment of OpenAI's relay server to use with their realtime API.

Deploy your React App to Cloudflare Workers

Learn how to deploy an existing React application to Cloudflare Workers.

Cloudflare Workflows | Introduction (Part 1 of 3)

In this video, we introduce Cloudflare Workflows, the Newest Developer Platform Primitive at Cloudflare.

Cloudflare Workflows | Batching and Monitoring Your Durable Execution (Part 2 of 3)

Workflows exposes metrics such as execution, error rates, steps, and total duration!

Cloudflare Workflows | Schedule and Sleep For Your Apps (Part 3 of 3)

Cloudflare Workflows allows you to initiate sleep as an explicit step, which can be useful when you want a Workflow to wait, schedule work ahead, or pause until an input or other external state is ready.

Building Front-End Applications | Now Supported by Cloudflare Workers

You can now build front-end applications, just like you do on Cloudflare Pages, but with the added benefit of Workers.

Build a private AI chatbot using Meta's Llama 3.1

In this video, you will learn how to set up a private AI chat powered by Llama 3.1 for secure, fast interactions, deploy the model on Cloudflare Workers for serverless, scalable performance and use Cloudflare's Workers AI for seamless integration and edge computing benefits.

How to Build Event-Driven Applications with Cloudflare Queues

In this video, we demonstrate how to build an event-driven application using Cloudflare Queues. Event-driven system lets you decouple services, allowing them to process and scale independently.

Welcome to the Cloudflare Developer Channel

Welcome to the Cloudflare Developers YouTube channel. We've got tutorials and working demos and everything you need to level up your projects. Whether you're working on your next big thing or just dorking around with some side projects, we've got you covered! So why don't you come hang out, subscribe to our developer channel and together we'll build something awesome. You're gonna love it.

AI meets Maps | Using Cloudflare AI, Langchain, Mapbox, Folium and Streamlit

Welcome to RouteMe, a smart tool that helps you plan the most efficient route between landmarks in any city. Powered by Cloudflare Workers AI, Langchain and Mapbox. This Streamlit webapp uses LLMs and Mapbox off my scripts API to solve the classic traveling salesman problem, turning your sightseeing into an optimized adventure!

Use Vectorize to add additional context to your AI Applications through RAG

A RAG based AI Chat app that uses Vectorize to access video game data for employees of Gamertown.

Build Rust Powered Apps

In this video, we will show you how to build a global database using workers-rs to keep track of every country and city you’ve visited.

Stateful Apps with Cloudflare Workers

Learn how to access external APIs, cache and retrieve data using Workers KV, and create SQL-driven applications with Cloudflare D1.

Learn Cloudflare Workers - Full Course for Beginners

Learn how to build your first Cloudflare Workers application and deploy it to Cloudflare's global network.

Learn AI Development (models, embeddings, vectors)

In this workshop, Kristian Freeman, Cloudflare Developer Advocate, teaches the basics of AI Development - models, embeddings, and vectors (including vector databases).

Optimize your AI App & fine-tune models (AI Gateway, R2)

In this workshop, Kristian Freeman, Cloudflare Developer Advocate, shows how to optimize your existing AI applications with Cloudflare AI Gateway, and how to finetune OpenAI models using R2.

How to use Cloudflare AI models and inference in Python with Jupyter Notebooks

Cloudflare Workers AI provides a ton of AI models and inference capabilities. In this video, we will explore how to make use of Cloudflare’s AI model catalog using a Python Jupyter Notebook.