Skip to main content
Question

How to use box with salesforce LWC

  • May 22, 2025
  • 1 reply
  • 56 views

Forum|alt.badge.img

Hi, I am new to BOX. In my LWC component, I need to use box API. want to store a large file (more than 20MB) to box from the salesforce LWC component. is it possible? 

-How to authenticate box in salesforce.

-which API helps me to transfer and store files to the box

sample application or video guideline or any suggestion will be helpful.

1 reply

Forum|alt.badge.img

Hello, 

We don't currently have video on the SFDC yet. We do have a SDK you can checkout. There are some examples in the docs section. 

I will add Salesforce has a String length limit of 6 million characters. Due to string bloat in the base64 encoding/decoding process, this results in an effective file size limit of 4.3 megabytes for synchronous Apex and 8.6 megabytes for asynchronous Apex.

Alex, Box Developer Advocate