To generate a preview embed link for a file, that file needs to be uploaded to Box to be converted for us. Conversion is triggered automatically upon upload (for most document types) or on first preview (for video and 3D) and no explicit action is required by the user to convert once the file is uploaded. In either case, conversion is triggered only once per file, and the generated assets are available for as long as the original file is present in Box.
Authenticate your application
Once an authenticated client has been created, it may be used to upload files directly to the app token application to be converted.
Upload files to Box