Simply Sharing a Link

Introduction

Egnyte is often used as a central file storage and access platform for a whole company. For many communication or project management apps just letting users share links to files in Egnyte is a great first functionality to integrate.

Customers appreciate these integrations because they don't have to leave your application's context to create the link and copy-paste it.

File Picker Service is available. You can solve this use case with close to no development work.

Use this recipe if you:

Ingredients

Steps

While you can use front-end only to build this integration, you'd have to authenticate the user again every time they open the file picker. You'll get better results if you add a pinch of back-end for authentication and store the token securely on your side.

Don't store access tokens in the browser. We had developers try that before. There's a certification step at the end of development to prevent listing an integration that would attempt such things.

  1. Implement Auth - use the Enhanced Auth Service to receive OAuth2 code and exchange it for a token.
  2. Use File Picker Service
  3. When user has made the choice, take the file group_id and use it for creating a link
  4. Currently, we support direct_links out of the box. However, you can still obtain the group_id and use our official API to generate different kinds of links. For more information, please refer to our: Public API Links
  5. Bake your integration and send it for certification.