Opening AWS-S3 documents

How to integrate Zoho Office with AWS - S3 to edit S3 Files?

 Preview or Edit AWS S3 file in your Web Application 

Web applications Office files that are hosted in AWS S3 server can use Zoho Office editors to allow view or collaborative edit of those documents from your web application. Otherwise users of your app have to download the documents to local computers.Downloading the file to local machines not only affects user experience, but also mandates installed software to open or edit those files. Integrating a third party solution will provide seamless experience to users.


 Integration With Zoho Office Editors 

Zoho Office Integrator offers an easy and secure way to integrate Office editors into your web applications and allows you to work with Office suite files inside your application. see video

Zoho Office Integrator provides an API to store your document in Zoho servers temporarily and gives you a private link to that document with which one can collaboratively view, edit or review documents. You can also control permission of each document session, like disabling print or download options using parameter configuration.

Steps to Integrate AWS: 

Prerequisites:  

  1. Create APIKey in Zoho Office Integrator dashboard

  2. Generate AWS access key and secret access key for your S3 bucket

  3. Download appropriate AWS SDK for your application.

 

 Note: In this article python language used for demo purpose. You can use language of your choice in your application. 

 Step1: Generate S3 pre-sign url to upload file to Zoho Server   


You need to generate AWS pre-signed url for your file in S3 bucket. Using this url you can upload the document to Zoho server and get a temporary private session URL in response. Use this python script to generate pre-signed get url from S3.


 In-case if you need to edit the document, in addition to above step you need to generate a pre-sign post url, using which edited content will be save back to your S3 server. This script will help you generate the presign-post url and it’s parameters. 

 Step2: Create a document session url using Zoho Office Integrator   

You need to provide the pre-sign get url(generated in step1) in the “url” parameter of the preview/edit api’s.

This API will store the document session temporarily in Zoho server and provide a session URL to edit/preview the document.

You can use the document session url inside your web application in an iframe to preview or edit the file.

 

In-case if you open the document for editing, then you have to pass the presign-post url result value in “callback_settings” parameter of Office Integrator. You need to pass presign-post response parameter values in “save_url_params” 

If you provide callback settings while creating document sessions, users will have save options in Zoho editors. Whenever users hit’s save button in the Zoho editor, the latest document content will be directly saved back to your S3 bucket.

 

 



    Access your files securely from anywhere

      Zoho CRM Training Programs

      Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

      Zoho CRM Training
        Redefine the way you work
        with Zoho Workplace

          Zoho DataPrep Personalized Demo

          If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

          Zoho CRM Training

            Create, share, and deliver

            beautiful slides from anywhere.

            Get Started Now


              Zoho Sign now offers specialized one-on-one training for both administrators and developers.

              BOOK A SESSION









                                            You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                Manage your brands on social media

                                                  Zoho Desk Resources

                                                  • Desk Community Learning Series


                                                  • Digest


                                                  • Functions


                                                  • Meetups


                                                  • Kbase


                                                  • Resources


                                                  • Glossary


                                                  • Desk Marketplace


                                                  • MVP Corner


                                                  • Word of the Day


                                                    Zoho Marketing Automation

                                                      Zoho Sheet Resources

                                                       

                                                          Zoho Forms Resources


                                                            Secure your business
                                                            communication with Zoho Mail


                                                            Mail on the move with
                                                            Zoho Mail mobile application

                                                              Stay on top of your schedule
                                                              at all times


                                                              Carry your calendar with you
                                                              Anytime, anywhere




                                                                    Zoho Sign Resources

                                                                      Sign, Paperless!

                                                                      Sign and send business documents on the go!

                                                                      Get Started Now




                                                                              Zoho TeamInbox Resources



                                                                                      Zoho DataPrep Resources



                                                                                        Zoho DataPrep Demo

                                                                                        Get a personalized demo or POC

                                                                                        REGISTER NOW


                                                                                          Design. Discuss. Deliver.

                                                                                          Create visually engaging stories with Zoho Show.

                                                                                          Get Started Now









                                                                                                              • Related Articles

                                                                                                              • Office Integrator - Overview

                                                                                                                Getting Started with Zoho Office Integrator Zoho Office Integrator is an online and cloud-based system which is used for the integration of its significant document editors – Sheet, Writer, and Show with third-party web applications and services. ...
                                                                                                              • How does document collaboration work in Office Integrator?

                                                                                                                Zoho Office Integrator supports real-time document collaboration, and multiple users can be invited and everyone can contribute to the document with their edits at the same time.  To further enhance user productivity and foster teamwork, business can ...
                                                                                                              • Can we integrate Office Integrator using Zoho One account?

                                                                                                                We would like to inform you that Zoho Office Integrator is a 'usage-based' product and it is not included in Zoho One. Please note that Zoho One consists of only 'user-based' products; hence, it is not possible to integrate or use Office Integrator ...
                                                                                                              • Do all users need to have a Zoho account for accessing my Office Integrator solution?

                                                                                                                Not necessary!  Office Integrator solution does not require each user to have a Zoho account. As all API requests are authenticated through a unique API key associated with a single Zoho account - the Office Editors embedded into your web application ...
                                                                                                              • How do I save documents locally using "save_url" method? Any sample codes available?

                                                                                                                A "save_url" is a publicly accessible Web hook or a Web URL to which Zoho will push the updated document content from its Office editors (Writer, Sheet, Show) to your storage server. In order to make use of "save_url" method and save document ...
                                                                                                                Wherever you are is as good as
                                                                                                                your workplace

                                                                                                                  Resources

                                                                                                                  Videos

                                                                                                                  Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                  eBooks

                                                                                                                  Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                  Webinars

                                                                                                                  Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                  CRM Tips

                                                                                                                  Make the most of Zoho CRM with these useful tips.



                                                                                                                    Zoho Show Resources