Skip to main content
Question

HTML Embed Code for Box File Viewer?

  • May 22, 2025
  • 3 replies
  • 38 views

Forum|alt.badge.img

Our enterprise uses Box and SharePoint. I would like to store my files (Powerpoint, PDF, video, etc.) on our Box domain, and then embed them in on SharePoint pages. Microsoft OneDrive, Youtube, and other platforms support such embed codes. Is this possible with Box?

3 replies

Forum|alt.badge.img

Yes, there are two ways to do this - Box Embed and Box View. Both can be embedded in an iFrame.

 

Box Embed allows you to embed the Box Webapp experience in your application.

https://developer.box.com/docs/box-embed

 

Box View allows you to embed previews of specific files in your application. https://developer.box.com/docs/box-view

 

Thanks for reaching out!


Forum|alt.badge.img

Thanks, Vmaker!

I followed your link to the Box View pages, but I'm confused about my next steps.

I just want a simple iframe-based document viewer for some files stored on our enterprise Box account (U.S. Forest Service).

Do I really need to bother with all these authentication keys and annotator tokens?

Any further guidance would be appreciated. Thanks again!,

Brian

 


Forum|alt.badge.img

 

Yes, these are important because they're what indicates you have access to the content that will be displayed. It cannot be displayed without authentication taking place. 

 

Do you have any specific questions we can help answer?