docs/versioned_docs/version-2.68.0/how-to/upload-files-gcs.md
In this guide, we are going to create an interface to upload PDFs to Google Cloud Storage.
Before adding the new data source we will need to have a private key for our GCS bucket and make sure the key has the appropriate rights.
</div> <div style={{paddingTop:'24px', paddingBottom:'24px'}}>+ button.{{"application/pdf"}} for the picker to accept only pdf files. In the screenshot below, we have set the accepted file type property to {{"application/pdf"}} so it will allow to select only pdf files:{{1}} as we are only going to upload 1 file at a time.:::info File types must be valid MIME type according to input element specification or a valid file extension.
To accept any/all file type(s), set Accept file types to an empty value.
:::
+ button of the query manager at the bottom panel of the editor and select the GCS data sourcegs://test-1{{components.file1.file[0]['name']}}{{components.file1.file[0]['type']}}{{components.file1.file[0]['base64Data']}}base64