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/project/YOUR_PROJECT_ID/iframe"
width="100%"
height="600px"
frameborder="0"
allow="clipboard-write"
></iframe>
Customize the chat interface by adding URL parameters to your embed code:
Parameter | Description | Default Value |
---|---|---|
backgroundColor | Page background color | #ffffff |
cardBackground | Chat container background | #fafafa |
userMessageBg | User message bubble color | #e5e5e5 |
userMessageText | User message text color | #171717 |
aiMessageBg | AI message bubble color | #e5e5e5 |
aiMessageText | AI message text color | #171717 |
sendBtnColor | Send button color | #a855f7 |
sendBtnHoverColor | Send button hover color | #8b5cf6 |
chatHeader | Chat window title | Chat Assistant |
welcomeMessage1 | First welcome message | Welcome to the Demo Chatbot! |
welcomeMessage2 | Second welcome message | How can I help you today? |
aiAvatarUrl | Custom AI avatar image URL | Default icon |
Here's an example of a customized chat interface: