knowledge/document_url_google_drive/readme/CONFIGURE.md
Ivan Sokolov bb76a75b65 [FIX] document_url_google_drive
Regenerated index.html which was not created properly
2024-02-07 18:59:10 +01:00

32 lines
1.3 KiB
Markdown

To configure this module, you need to:
- Go to Settings -> General Settings and scroll down to the Integrations section.
- Enable "Google API", save. Setup instructions https://developers.google.com/drive/picker/guides/overview
- "Google Client ID" - enter the client ID from the Google API console: https://developers.google.com/identity/oauth2/web/guides/get-google-api-clientid
- "Google API key" - enter the API key from the Google API console.
- "Google App ID" - enter the ID of the Google application. The default value is
`odoo`.
You will be asked to authenticate when you add a link for the first time.
![Configuration](../static/img/google_api_settings.png)
**To modify your personal login credentials later**
- Open your user profile and set up personal access credentials on the "Google
API" tab.
- field "Google Scope" - enter the scope for the Google API. The default value is
`https://www.googleapis.com/auth/drive.readonly`.
- field "Google Access Token" - your token will be displayed here. It is necessary to
edit it.
- field "Google Mime Types" - enter the file formats to be filtered when selecting.
Example: `application/pdf, image/jpeg, image/png`. By default, all files are
selected
To log out from the current Google Account by clicking the "logout" icon right to the "Add GDrive link".