Embed AI chat functionality directly into your website using our iframe integration.
Find your unique embed code in your project settings. Each project has its own iframe code that connects to your specific documents and configurations.
<iframe
src="https://filebrain.pro/embed/chat/YOUR_PROJECT_ID/"
width="100%"
height="600px"
frameborder="0"
allow="clipboard-write"
></iframe>
Customize the chat interface by adding URL parameters to your embed code:
Parameter | Description | Example |
---|---|---|
theme | Set light or dark theme | theme=dark |
welcome | Custom welcome message | welcome=Hello! |
placeholder | Input placeholder text | placeholder=Ask+me+anything |
Add the iframe code to your website's HTML where you want the chat interface to appear. The chat will automatically adapt to its container's width.
<iframe
src="https://filebrain.pro/embed/chat/YOUR_PROJECT_ID/"
width="100%"
height="600px"
frameborder="0"
allow="clipboard-write"
></iframe>