> ## Documentation Index
> Fetch the complete documentation index at: https://docs.neoagent.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Dropbox

> Connect your Dropbox so agents can search and read your SOPs and Paper docs, keep them current, and share and collect files

Neo Agent connects to your own Dropbox through an app you create in the Dropbox App Console. Once connected, agents can search your Dropbox, read files and Paper docs as text, update a Paper doc or a file when a ticket shows a step has changed, and make shared links and file requests, through the [Dropbox API tool](https://docs.neoagent.io/agents/tools/documentation/dropbox-api.md). For a Dropbox team, agents can also manage members, groups and team folders and read the activity log.

## Connect Dropbox

**1. Create an app in the Dropbox App Console**

Sign in to Dropbox with the account Neo should act as, open the [App Console](https://www.dropbox.com/developers/apps) and click **Create app**.

1. Choose **Scoped access** and **Full Dropbox**, so the app reaches the folders that hold your SOPs.
2. Name the app (for example `Neo - Your MSP`) and click **Create app**.

**2. Give the app its permissions**

On the app's **Permissions** tab, tick the scopes for what agents should do, then click **Submit**.

| Scopes | What they let agents do |
| - | - |
| `account_info.read` | Read the connected account. **Required**: Neo checks the connection with it |
| `files.metadata.read`, `files.content.read` | Search, list and read files and Paper docs |
| `files.metadata.write`, `files.content.write` | Upload, move, copy, delete and restore files, and update Paper docs |
| `sharing.read`, `sharing.write` | Read and make shared links, and read or change who can open a folder |
| `file_requests.read`, `file_requests.write` | Make file requests that collect files from your clients |

Leave out the write scopes if agents should only read. Dropbox then refuses every write, whatever the agent's permissions in Neo.

For a Dropbox team, a team admin can also tick team scopes (`team_info.read`, `members.read`, `members.write`, `groups.read`, `groups.write`, `team_data.member`, `team_data.content.read`, `events.read` and the others the [Dropbox API tool](https://docs.neoagent.io/agents/tools/documentation/dropbox-api.md) page lists). The app then acts for the whole team, and the admin authorizes it in the next step.

**3. Get an access code**

On the app's **Settings** tab, copy the **App key** and the **App secret**. Then open this address in the browser where you are signed in to Dropbox, with your App key in place of `APP_KEY`:

```
https://www.dropbox.com/oauth2/authorize?client_id=APP_KEY&response_type=code&token_access_type=offline
```

Click **Allow**. Dropbox shows an access code. Keep `token_access_type=offline` in the address: without it Dropbox gives no long-lived token, and Neo cannot stay connected.

If you change the app's permissions later, open the address again and save a new code: a token keeps the scopes it had when it was issued.

**4. Add the integration in Neo**

In the Neo Dashboard, open [**Integrations**](https://dashboard.neoagent.io/integrations?open=dropbox) → **Documentation**, click the **Dropbox** tile, and enter:

* **App Key** and **App Secret** from the app's Settings tab
* **Access Code or Refresh Token**: the code from the last step. A refresh token you already hold works too.

Click **Save**. Neo exchanges the code for a refresh token, checks it against Dropbox, and stores it. A code works once, so save soon after you copy it; if the save fails, get a new code.

**5. Give your agents Dropbox permissions**

On an agent's **Tools & Settings** tab, click **Documentation**, expand the **Dropbox** block and pick a **Preset**. [Dropbox API tool](https://docs.neoagent.io/agents/tools/documentation/dropbox-api.md) lists the permission groups.

## Keep the keys in your own proxy

Dropbox can take an [API proxy route](https://docs.neoagent.io/integrations/api-proxy.md): Neo then sends placeholders for the App secret and the refresh token, and your proxy puts in the real ones when Neo asks Dropbox for a token. Exchange the access code for a refresh token yourself first (Dropbox's `POST /oauth2/token` with `grant_type=authorization_code`), because a code works only once and Neo cannot exchange it through the proxy.

## What agents reach

Agents act as the Dropbox account that allowed the app, and see what that account sees. Your Dropbox is your own, not one client's, so every company's tickets can reach every folder the account can open; keep client folders an agent should not open out of that account.

Dropbox does not tie a folder to one of your clients, so on a ticket an agent works only with content: it reads and changes files and Paper docs, and reads the connected account. Everything else is closed on a ticket, reads included: shares and shared links, file requests, the team, team folders, devices, apps and policies. A ticket could otherwise steer it to give someone another client's folder, or to read a link that opens it. A technician's chat agent and scheduled agents reach every group.

If your team uses the Dropbox **team space**, Neo works from the team space, so agents reach the team's shared folders as well as the account's own folder.

## Troubleshooting

> [accordion] Neo says Dropbox issued no refresh token
>
> The authorize address lacked `token_access_type=offline`. Open the address in step 3 again, with that part, and save the new code.

> [accordion] Neo says Dropbox did not accept the App key and App secret
>
> Copy both again from the app's **Settings** tab.

> [accordion] Neo says Dropbox refused the new token
>
> The app lacks the `account_info.read` scope (or, for a team app, `team_info.read`). Tick it on the **Permissions** tab, click **Submit**, get a new code and save again.

> [accordion] An agent says a call needs a scope
>
> Dropbox names the missing scope. Tick it on the app's **Permissions** tab, get a new access code and save it on the Dropbox tile.

> [accordion] An agent cannot find a folder the team shares
>
> The account that allowed the app must be a member of that shared folder or team folder. For a team-linked app, the agent names a member, whose folders it then reaches.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.