[{"data":1,"prerenderedAt":1064},["ShallowReactive",2],{"navigation_docs_en":3,"-en-external-sources-google-drive":427,"-en-external-sources-google-drive-surround":1059},[4,31,117,188,238,271,310,369,378],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":30},"Getting started","i-hugeicons-rocket-01","\u002Fen\u002Fgetting-started","en\u002F01.getting-started",[10,15,20,25],{"title":11,"path":12,"stem":13,"icon":14},"What is DDM?","\u002Fen\u002Fgetting-started\u002Fwhat-is-ddm","en\u002F01.getting-started\u002F01.what-is-ddm","i-hugeicons-information-circle",{"title":16,"path":17,"stem":18,"icon":19},"Account and sign-in","\u002Fen\u002Fgetting-started\u002Fsign-in","en\u002F01.getting-started\u002F02.sign-in","i-hugeicons-key-01",{"title":21,"path":22,"stem":23,"icon":24},"AI in DDM","\u002Fen\u002Fgetting-started\u002Fai-in-ddm","en\u002F01.getting-started\u002F03.ai-in-ddm","i-hugeicons-ai-magic",{"title":26,"path":27,"stem":28,"icon":29},"System status","\u002Fen\u002Fgetting-started\u002Fsystem-status","en\u002F01.getting-started\u002F04.system-status","i-hugeicons-activity-03",false,{"title":32,"icon":33,"path":34,"stem":35,"children":36,"page":30},"CMS","i-hugeicons-dashboard-square-01","\u002Fen\u002Fcms","en\u002F02.cms",[37,42,47,52,57,62,67,72,77,82,87,92,97,102,107,112],{"title":38,"path":39,"stem":40,"icon":41},"The CMS at a glance","\u002Fen\u002Fcms\u002Foverview","en\u002F02.cms\u002F01.overview","i-hugeicons-compass-01",{"title":43,"path":44,"stem":45,"icon":46},"Uploading documents","\u002Fen\u002Fcms\u002Fupload","en\u002F02.cms\u002F02.upload","i-hugeicons-upload-01",{"title":48,"path":49,"stem":50,"icon":51},"Categories","\u002Fen\u002Fcms\u002Fcategories","en\u002F02.cms\u002F03.categories","i-hugeicons-folder-tree",{"title":53,"path":54,"stem":55,"icon":56},"Editing documents","\u002Fen\u002Fcms\u002Fdocuments","en\u002F02.cms\u002F04.documents","i-hugeicons-file-edit",{"title":58,"path":59,"stem":60,"icon":61},"Searching and filtering","\u002Fen\u002Fcms\u002Fsearch-and-filters","en\u002F02.cms\u002F05.search-and-filters","i-hugeicons-search-01",{"title":63,"path":64,"stem":65,"icon":66},"Groups and permissions","\u002Fen\u002Fcms\u002Fgroups-and-permissions","en\u002F02.cms\u002F06.groups-and-permissions","i-hugeicons-user-multiple",{"title":68,"path":69,"stem":70,"icon":71},"Users","\u002Fen\u002Fcms\u002Fusers","en\u002F02.cms\u002F07.users","i-hugeicons-user-add-01",{"title":73,"path":74,"stem":75,"icon":76},"Approvals","\u002Fen\u002Fcms\u002Fapprovals","en\u002F02.cms\u002F08.approvals","i-hugeicons-checkmark-badge-01",{"title":78,"path":79,"stem":80,"icon":81},"Markets and translations","\u002Fen\u002Fcms\u002Fmarkets-and-translations","en\u002F02.cms\u002F09.markets-and-translations","i-hugeicons-globe-02",{"title":83,"path":84,"stem":85,"icon":86},"Note templates","\u002Fen\u002Fcms\u002Fnote-templates","en\u002F02.cms\u002F10.note-templates","i-hugeicons-layout-01",{"title":88,"path":89,"stem":90,"icon":91},"Usage and audit log","\u002Fen\u002Fcms\u002Fusage-and-audit","en\u002F02.cms\u002F11.usage-and-audit","i-hugeicons-chart-column",{"title":93,"path":94,"stem":95,"icon":96},"AI assistant","\u002Fen\u002Fcms\u002Fassistant","en\u002F02.cms\u002F12.assistant","i-hugeicons-sparkles",{"title":98,"path":99,"stem":100,"icon":101},"Settings","\u002Fen\u002Fcms\u002Fsettings","en\u002F02.cms\u002F13.settings","i-hugeicons-settings-02",{"title":103,"path":104,"stem":105,"icon":106},"Plans","\u002Fen\u002Fcms\u002Fplans","en\u002F02.cms\u002F14.plans","i-hugeicons-package",{"title":108,"path":109,"stem":110,"icon":111},"Feature requests","\u002Fen\u002Fcms\u002Ffeature-requests","en\u002F02.cms\u002F15.feature-requests","i-hugeicons-idea-01",{"title":113,"path":114,"stem":115,"icon":116},"Report a bug","\u002Fen\u002Fcms\u002Fbug-reports","en\u002F02.cms\u002F16.bug-reports","i-hugeicons-bug-01",{"title":118,"icon":119,"path":120,"stem":121,"children":122,"page":30},"App","i-hugeicons-smart-phone-01","\u002Fen\u002Fapp","en\u002F03.app",[123,128,133,138,143,147,152,157,162,167,170,173,176,179,184],{"title":124,"path":125,"stem":126,"icon":127},"Signing in and finding your way","\u002Fen\u002Fapp\u002Foverview","en\u002F03.app\u002F01.overview","i-hugeicons-login-03",{"title":129,"path":130,"stem":131,"icon":132},"Tabs and split view","\u002Fen\u002Fapp\u002Ftabs","en\u002F03.app\u002F02.tabs","i-hugeicons-layout-2-column",{"title":134,"path":135,"stem":136,"icon":137},"Finding and reading documents","\u002Fen\u002Fapp\u002Fdocuments","en\u002F03.app\u002F03.documents","i-hugeicons-file-01",{"title":139,"path":140,"stem":141,"icon":142},"Favorites","\u002Fen\u002Fapp\u002Ffavorites","en\u002F03.app\u002F04.favorites","i-hugeicons-favourite",{"title":144,"path":145,"stem":146,"icon":61},"Searching","\u002Fen\u002Fapp\u002Fsearch","en\u002F03.app\u002F05.search",{"title":148,"path":149,"stem":150,"icon":151},"Notes","\u002Fen\u002Fapp\u002Fnotes","en\u002F03.app\u002F06.notes","i-hugeicons-note-edit",{"title":153,"path":154,"stem":155,"icon":156},"Calendar and appointments","\u002Fen\u002Fapp\u002Fcalendar","en\u002F03.app\u002F07.calendar","i-hugeicons-calendar-03",{"title":158,"path":159,"stem":160,"icon":161},"Sending to customers","\u002Fen\u002Fapp\u002Foutbox","en\u002F03.app\u002F08.outbox","i-hugeicons-sent",{"title":163,"path":164,"stem":165,"icon":166},"Working offline","\u002Fen\u002Fapp\u002Foffline","en\u002F03.app\u002F09.offline","i-hugeicons-wifi-off-01",{"title":93,"path":168,"stem":169,"icon":96},"\u002Fen\u002Fapp\u002Fassistant","en\u002F03.app\u002F10.assistant",{"title":98,"path":171,"stem":172,"icon":101},"\u002Fen\u002Fapp\u002Fsettings","en\u002F03.app\u002F11.settings",{"title":108,"path":174,"stem":175,"icon":111},"\u002Fen\u002Fapp\u002Ffeature-requests","en\u002F03.app\u002F12.feature-requests",{"title":113,"path":177,"stem":178,"icon":116},"\u002Fen\u002Fapp\u002Fbug-reports","en\u002F03.app\u002F13.bug-reports",{"title":180,"path":181,"stem":182,"icon":183},"Desktop app","\u002Fen\u002Fapp\u002Fdesktop-app","en\u002F03.app\u002F14.desktop-app","i-hugeicons-computer",{"title":185,"path":186,"stem":187,"icon":119},"Mobile app","\u002Fen\u002Fapp\u002Fmobile-app","en\u002F03.app\u002F15.mobile-app",{"title":189,"icon":190,"path":191,"stem":192,"children":193,"page":30},"Sign-in & directories","i-hugeicons-security-check","\u002Fen\u002Fsign-in-and-directories","en\u002F04.sign-in-and-directories",[194,198,202,207,212,217,222,226,230,234],{"title":195,"path":196,"stem":197,"icon":19},"Sign-in methods","\u002Fen\u002Fsign-in-and-directories\u002Fsign-in-methods","en\u002F04.sign-in-and-directories\u002F01.sign-in-methods",{"title":199,"path":200,"stem":201,"icon":190},"Single sign-on","\u002Fen\u002Fsign-in-and-directories\u002Fsingle-sign-on","en\u002F04.sign-in-and-directories\u002F02.single-sign-on",{"title":203,"path":204,"stem":205,"icon":206},"Directory services (LDAP)","\u002Fen\u002Fsign-in-and-directories\u002Fdirectory-services","en\u002F04.sign-in-and-directories\u002F03.directory-services","i-hugeicons-hierarchy",{"title":208,"path":209,"stem":210,"icon":211},"Synchronisation and sign-in","\u002Fen\u002Fsign-in-and-directories\u002Fdirectory-sync","en\u002F04.sign-in-and-directories\u002F04.directory-sync","i-hugeicons-refresh",{"title":213,"path":214,"stem":215,"icon":216},"Microsoft Entra ID","\u002Fen\u002Fsign-in-and-directories\u002Fmicrosoft-entra-id","en\u002F04.sign-in-and-directories\u002F05.microsoft-entra-id","i-hugeicons-building-03",{"title":218,"path":219,"stem":220,"icon":221},"Okta","\u002Fen\u002Fsign-in-and-directories\u002Fokta","en\u002F04.sign-in-and-directories\u002F06.okta","i-hugeicons-finger-print",{"title":223,"path":224,"stem":225,"icon":81},"Google Workspace","\u002Fen\u002Fsign-in-and-directories\u002Fgoogle-workspace","en\u002F04.sign-in-and-directories\u002F07.google-workspace",{"title":227,"path":228,"stem":229,"icon":119},"Two-factor authentication","\u002Fen\u002Fsign-in-and-directories\u002Ftwo-factor-authentication","en\u002F04.sign-in-and-directories\u002F08.two-factor-authentication",{"title":231,"path":232,"stem":233,"icon":221},"Passkeys","\u002Fen\u002Fsign-in-and-directories\u002Fpasskeys","en\u002F04.sign-in-and-directories\u002F09.passkeys",{"title":235,"path":236,"stem":237,"icon":156},"Calendar access","\u002Fen\u002Fsign-in-and-directories\u002Fcalendar-access","en\u002F04.sign-in-and-directories\u002F10.calendar-access",{"title":239,"icon":240,"path":241,"stem":242,"children":243,"page":30},"MCP server","i-hugeicons-ai-network","\u002Fen\u002Fmcp-server","en\u002F05.mcp-server",[244,248,253,257,262,266],{"title":245,"path":246,"stem":247,"icon":240},"Overview","\u002Fen\u002Fmcp-server\u002Foverview","en\u002F05.mcp-server\u002F01.overview",{"title":249,"path":250,"stem":251,"icon":252},"Setup","\u002Fen\u002Fmcp-server\u002Fsetup","en\u002F05.mcp-server\u002F02.setup","i-hugeicons-plug-socket",{"title":254,"path":255,"stem":256,"icon":111},"What you can do with it","\u002Fen\u002Fmcp-server\u002Fuse-cases","en\u002F05.mcp-server\u002F03.use-cases",{"title":258,"path":259,"stem":260,"icon":261},"Tools","\u002Fen\u002Fmcp-server\u002Ftools","en\u002F05.mcp-server\u002F04.tools","i-hugeicons-wrench-01",{"title":263,"path":264,"stem":265,"icon":76},"Approving changes","\u002Fen\u002Fmcp-server\u002Fapproving-changes","en\u002F05.mcp-server\u002F05.approving-changes",{"title":267,"path":268,"stem":269,"icon":270},"Administration & security","\u002Fen\u002Fmcp-server\u002Fadmin-and-security","en\u002F05.mcp-server\u002F06.admin-and-security","i-hugeicons-shield-key",{"title":272,"icon":273,"path":274,"stem":275,"children":276,"page":30},"External sources","i-hugeicons-database-sync","\u002Fen\u002Fexternal-sources","en\u002F06.external-sources",[277,280,285,290,295,300,305],{"title":245,"path":278,"stem":279,"icon":273},"\u002Fen\u002Fexternal-sources\u002Foverview","en\u002F06.external-sources\u002F01.overview",{"title":281,"path":282,"stem":283,"icon":284},"SharePoint","\u002Fen\u002Fexternal-sources\u002Fsharepoint","en\u002F06.external-sources\u002F02.sharepoint","i-hugeicons-microsoft",{"title":286,"path":287,"stem":288,"icon":289},"OneDrive","\u002Fen\u002Fexternal-sources\u002Fonedrive","en\u002F06.external-sources\u002F03.onedrive","i-hugeicons-folder-cloud",{"title":291,"path":292,"stem":293,"icon":294},"Google Drive","\u002Fen\u002Fexternal-sources\u002Fgoogle-drive","en\u002F06.external-sources\u002F04.google-drive","i-hugeicons-google-drive",{"title":296,"path":297,"stem":298,"icon":299},"FTP \u002F SFTP","\u002Fen\u002Fexternal-sources\u002Fftp-sftp","en\u002F06.external-sources\u002F05.ftp-sftp","i-hugeicons-server-stack-01",{"title":301,"path":302,"stem":303,"icon":304},"REST interface","\u002Fen\u002Fexternal-sources\u002Frest","en\u002F06.external-sources\u002F06.rest","i-hugeicons-api",{"title":306,"path":307,"stem":308,"icon":309},"SOAP interface","\u002Fen\u002Fexternal-sources\u002Fsoap","en\u002F06.external-sources\u002F07.soap","i-hugeicons-source-code",{"title":311,"icon":304,"path":312,"stem":313,"children":314,"page":30},"Integration API","\u002Fen\u002Fintegration-api","en\u002F07.integration-api",[315,318,322,327,332,337,341,346,350,354,359,364],{"title":245,"path":316,"stem":317,"icon":14},"\u002Fen\u002Fintegration-api\u002Foverview","en\u002F07.integration-api\u002F01.overview",{"title":319,"path":320,"stem":321,"icon":19},"Authentication","\u002Fen\u002Fintegration-api\u002Fauthentication","en\u002F07.integration-api\u002F02.authentication",{"title":323,"path":324,"stem":325,"icon":326},"Conventions","\u002Fen\u002Fintegration-api\u002Fconventions","en\u002F07.integration-api\u002F03.conventions","i-hugeicons-book-open-01",{"title":328,"path":329,"stem":330,"icon":331},"Pushing documents","\u002Fen\u002Fintegration-api\u002Fpushing-documents","en\u002F07.integration-api\u002F04.pushing-documents","i-hugeicons-upload-02",{"title":333,"path":334,"stem":335,"icon":336},"Consuming content","\u002Fen\u002Fintegration-api\u002Fconsuming-content","en\u002F07.integration-api\u002F05.consuming-content","i-hugeicons-download-02",{"title":338,"path":339,"stem":340,"icon":137},"Reference: documents","\u002Fen\u002Fintegration-api\u002Freference-documents","en\u002F07.integration-api\u002F06.reference-documents",{"title":342,"path":343,"stem":344,"icon":345},"Reference: categories, tags, markets","\u002Fen\u002Fintegration-api\u002Freference-categories-tags","en\u002F07.integration-api\u002F07.reference-categories-tags","i-hugeicons-folder-01",{"title":347,"path":348,"stem":349,"icon":211},"Reference: sync manifest","\u002Fen\u002Fintegration-api\u002Freference-sync","en\u002F07.integration-api\u002F08.reference-sync",{"title":351,"path":352,"stem":353,"icon":309},"OpenAPI","\u002Fen\u002Fintegration-api\u002Fopenapi","en\u002F07.integration-api\u002F09.openapi",{"title":355,"path":356,"stem":357,"icon":358},"Changelog","\u002Fen\u002Fintegration-api\u002Fchangelog","en\u002F07.integration-api\u002F10.changelog","i-hugeicons-time-schedule",{"title":360,"path":361,"stem":362,"icon":363},"Reference: groups, markets, access","\u002Fen\u002Fintegration-api\u002Freference-groups-access","en\u002F07.integration-api\u002F11.reference-groups-access","i-hugeicons-user-lock-01",{"title":365,"path":366,"stem":367,"icon":368},"Moving from CMWS","\u002Fen\u002Fintegration-api\u002Fcmws","en\u002F07.integration-api\u002F12.cmws","i-hugeicons-arrow-reload-horizontal",{"title":370,"icon":371,"path":372,"stem":373,"children":374,"page":30},"What's new","i-hugeicons-gift","\u002Fen\u002Fwhats-new","en\u002F08.whats-new",[375],{"title":355,"path":376,"stem":377,"icon":358},"\u002Fen\u002Fwhats-new\u002Fchangelog","en\u002F08.whats-new\u002F01.changelog",{"title":379,"icon":299,"path":380,"stem":381,"children":382,"page":30},"Self-hosting","\u002Fen\u002Fself-hosting","en\u002F09.self-hosting",[383,386,390,395,399,404,408,413,418,422],{"title":245,"path":384,"stem":385,"icon":14},"\u002Fen\u002Fself-hosting\u002Foverview","en\u002F09.self-hosting\u002F01.overview",{"title":387,"path":388,"stem":389,"icon":106},"Docker Compose","\u002Fen\u002Fself-hosting\u002Fdocker-compose","en\u002F09.self-hosting\u002F02.docker-compose",{"title":391,"path":392,"stem":393,"icon":394},"Kubernetes","\u002Fen\u002Fself-hosting\u002Fkubernetes","en\u002F09.self-hosting\u002F03.kubernetes","i-hugeicons-cloud",{"title":396,"path":397,"stem":398,"icon":101},"Configuration","\u002Fen\u002Fself-hosting\u002Fconfiguration","en\u002F09.self-hosting\u002F04.configuration",{"title":400,"path":401,"stem":402,"icon":403},"Licence","\u002Fen\u002Fself-hosting\u002Flicence","en\u002F09.self-hosting\u002F05.licence","i-hugeicons-license",{"title":405,"path":406,"stem":407,"icon":211},"Updates","\u002Fen\u002Fself-hosting\u002Fupdates","en\u002F09.self-hosting\u002F06.updates",{"title":409,"path":410,"stem":411,"icon":412},"Postgres","\u002Fen\u002Fself-hosting\u002Fpostgres","en\u002F09.self-hosting\u002F07.postgres","i-hugeicons-database",{"title":414,"path":415,"stem":416,"icon":417},"Backups","\u002Fen\u002Fself-hosting\u002Fbackups","en\u002F09.self-hosting\u002F08.backups","i-hugeicons-database-restore",{"title":419,"path":420,"stem":421,"icon":261},"Troubleshooting","\u002Fen\u002Fself-hosting\u002Ftroubleshooting","en\u002F09.self-hosting\u002F09.troubleshooting",{"title":423,"path":424,"stem":425,"icon":426},"Firewall","\u002Fen\u002Fself-hosting\u002Ffirewall","en\u002F09.self-hosting\u002F10.firewall","i-hugeicons-firewall",{"id":428,"title":291,"body":429,"description":1052,"extension":1053,"links":1054,"meta":1055,"navigation":1056,"path":292,"seo":1057,"stem":293,"__hash__":1058},"docs_en\u002Fen\u002F06.external-sources\u002F04.google-drive.md",{"type":430,"value":431,"toc":1036},"minimark",[432,452,459,470,475,485,579,583,592,596,603,637,647,651,669,735,754,758,765,854,858,875,878,943,947,960,1022,1029],[433,434,435,436,439,440,443,444,447,448,451],"p",{},"With the ",[437,438,291],"strong",{}," system type, DDM fetches the files from ",[437,441,442],{},"one folder"," in Google Drive – in a person's „My Drive\" or in a ",[437,445,446],{},"shared drive"," – including its sub-folders, and keeps them up to date. Google Docs, Sheets, Slides and Drawings arrive as ",[437,449,450],{},"PDF",".",[433,453,454,455,458],{},"DDM signs in with a ",[437,456,457],{},"service account"," – a Google account for programs, not for people. You share the folder with this service account as you would with a colleague, and DDM reads it. Nobody has to sign in to Google in DDM.",[460,461,462,463,466,467,451],"note",{},"Available from the ",[437,464,465],{},"Professional"," plan – see ",[468,469,103],"a",{"href":104},[471,472,474],"h2",{"id":473},"_1-create-a-service-account","1. Create a service account",[433,476,477,478,484],{},"This is done in the ",[468,479,483],{"href":480,"rel":481},"https:\u002F\u002Fconsole.cloud.google.com",[482],"nofollow","Google Cloud console"," with an account that may manage projects there.",[486,487,489,494,501,505,523,527,545,555,559],"steps",{"level":488},"3",[490,491,493],"h3",{"id":492},"choose-a-project","Choose a project",[433,495,496,497,451],{},"At the top, choose a project or create one, e.g. ",[498,499,500],"code",{},"ddm-import",[490,502,504],{"id":503},"enable-the-google-drive-api","Enable the Google Drive API",[433,506,507,508,511,512,515,516,519,520,451],{},"Go to ",[437,509,510],{},"APIs & Services"," › ",[437,513,514],{},"Library",", search for ",[437,517,518],{},"Google Drive API"," and click ",[437,521,522],{},"Enable",[490,524,526],{"id":525},"create-the-service-account","Create the service account",[433,528,507,529,511,532,511,535,538,539,541,542,451],{},[437,530,531],{},"IAM & Admin",[437,533,534],{},"Service accounts",[437,536,537],{},"Create service account",". Give it a name, e.g. ",[498,540,500],{},". It needs no roles in the project – skip those steps and click ",[437,543,544],{},"Done",[433,546,547,548,551,552,451],{},"Note the service account's ",[437,549,550],{},"e-mail address",", e.g. ",[498,553,554],{},"ddm-import@ddm-import.iam.gserviceaccount.com",[490,556,558],{"id":557},"download-a-key","Download a key",[433,560,561,562,511,565,511,568,571,572,519,575,578],{},"Open the service account, go to ",[437,563,564],{},"Keys",[437,566,567],{},"Add key",[437,569,570],{},"Create new key",", choose ",[437,573,574],{},"JSON",[437,576,577],{},"Create",". Your browser downloads a file – this is the key you will paste into DDM shortly.",[580,581,582],"warning",{},"Whoever has the key file can read everything shared with the service account. Do not leave it lying around, and delete it once it is stored in DDM – DDM stores it encrypted.",[584,585,586,587,591],"tip",{},"If your organisation does not allow service account keys (the ",[588,589,590],"em",{},"iam.disableServiceAccountKeyCreation"," policy), your Google Cloud administrator has to make an exception for this project.",[471,593,595],{"id":594},"_2-share-the-folder","2. Share the folder",[433,597,598,599,602],{},"This is the step most often missed: the service account sees ",[437,600,601],{},"nothing"," that has not been shared with it.",[604,605,606,624],"ul",{},[607,608,609,612,613,616,617,511,620,623],"li",{},[437,610,611],{},"A folder in „My Drive\"",": in Google Drive, right-click the folder › ",[437,614,615],{},"Share"," › enter the service account's e-mail address › role ",[437,618,619],{},"Viewer",[437,621,622],{},"Send",". You can switch off the notification – the service account does not read e-mails.",[607,625,626,629,630,632,633,636],{},[437,627,628],{},"A shared drive",": add the service account as a member with the ",[437,631,619],{}," role (in the shared drive › ",[437,634,635],{},"Manage members",").",[433,638,639,640,643,644,451],{},"Then copy the ",[437,641,642],{},"folder's address"," from the browser's address bar, e.g. ",[498,645,646],{},"https:\u002F\u002Fdrive.google.com\u002Fdrive\u002Ffolders\u002F1AbCdEfGh…",[471,648,650],{"id":649},"_3-add-the-source-in-ddm","3. Add the source in DDM",[433,652,653,654,511,656,658,659,662,663,665,666,451],{},"Under ",[437,655,98],{},[437,657,272],{},", add a source with ",[437,660,661],{},"New source",", give it a name and choose ",[437,664,291],{}," as the ",[437,667,668],{},"System type",[670,671,672,685],"table",{},[673,674,675],"thead",{},[676,677,678,682],"tr",{},[679,680,681],"th",{},"Field",[679,683,684],{},"What to enter",[686,687,688,703,721],"tbody",{},[676,689,690,696],{},[691,692,693],"td",{},[437,694,695],{},"Folder (id or link)",[691,697,698,699,702],{},"The folder's address from the browser – or just the ID after it, ",[498,700,701],{},"1AbCdEfGh…",". Either works",[676,704,705,710],{},[691,706,707],{},[437,708,709],{},"Service account key (JSON)",[691,711,712,713,716,717,720],{},"The ",[437,714,715],{},"entire content"," of the downloaded JSON file – open it in a text editor, select everything and paste it. It starts with ",[498,718,719],{},"{ \"type\": \"service_account\"",". Stored encrypted, never shown again",[676,722,723,728],{},[691,724,725],{},[437,726,727],{},"Act on behalf of (optional)",[691,729,730,731],{},"Leave it empty – unless you use ",[468,732,734],{"href":733},"#acting-on-behalf-of-a-person","domain-wide delegation",[584,736,737,738,741,742,745,746,749,750,511,752,451],{},"A JSON file for an ",[437,739,740],{},"OAuth client"," (it contains ",[498,743,744],{},"\"installed\""," or ",[498,747,748],{},"\"web\"",") is not a service account key and is refused. It must be the file from ",[437,751,534],{},[437,753,564],{},[471,755,757],{"id":756},"_4-test-the-connection","4. Test the connection",[433,759,760,761,764],{},"Click ",[437,762,763],{},"Test connection",". DDM signs in to Google as the service account and opens the folder.",[670,766,767,777],{},[673,768,769],{},[676,770,771,774],{},[679,772,773],{},"Message",[679,775,776],{},"What to do",[686,778,779,789,799,809,823,837],{},[676,780,781,786],{},[691,782,783],{},[437,784,785],{},"Connected — “…” is readable.",[691,787,788],{},"All good – DDM names the folder it found.",[676,790,791,796],{},[691,792,793],{},[437,794,795],{},"The folder or the service account key is still missing.",[691,797,798],{},"One of the two has not been entered yet.",[676,800,801,806],{},[691,802,803],{},[437,804,805],{},"The service account key cannot be read — please paste the whole content of the JSON file.",[691,807,808],{},"The key is incomplete or not a service account key. Paste the whole content of the JSON file again.",[676,810,811,816],{},[691,812,813],{},[437,814,815],{},"Google rejected the service account — check the key, whether the Google Drive API is enabled and, with “Act on behalf of”, the domain-wide delegation.",[691,817,818,819,822],{},"Google refused the service account: the key was deleted in the Cloud console, the Google Drive API is not enabled in the project, or with ",[437,820,821],{},"Act on behalf of"," the domain-wide delegation is missing.",[676,824,825,830],{},[691,826,827],{},[437,828,829],{},"The folder is not readable — is it shared with the service account, and is the ID that of a folder?",[691,831,832,833,836],{},"The folder is not ",[437,834,835],{},"shared"," with the service account, the ID is wrong, or it belongs to a file rather than a folder.",[676,838,839,844],{},[691,840,841],{},[437,842,843],{},"The address does not answer — check the URL, the port and the firewall.",[691,845,846,847,850,851,451],{},"The DDM server cannot reach Google – allow outgoing connections to ",[498,848,849],{},"oauth2.googleapis.com"," and ",[498,852,853],{},"www.googleapis.com",[471,855,857],{"id":856},"_5-import-scope-and-sync","5. Import scope and sync",[433,859,653,860,863,864,867,868,871,872,451],{},[437,861,862],{},"Import scope",", decide how folders become categories and which files count, sync once with ",[437,865,866],{},"Sync now"," and switch on ",[437,869,870],{},"Source active"," – see ",[468,873,245],{"href":874},"\u002Fen\u002Fexternal-sources\u002Foverview#import-scope",[433,876,877],{},"What applies to Google Drive:",[604,879,880,887,910,922,933],{},[607,881,882,883,886],{},"DDM takes over all files in the folder and its sub-folders. Files in the ",[437,884,885],{},"bin"," do not count.",[607,888,889,892,893,892,896,850,899,902,903,905,906,909],{},[437,890,891],{},"Google Docs",", ",[437,894,895],{},"Sheets",[437,897,898],{},"Slides",[437,900,901],{},"Drawings"," arrive as ",[437,904,450],{},"; ",[498,907,908],{},".pdf"," is added to the name. If somebody changes the document in Google, the next sync brings a new PDF as a new version.",[607,911,912,892,915,892,918,921],{},[437,913,914],{},"Forms",[437,916,917],{},"Sites",[437,919,920],{},"Shortcuts"," and other Google-specific types are skipped.",[607,923,924,925,928,929,932],{},"A file is recognised by its ",[437,926,927],{},"file ID",". If you rename it in Drive or move it within the shared folder, it remains ",[437,930,931],{},"the same document"," in DDM; the sync does not change its category.",[607,934,935,936,939,940,942],{},"For the ",[437,937,938],{},"File filter",", the name counts as it arrives in DDM – so a Google Doc with ",[498,941,908],{}," at the end.",[471,944,946],{"id":945},"acting-on-behalf-of-a-person","Acting on behalf of a person",[433,948,949,950,952,953,956,957,959],{},"Instead of sharing folders one by one, in a ",[437,951,223],{}," organisation the service account can read everything ",[437,954,955],{},"one particular person"," sees – with ",[437,958,734],{},". This needs a super admin of your Google Workspace.",[961,962,963,972,996,1014],"ol",{},[607,964,965,966,971],{},"Open the key file and note the ",[437,967,968],{},[498,969,970],{},"client_id"," – a long number.",[607,973,974,975,980,981,511,984,511,987,511,990,511,993,451],{},"In the ",[468,976,979],{"href":977,"rel":978},"https:\u002F\u002Fadmin.google.com",[482],"Google Admin console",": ",[437,982,983],{},"Security",[437,985,986],{},"Access and data control",[437,988,989],{},"API controls",[437,991,992],{},"Manage Domain Wide Delegation",[437,994,995],{},"Add new",[607,997,998,1001,1002,1004,1005,980,1008,1004,1011,451],{},[437,999,1000],{},"Client ID",": the ",[498,1003,970],{},". ",[437,1006,1007],{},"OAuth scopes",[498,1009,1010],{},"https:\u002F\u002Fwww.googleapis.com\u002Fauth\u002Fdrive.readonly",[437,1012,1013],{},"Authorize",[607,1015,1016,1017,551,1019,451],{},"In DDM, enter the person's e-mail address under ",[437,1018,727],{},[498,1020,1021],{},"marketing@company.com",[433,1023,1024,1025,1028],{},"DDM then reads as this person – the folder must be visible to ",[437,1026,1027],{},"them",", not to the service account. It can take a few minutes until the delegation takes effect.",[580,1030,1031,1032,1035],{},"With domain-wide delegation, the service account could read files on behalf of ",[437,1033,1034],{},"every"," person in your domain. Only set it up if sharing individual folders is not enough.",{"title":1037,"searchDepth":1038,"depth":1038,"links":1039},"",2,[1040,1047,1048,1049,1050,1051],{"id":473,"depth":1038,"text":474,"children":1041},[1042,1044,1045,1046],{"id":492,"depth":1043,"text":493},3,{"id":503,"depth":1043,"text":504},{"id":525,"depth":1043,"text":526},{"id":557,"depth":1043,"text":558},{"id":594,"depth":1038,"text":595},{"id":649,"depth":1038,"text":650},{"id":756,"depth":1038,"text":757},{"id":856,"depth":1038,"text":857},{"id":945,"depth":1038,"text":946},"Take over documents from a folder in Google Drive or a shared drive – with a service account in Google Cloud.","md",null,{},{"icon":294},{"title":291,"description":1052},"KN_M6cfXjCQ9Z3EMMCIU9N_YOSFSlEPLVB5r-TmbXcg",[1060,1062],{"title":286,"path":287,"stem":288,"description":1061,"icon":289,"children":-1},"Take over documents from a person's OneDrive – with an app registration in Microsoft Entra ID.",{"title":296,"path":297,"stem":298,"description":1063,"icon":299,"children":-1},"Take over documents from an FTP, FTPS or SFTP server – with a password or an SSH key.",1793617721198]