Find the perfect coding resourcesLearn more

Deploy AI apps with Cloudflare

ScrimbaScrimba
Recommended
Meet Your Instructor
Guil Hernandez avatar

Guil Hernandez

Instructor

Lifelong learner, enthusiastic about changing lives through tech. Enjoys water sports and exploring the South Florida waters.

50min

Completion

Certificate included

Format

Interactive coding

Free

What You'll Learn

Create and configure Cloudflare Workers for edge computing

Connect Cloudflare Workers to OpenAI API

Implement client-side data fetching strategies

Handle CORS and preflight requests for browser-server communication

Work with OpenAI API requests and responses

Overview

This course provides a detailed guide to utilizing Cloudflare for building and deploying secure and robust AI applications on the edge. The curriculum is designed to teach you how to effectively manage API requests using Cloudflare Workers, integrate with services like OpenAI and Polygon, and refine client-side data fetching. You'll also learn to handle CORS and preflight requests to ensure seamless browser-server communication. You will also learn how to set up an AI Gateway, which gives you more control over and visibility into how your app performs. Cloudflare Gateways gives you access to logs, caching, rate limiting and more. Finally, you'll deploy the app using Cloudflare Pages, and configure a custom domain.

Table of Contents
1
Learn secure & robust deployment strategies2:11
2
Create a Cloudflare worker4:23
3
Connect your worker to OpenAI4:27
4
Update client side data fetching4:11
5
Handle CORS and preflight requests4:28
6
OpenAI API requests & responses2:55
7
Create an AI Gateway4:52
8
Error handling4:48
9
Create & deploy the Polygon API worker4:38
10
Fetch the stock data4:09
11
Download files and push to GitHub1:24
12
Deploy your site with Cloudflare Pages4:23
13
Custom domains with Cloudflare2:15
14
Recap & next steps1:40

Share Your Experience

Sign in to leave a review and help others

No reviews yet. Be the first to review!