Skip to content

Commit c883460

Browse files
Merge branch 'DDOC-1445-Embeddable-Hubs-AI-Chat' of github.com:box/developer.box.com into staging
2 parents 069ba9e + 0b84db0 commit c883460

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

content/guides/embed/box-embed.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ If you want to customize Box Embed even further, you can do it programmatically.
8484
width="{pixels}"
8585
height="{pixels}"
8686
frameborder="0"
87-
allow="local-network-access; clipboard-read; clipboard-write"
87+
<!-- Optionally replace * with your enterprise-specific domain (for example, mycompanydomain.app.box.com) -->
88+
allow="local-network-access *; clipboard-read *; clipboard-write *"
8889
allowfullscreen
8990
webkitallowfullscreen
9091
msallowfullscreen>
@@ -220,7 +221,7 @@ The following example shows a fully configured chat button with all available pa
220221

221222
```html
222223
<script
223-
src="https://cdn01.boxcdn.net/embeddable-ai-chat-script/2.7.0/box_integrations_ai_chat_button.js"
224+
src="https://cdn01.boxcdn.net/embeddable-ai-chat-script/2.8.0/box_integrations_ai_chat_button.js"
224225
data-hub-id="123456789"
225226
data-custom-box-domain="mycompanydomain.app.box.com"
226227
data-shared-link="abcdefghijklmnopqrst123"
@@ -254,7 +255,8 @@ The following example shows a fully configured chat widget with all available pa
254255
width="800"
255256
height="550"
256257
frameBorder="0"
257-
allow="local-network-access; clipboard-read; clipboard-write;"
258+
<!-- Optionally replace * with your enterprise-specific domain (for example, mycompanydomain.app.box.com) -->
259+
allow="local-network-access *; clipboard-read *; clipboard-write *"
258260
allowfullscreen
259261
webkitallowfullscreen
260262
msallowfullscreen>
@@ -263,7 +265,7 @@ The following example shows a fully configured chat widget with all available pa
263265

264266
#### Using the close button
265267

266-
When embedding the Box AI chat directly via an `iframe` (without using the provided script), you can enable a close button within the chat interface that communicates with your parent application via `postMessage`.
268+
When embedding the Box AI chat directly with `iframe` (without using the provided script), you can enable a close button within the chat interface that communicates with your parent application via `postMessage`.
267269

268270
##### Enabling the close button
269271

0 commit comments

Comments
 (0)