Skip to main content
All CollectionsChatGPT
Connected apps on ChatGPT
Connected apps on ChatGPT
Updated over 5 months ago

Users on ChatGPT can load files directly from their cloud storage services accounts into conversations with ChatGPT. Currently, our we support the following connected apps:

  • Google Drive

  • Microsoft OneDrive Personal

  • Microsoft OneDrive including SharePoint

All common file types are supported, including text files, spreadsheets, presentations, and documents.

Please note that file upload restrictions also apply to files from cloud storage services.

All files uploaded to a GPT or a ChatGPT conversation have a hard limit of 512MB per file.

  • All text and document files uploaded to a GPT or to a ChatGPT conversation are capped at 2M tokens per file. This limitation does not apply to spreadsheets.

  • Image file size support is capped at 20MB per image.

  • Additionally, the following usage caps apply:

    • Each end-user is capped at 10GB.

    • Each organization is capped at 100GB.

    • Note: An error will be displayed if a user/org cap has been hit.

Learn more about file uploads.

Connecting your cloud storage service to ChatGPT

There are two ways to connect your cloud storage service to ChatGPT.

  • In the prompt window, click on the paper clip icon and select your cloud storage option.

  • In your ChatGPT Settings, select Connected apps. Find your cloud storage service and click Connect.

After selecting your cloud storage service, you may be prompted to sign into the cloud storage service and enable ChatGPT access. After enabling ChatGPT access to your cloud storage service, you will be able to pick files directly from ChatGPT:

Uploading a file with a URL

This feature is currently supported for Microsoft OneDrive and Sharepoint.
We do not currently support this feature for Google Drive.

Users can load files directly from their cloud storage services by sharing the file URL directly in the conversation. If a user already has a file's URL handy, this can help save time spent searching in the file picker for the file they want to share in a conversation.


If a user shares a file URL, and has not yet connected their cloud storage service with ChatGPT, they will be prompted to connect their service to ChatGPT.


If a user shares a file URL, and their cloud storage service is connected, the file URL will be replaced with the attached file.

Please note that that a SharePoint link (OneDrive business) created by one organization cannot be used by another organization. If you encounter this limitation, please consider uploading the file with another method.

Disconnecting your cloud storage service to ChatGPT

You can disconnect your cloud storage service in your ChatGPT Settings. Under Connected apps, find your connected cloud storage service and click Disconnect. Once you select Disconnect, the cloud storage service will be immediately disconnected.

Please note that disconnecting your app does not affect our file retention policy.

File retention from cloud storage services on ChatGPT

The file retention protocol applies to files uploaded from cloud storage services.

Files are retained while the conversation is active and for a duration that varies based on your plan after the conversation is paused, after which they are deleted. The conversation itself is preserved in accordance with the general ChatGPT behavior. To resume the conversation at a later time, the documents will need to be re-uploaded. This limitation arises from the overall file storage capacity at this time.

Why can’t I connect my cloud storage service?

If you are attempting to connect a cloud storage service that is managed by an organization, please ensure that your organization has enabled permission to share access to the storage service.

Users in an Enterprise workspace may be restricted from using a cloud storage service if it has been disabled by a Workspace admin.

Why can’t I pick a file from my cloud storage service?

Browser extensions that perform content filtering and blocking can prevent access to the file picker in the prompt window. If you are having trouble loading the file picker, please disable your browser extensions or access ChatGPT in an Incognito window.

[Enterprise] How can I enable or disable a connected app for my workspace?

Admins in a ChatGPT Enterprise Workspace can enable or disable connected applications for their workspace in their Workspace settings. Under Connected Apps, workspace admins can toggle on or off cloud storage service access:

Will OpenAI use files uploaded from cloud storage services to train its models?

The answer depends on the service you are using.

We may use content submitted to ChatGPT, DALL·E, and our other services for individuals to improve model performance. Content may include files that are uploaded. Please refer to this article to understand how content may be used to improve model performance and the choices that users have.

We do not use content submitted by customers to our business offerings such as our API and ChatGPT Enterprise to improve model performance. Please see our Enterprise Privacy page for information on how we use business data.

Common Troubleshooting Steps

Google Drive

A good first step is to disconnect then reconnect the integration in your ChatGPT settings. If the integration is still not working then a couple potential blockers from the Google side include specifically two different settings that can block this integration (e.g. the OAuth scopes config settings and this one about the Drive API). Both are covered below.

As an admin, if you cannot set access to "Unrestricted" due to more strict security requirements on your side then you have a couple of options (see image below).

You can first select Restricted: Only trusted apps can access a service which should work if the trusted app is set up correctly.

Next, you may additionally enable the checkbox For apps that are not trusted, allow users to give access to OAuth scopes that aren't classified as high-risk. which should work unconditionally.

⚠️ Link pasting will require sensitive scopes.

If you are still having issues one other thing that may be necessary on your end in your Google Drive admin settings is going to Google Workspace -> Drive and Docs -> Features and Applications -> Drive SDK -> and select the checkbox Allow users to access Google Drive with the Drive SDK API. See below for where that setting is.

The setting is described as, "Allow third party applications to work the files stored in Google Drive". In this case ChatGPT is a third party application and our Google Drive integration for ChatGPT works on files stored in Google Drive.

Did this answer your question?