---
title: "Tiny Drive plugin"
description: "Cloud-based file and image management for TinyMCE."
canonical_url: "https://www.tiny.cloud/docs/tinymce/5/tinydrive-plugin/"
md_url: "https://www.tiny.cloud/docs/tinymce/5/tinydrive-plugin/index.md"
version: "5"
last_updated: "2024-04-16T01:50:26Z"
tokens: 358
---
Important This page documents TinyMCE 5. For new projects, Tiny recommends using the latest, most up-to-date version. [See TinyMCE 8 documentation](../../latest/).
# Tiny Drive plugin

> **Note:** This plugin is only available for [Tiny Cloud users](/pricing).
The [Tiny Drive](../tinydrive-introduction/) plugin adds the functionality to upload and manage files and images to the cloud. This plugin is only available in [Tiny Cloud](/auth/signup/) and requires you to register for an API key.

To enable this functionality, add `tinydrive` to the list of plugins in the `tinymce.init` call. You also need to authenticate the user using a [JSON Web Token](../tinydrive-jwt-authentication/) (JWT).

Once you enable Tiny Drive it integrates as the default file picker for the Image, Link, and Media dialogs and as the default upload handler for local images being pasted or inserted into the document.

## Interactive example

**Example**

```js
tinymce.init({
  selector: 'textarea#drive',
  plugins: 'image media link tinydrive code imagetools',
  height: 600,
  tinydrive_token_provider: 'URL_TO_YOUR_TOKEN_PROVIDER',
  toolbar: 'insertfile image link | code'
});
```

## Basic setup

```js
tinymce.init({
  selector: 'textarea',  // change this value according to your html
  plugins: 'tinydrive',
  tinydrive_token_provider: 'URL_TO_YOUR_TOKEN_PROVIDER'
});
```

## Configuration

You can read more about the various configuration options for Tiny Drive in the dedicated [configuration page](../tinydrive-setup-options/).
