In order to run this app, you need a trial or a commercial license. You can purchase the Documents app on the Atlassian Marketplace or through the Universal Plugin Manager (UPM). Once you obtain the license code, you must activate it.
Follow these steps to activate the app license:
Log on to Jira as an administrator
Go to Administration > Apps
Click Manage apps
Locate and expand the Documents app under User-installed apps
Enter the license code in the License key field
Click Update. If your license is valid, a confirmation message will be displayed at the top of the page.
...