You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/guides/embed/box-embed.md
+15-3Lines changed: 15 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -196,7 +196,7 @@ To embed a hub in AI Chat mode:
196
196
6. Copy the embed code.
197
197
198
198
<Messagetype='notice'>
199
-
If you experience issues with the Box Hubs AI Chat embedding, regenerate the embed code to get the latest version by repeating steps 1-6 above.
199
+
If you experience issues with the Box Hubs AI Chat embedding, regenerate the embed code to get the latest version of the script by repeating steps 1-6 above.
200
200
</Message>
201
201
202
202
### Chat button
@@ -216,17 +216,29 @@ The **Chat button** mode supports the following parameters:
216
216
|`data-button-text`| No | Custom text to display on the chat button. Default: `Box AI`. This value is also used for the button's area label for accessibility. |
217
217
|`data-shared-link`| No | Optional shared link for hub access. If not provided, the chat loads only for users who are collaborators on the hub. |
218
218
219
+
The following example shows a fully configured chat button with all available parameters:
In **Chat widget** mode, the AI chat widget is embedded directly on page load. It is generated as an `iframe` and displays the full chat interface immediately.
222
234
223
-
<ImageFramecenterwidth="400"border>
235
+
<ImageFrameshadow>
224
236

225
237
</ImageFrame>
226
238
227
239
#### Chat widget parameters
228
240
229
-
The **Chat button** modesupports the following parameters:
241
+
When using the **Chat widget** mode, the generated `iframe`supports the following AI Chat-specific parameters in addition to standard `iframe` attributes:
0 commit comments