mirror of
https://github.com/lobehub/lobehub.git
synced 2026-09-20 04:56:13 +08:00
3dfc86fd0f
* feat: Redesign doc * chore: uopdate site * chore: uopdate site * chore: uopdate site * chore: uopdate site * chore: uopdate site * feat: Uopdate content * chore: New doc * chore: Update content * chore: Update content * chore: add images * chore: add images * chore: add images * chore: add images * feat: Add more images * feat: Add more images * fix: Cannot reach end * chore: Update content * chore: Update content * chore: Update content * chore: Update content * chore: Update content * Revise README content and structure Updated README to reflect changes in project description and removed outdated notes. * Revise 'Getting Started' and TOC in README Updated the 'Getting Started' section and modified the table of contents. * chore: Update content * Revise README structure and content Updated the Getting Started section and removed the Table of Contents. Adjusted the Local Development instructions. * Remove custom themes section from README Removed section about custom themes from README. * Update README.md * Refine introduction and highlight cloud version Updated wording for clarity and added recommendation for cloud version. * chore: Update content * chore: Update content * chore: Update content * chore: Update content * chore: Update content * chore: Update content * chore: Update content * fix: add missing translation * 🔀 chore: Move README changes to feat/readme branch Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * fix: add missing translation * chore: update cdn * docs: add migration guide from v1.x local database to v2.x and update help sections Signed-off-by: Innei <tukon479@gmail.com> * fix: add missing translation * fix: add missing images * fix: add missing changelogs * fix: add missing changelogs * fix: add missing changelogs * fix: add missing changelogs * fix: add missing changelogs * style: update cdn --------- Signed-off-by: Innei <tukon479@gmail.com> Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> Co-authored-by: canisminor1990 <i@canisminor.cc> Co-authored-by: Innei <tukon479@gmail.com>
61 lines
2.5 KiB
Plaintext
61 lines
2.5 KiB
Plaintext
---
|
||
title: Using Cloudflare Workers AI in LobeHub
|
||
description: >-
|
||
Learn how to configure and use the Cloudflare Workers AI API Key in LobeHub to
|
||
start chatting and interacting.
|
||
tags:
|
||
- LobeHub
|
||
- Cloudflare
|
||
- Workers AI
|
||
- Provider
|
||
- API Key
|
||
- Web UI
|
||
---
|
||
|
||
# Using Cloudflare Workers AI in LobeHub
|
||
|
||
<Image cover src={'/blog/assets1837dd567f75fcc083553a1078c0f088.webp'} />
|
||
|
||
[Cloudflare Workers AI](https://www.cloudflare.com/developer-platform/products/workers-ai/) is a service that integrates AI capabilities into the Cloudflare Workers serverless computing platform. Its core advantage lies in delivering fast and scalable compute power through Cloudflare’s global network, significantly reducing operational overhead.
|
||
|
||
This guide will walk you through how to use Cloudflare Workers AI in LobeHub:
|
||
|
||
<Steps>
|
||
### Step 1: Obtain a Cloudflare Workers AI API Key
|
||
|
||
- Visit the [Cloudflare website](https://www.cloudflare.com/) and sign up for an account.
|
||
- Log in to the [Cloudflare Dashboard](https://dash.cloudflare.com/).
|
||
- In the left-hand menu, navigate to `AI` > `Workers AI`.
|
||
|
||
<Image alt={'Cloudflare Workers AI'} inStep src={'/blog/assetsadbc0db573a0f581b22c30ecf243f721.webp'} />
|
||
|
||
- Under the "Use REST API" section, click the `Create Workers AI API Token` button.
|
||
- In the sidebar that appears, copy and save your `API Token`.
|
||
- Also copy and save your `Account ID`.
|
||
|
||
<Image alt={'Cloudflare Workers AI API Token'} inStep src={'/blog/assets620c308554394e72034d27ea743f8bff.webp'} />
|
||
|
||
<Callout type={'warning'}>
|
||
- Be sure to store your API token securely, as it will only be shown once. If you lose it, you’ll need to generate a new one.
|
||
</Callout>
|
||
|
||
### Step 2: Configure Cloudflare Workers AI in LobeHub
|
||
|
||
- Open the `Settings` panel in LobeHub.
|
||
- Under `AI Providers`, locate the `Cloudflare` configuration section.
|
||
|
||
<Image alt={'Enter Access Token'} inStep src={'/blog/assets5374759bfe39ca7fc864e72ddfce98d0.webp'} />
|
||
|
||
- Enter the `API Token` you obtained.
|
||
- Enter your `Account ID`.
|
||
- Choose a Cloudflare Workers AI model for your AI assistant to start chatting.
|
||
|
||
<Image alt={'Select Cloudflare Workers AI model and start chatting'} inStep src={'/blog/assets65003d69fa745e7cac376a79ea4bb742.webp'} />
|
||
|
||
<Callout type={'warning'}>
|
||
You may incur charges from the API provider during usage. Please refer to Cloudflare’s pricing policy for details.
|
||
</Callout>
|
||
</Steps>
|
||
|
||
You’re all set! You can now start using Cloudflare Workers AI models for conversations in LobeHub.
|