Files
ragflow/docs/guides/agent/embed_into_web_pages.md

26 lines
998 B
Markdown
Raw Permalink Normal View History

---
sidebar_position: 5
title: Embed into Web Pages
sidebar_label: Embed into Web Pages
slug: /embed_into_web_pages
sidebar_custom_props: {
categoryIcon: RagAiAgent
}
---
# Embed into Web Pages
## Embed Agent Via Webpage
You can embed the Agent into third-party web pages using iframe.
Prerequisite: You must obtain an API Key.
Steps:
1. On the Agent page, click the target Agent to open its editing page.
2. Click **Manage > Embed Webpage** in the upper right corner of the canvas to open the iframe window.
![Embed Agent into webpage menu](https://raw.githubusercontent.com/infiniflow/ragflow-docs/main/images/embed_agent_into_webpage.jpg)
3. Copy the iframe code and embed it into your webpage.
![Embed an Agent web page](https://raw.githubusercontent.com/infiniflow/ragflow-docs/main/images/embed_an_agent_web_page.jpg)
> **Note:** Currently, only **Workflow** agents can be embedded in web pages. **Ingestion pipeline** and **Compilation Operator** agents do not support web embedding.