+ Deploy your code to Cloudflare and paste your deployment's endpoint: +
++ Need help deploying? See{" "} + + Cloudflare Workers deployment documentation + + . +
+ > + ); +} diff --git a/frontend/src/app/dialogs/start-with-template-frame.tsx b/frontend/src/app/dialogs/start-with-template-frame.tsx new file mode 100644 index 0000000000..eae23b4efd --- /dev/null +++ b/frontend/src/app/dialogs/start-with-template-frame.tsx @@ -0,0 +1,42 @@ +import { useState } from "react"; +import { match } from "ts-pattern"; +import { type DialogContentProps, Frame } from "@/components"; +import { type Provider, TemplateProviders } from "../template-providers"; +import ConnectCloudflareFrameContent from "./connect-cloudflare-frame"; +import ConnectQuickVercelFrameContent from "./connect-quick-vercel-frame"; + +interface ConnectAwsFrameContentProps extends DialogContentProps { + template: string; +} + +export default function StartWithTemplateFrame({ + template, + onClose, +}: ConnectAwsFrameContentProps) { + const [provider, setProvider] = useState+ If you have not created a project, see the{" "} + + Cloudflare Workers quickstart guide + + . +
+Install the RivetKit Cloudflare Workers package:
+
+ Configure your wrangler.json with the required Durable Objects and KV bindings:
+
+ You'll need to create a KV namespace using{" "}
+ wrangler kv namespace create ACTOR_KV{" "}
+ and replace YOUR_KV_NAMESPACE_ID with the generated ID.
+
Create your actor registry:
+Create the Cloudflare Workers handler:
+- Start a new RivetKit project with Rivet Cloud. Use - one of our templates to get started quickly. -
- -- Connect your RivetKit application to Rivet Cloud. - Use your cloud of choice to run Rivet Actors. -
- -