Connect a cloud account for imports
Connect Google Drive, OneDrive, or Dropbox through the released OAuth flow, verify the returned identity, and recover from exact callback errors.
Last reviewed
Connect from Dosya’s integration page so the server can create a signed, session-bound OAuth request. The provider grants read access for import; Dosya never asks you to paste a provider password or access token.

Steps
- Sign in to Dosya in the browser, open Integrations, and choose a configured provider’s Connect account control.
- On the Google Drive, OneDrive, or Dropbox consent screen, verify the signed-in email and requested read access before approving Dosya.
- Return to the provider setup page and find that email under Connected accounts; the account row is the success receipt.
- If the page says Connection cancelled, sign-in attempt expired, provider did not accept the sign-in, or failed while saving, start a fresh connection from Dosya.
- Choose Import beside the new account, browse a harmless file or folder, and verify the picker can list it.
- Close the picker without importing if this was only a connection test, or select reviewed content and continue with the import guide.
Only providers configured in the deployed API are listed; the registered set is Google Drive, OneDrive, and Dropbox. The OAuth state is single-use and tied to the signed-in session. A connection belongs to the Dosya user, so it can later be used to import into a workspace where that user has upload_files permission.
Expected result
The provider page contains a Connected accounts row with the approved email and connection age, and its Import action opens the remote root. Query parameters from the callback are removed after the page consumes them, so refreshing does not replay a stale notice.
Related guides
Was this helpful?
Loading helpfulness results…
Voting saves a necessary ballot cookie for up to 180 days so you can change your answer.
Questions and replies
Ask about the steps in this guide. Questions are reviewed before publication.
Keep account details, credentials and private files out of public questions. Use private support for those.
Loading questions…
Sign in to your Dosya account to ask a question.