Store audio files in Dropbox
Updated September 15, 2026
PRO can save generated audio to your Dropbox account instead of your web server, which saves disk space on your hosting. You connect your own Dropbox app in AI Text-to-Speech › Settings › File Storage. Dropbox storage needs PHP 7.1 or later and a site that loads over HTTPS.
Create a Dropbox app
- Go to dropbox.com/developers/apps/create and sign in.
- Choose Scoped access and App folder access, give the app a name, and create it.
- On the app’s Permissions tab, tick
files.metadata.write,files.metadata.read,files.content.write,files.content.readandsharing.write, then click Submit. - On the Settings tab, under Redirect URIs, add the URL shown on the plugin’s File Storage tab. It looks like
https://example.com/wp-admin/admin-post.php?action=aitts_dropbox_callback. - Copy the App key and App secret from the Settings tab.
Connect Dropbox to the plugin
- Go to AI Text-to-Speech › Settings › File Storage and set File Storage Location to Dropbox (PRO).
- Paste the key and secret into Dropbox App Key and Dropbox App Secret.
- Click Save Changes. The Connect to Dropbox button stays disabled until both are saved.
- Click Connect to Dropbox, sign in if asked and click Allow.
- You’re returned to the settings page, which shows Connected to Dropbox with green ticks for the access and refresh tokens. The storage location is set to Dropbox automatically.
How Dropbox storage works
- Files are saved in your Dropbox under
/Apps/[your app name]/[your domain]/, with dots in the domain replaced by hyphens. - The audio is created on your server first, uploaded, then deleted from the server.
- The plugin creates a public shared link and plays the file from
dl.dropboxusercontent.com. Anyone with the link can download the file. - The access token refreshes automatically, so you don’t need to reconnect regularly.
- Deleting audio in WordPress also deletes the file from Dropbox.
- Existing local files aren’t moved. Only audio generated after switching goes to Dropbox, so regenerate posts if you want them moved.
If the upload fails, generation stops with a message starting “Dropbox storage error:” and nothing is attached to the post. The same message is added to the Error Log on the General Settings tab.
Change or disconnect the app
Click Disconnect on the File Storage tab to remove the tokens. If you change the app’s permissions in Dropbox, disconnect and connect again so the new permissions take effect. Changing the saved App Secret also clears the connection. After disconnecting, set File Storage Location back to Local if you don’t plan to reconnect, otherwise new generations will fail.
Developers can keep the key and secret out of the database with constants in wp-config.php; see Store keys in wp-config.php.


