Skip to main content

OAuth Storage Providers

Connect cloud storage services like Google Drive, GitHub, Dropbox, and OneDrive to give your AI assistants access to your documents and files through a secure OAuth flow.

Key Concepts

Supported providers

ProviderFile typesAccess scope
Google DriveDocs, Sheets, PDFs, imagesRead-only access to files you select or all files
GitHubRepositories, code, issues, PRsRead access to selected repositories
DropboxAll file typesRead access to selected folders
OneDriveOffice docs, PDFs, imagesRead access to selected folders

How OAuth works

When you connect a provider, you're redirected to their authorization page where you grant Clevername specific permissions. Clevername receives an access token and refresh token, both stored encrypted. Access tokens are refreshed automatically when they expire — you only authorize once.

Token security

OAuth tokens are encrypted at rest using AES-256-GCM. Refresh tokens are used server-side only and never sent to the browser. If you disconnect a provider, all stored tokens are immediately deleted.

Step-by-Step Guide
1

Navigate to Storage settings

Go to Dashboard → Settings → Storage. You'll see cards for each supported storage provider with their connection status.

Storage settings page showing cards for Google Drive, GitHub, Dropbox, and OneDrive with Connect buttons
Each provider card shows its connection status and a Connect or Disconnect button.
2

Connect a provider

Click Connecton the provider you want to add. You'll be redirected to the provider's OAuth authorization page.

Note
Clevername requests the minimum scopes needed for file reading. You can review the exact permissions on the provider's consent screen before authorizing.
3

Authorize access

On the provider's page, review the requested permissions and click Allow or Authorize. You'll be redirected back to Clevername automatically.

Google OAuth consent screen showing the permissions Clevername is requesting
Review the permissions before authorizing. Clevername only requests read access.
4

Verify the connection

After authorization, the provider card shows a green Connected status. You can now attach files from this provider to projects or reference them in chat.

Tip
To test the connection, open a chat and ask the AI to list files from your connected storage. The AI will use the storage tools to browse your files.
5

Disconnect a provider

To revoke access, click Disconnecton the provider card. This deletes all stored tokens from Clevername. For complete revocation, also remove Clevername from the provider's authorized apps page (e.g., Google Account → Security → Third-party apps).