你需要一个已发布的 Agent,以及 Agent → 发布 → 网站挂件里的嵌入代码。在 Webflow 上添加自定义代码需要付费的网站套餐。
<script src="https://evasay.com/voice-widget.js" data-agent="AGENT_SLUG" async></script>
只想在某一页显示 Agent,就把代码粘贴到那一页设置的 Custom code → Before </body> tag 里。
在 Agent → 发布 → 允许的网站里,填上网站会用到的每个网址,例如 https://your-site.webflow.io 和 https://www.example.com。之后你的网页就能把变量和函数传给 Agent。