您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

embed_agent_into_webpage.md 767B


sidebar_position: 3

slug: /embed_agent_into_webpage

Embed agent into webpage

You can use iframe to embed an agent into a third-party webpage.
:::caution WARNING If your agent’s Begin component takes a variable, you cannot embed it into a webpage. :::
  1. Before proceeding, you must acquire an API key; otherwise, an error message would appear.
  2. On the Agent page, click an intended agent > Edit to access its editing page.
  3. Click Embed into webpage on the top right corner of the canvas to show the iframe window:

agent_embed

  1. Copy the iframe and embed it into a specific location on your webpage.