Version: 0.1.0 | Bundle Size: ~2.1MB (minified)
Include the AgentForge Chat Widget in your project with a single script tag:
<script src="https://YOUR-CLOUDFLARE-PAGES-URL/agentforge-chat.min.js"></script>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>My App with AgentForge Chat</title>
<script src="https://YOUR-CLOUDFLARE-PAGES-URL/agentforge-chat.min.js"></script>
</head>
<body>
<!-- Your app content -->
<!-- AgentForge Chat Widget -->
<agentforge-chat
host_url="https://your-agentforge-instance.com"
flow_id="your-flow-id"
api_key="your-api-key"
window_title="Support Chat"
chat_position="bottom-right"
width="400"
height="600"
></agentforge-chat>
</body>
</html>
/agentforge-chat.min.js - Minified production bundleSee the full documentation for all available configuration options:
host_url - AgentForge server URL (required)flow_id - Flow identifier (required)api_key - API authentication key (required)window_title - Chat window titlechat_position - Widget position on screen