How can we migrate documents from Dropbox to Athento?

Tabla de contenidos

Athento includes an integration with Dropbox that allows migrating documents from Dropbox to Athento in an orderly manner, keeping the folder structure.

Set up the Dropbox integration

To set up the integration, go to the team applications section.

In this section you will see the Dropbox application.

To complete the setup, you need an access token, which is obtained from the Dropbox apps section. Follow these steps:

  1. Create an app following the instructions on the page.
  2. Once created, in the "Permissions" tab enable the "files.content.read" permission so that Athento can access the documents.
  3. In the "Settings" tab, request an access token.

When you have the access token, enter it in the Dropbox integration settings in Athento.

After adding the token, validate that it is correct by clicking "Check connection".

Migrate documents from Dropbox to Athento

With the integration configured, you can run a command to perform the migration of documents from Dropbox.

python manage.py migrate_dropbox_documents --serie <serie_uuid>

Where "serie_uuid" is the UUID of the space into which the documents will be imported. The Dropbox configuration of the team associated with the space will be used.

When the command finishes, you will be able to see the documents in the selected space, preserving the same folder structure.