OpenAI
Ang page na ito ay isinalin ng AI. Tingnan ang orihinal na artikulo sa English.

Google Workspace - Setup na Admin-Managed

Na-update: 22 days ago

Upang ikonekta ang iyong Google Workspace sa ChatGPT gamit ang admin-managed setup, iko-configure mo muna ang access sa mga admin console ng Google:

  • Gumawa ng service account na may read-only access sa Google Drive, mga user, at mga group.

    • Mahigpit na inirerekomenda na likhain ang service account na ito sa ilalim ng kaparehong Google account na nauugnay sa iyong ChatGPT Workspace. Kung ang mga account sa ChatGPT workspace ay may ibang email domain kaysa sa ginagamit sa Google Workspace, may mga karagdagang hakbang na kailangan mong sundin upang ma-enable ang connector na ito para sa iyong mga user.

  • Gumawa ng admin account na pagkikilosan ng service account.

Pagkatapos, tapusin ang setup sa ChatGPT admin console:

  • I-upload ang private key ng service account (isang JSON file mula sa Google)

  • Tukuyin ang admin account (walang credentials na kailangan).

  • Piliin kung aling mga file ang isi-sync at piliin ang mga user na magkakaroon ng access sa koneksyon.

Gagabayan ka ng gabay na ito sa bawat isa sa 6 na hakbang na ito.

Pag-set up ng Service Account

  1. Pumunta sa console.cloud.google.com.

  2. I-click ang dropdown ng projects.LarawanTiyaking naka-log in ka sa parehong Google workspace na nauugnay sa iyong ChatGPT workspace (kung wala kang Google workspace na nauugnay sa iyong ChatGPT workspace at magkaiba ang mga email sa dalawa, kailangan mong sumunod sa mga karagdagang hakbang, kung hindi ay maaaring hindi magamit ng iyong mga user ang Google Drive synced connectors).

  3. Piliin ang New Project

    Google Cloud Select a resource dialog with dolores-lab.com organization selected
  4. Maglagay ng Project Name

    Google Cloud New Project form with organization dolores-lab.com selected and Create button available
  5. Likhain ang project

    Google Cloud New Project form with ChatGPT Google Connector entered under the dolores-lab.com organization
  6. Maghintay hanggang malikha ang project, pagkatapos ay i-click ang Select Project

    Google Cloud notifications confirm creation of the ChatGPT Google Connector project for dolores-lab.com
  7. I-click ang APIs & Services

    Image
  8. I-click ang Library

    Image
  9. Magdaragdag na tayo ngayon ng tatlong API, gamit ang search box upang mahanap ang mga ito

    Google Cloud API Library page with the ChatGPT Google Connector project selected
  10. Hanapin at piliin ang Google Drive API

    Google Cloud API Library search results for Google Drive API in the ChatGPT Google Connector project
  11. I-click ang Enable

    Google Cloud Console Google Drive API page with the Enable button for the ChatGPT Google Connector project
  12. I-click ang Library

    Google Drive API details page with the API enabled and Create Credentials available
  13. Hanapin ang Google Drive Activity

    Google Cloud API Library open for the ChatGPT Google Connector project
  14. Piliin ang Google Drive Activity API

    Google Cloud API Library search results for Google Drive Activity API
  15. I-click ang Enable

    Image
  16. I-click ang Library

    Google Cloud Console Drive Activity API details page with the API enabled and Create credentials available
  17. Hanapin ang Admin SDK API

    Google Cloud API Library page for the ChatGPT Google Connector project
  18. Piliin ang Admin SDK API

    Google Cloud API Library search results for Admin SDK API with Admin SDK API listed
  19. I-click ang Enable

    Google Cloud Admin SDK API page with the Enable button for the ChatGPT Google Connector project
  20. I-click ang Credentials

    Google Cloud Admin SDK API details page with the API enabled and Create credentials button available
  21. I-click ang Create Credentials

    Google Cloud APIs & Services Credentials page with Configure consent screen button
  22. I-click ang Service account

    Google Cloud Credentials page with Create credentials menu open for API key, OAuth client ID, or service account
  23. Magbigay ng pangalan at paglalarawan na iyong pipiliin para sa service account na ito

    Google Cloud Create service account page with Service Accounts selected and service account details fields
  24. (Opsyonal) Maaari kang magtalaga ng role - hindi ito kailangan ng ChatGPT.

    Google Cloud Create service account page with optional IAM role step and Service account created confirmation
  25. (Opsyonal) Maaari kang magbigay ng access sa service account - hindi ito kailangan ng ChatGPT.

    Google Cloud Create service account step 3 with Done button and Service account created confirmation
  26. I-click ang Done.

    Create service account step 3 in Google Cloud with Done button and Service account created confirmation
  27. I-click ang service account na nalikha na ngayon.

    Google Cloud Credentials page listing the newly created ChatGPT Google Connector service account
  28. I-click ang keys.

    Google Cloud IAM service account details for ChatGPT Google Connector, enabled after creation
  29. I-click ang Add Key

    Image
  30. I-click ang Create new key

    Google Cloud service account Keys tab with Add key menu open to create or upload a key
  31. Panatilihin ang default na JSON key type at i-click ang Create
    Kung makakita ka ng mensahe ng error na nagsasabing “Service account key creation is disabled” sundin ang mga hakbang na ito upang i-enable ang paglikha.

    Create private key dialog for ChatGPT Google Connector with JSON key type selected
  32. I-click ang Close. Na-download na ngayon ang key sa iyong computer. Ia-upload mo ito mamaya sa ChatGPT admin console.

    Google Cloud service account Keys tab with confirmation that a private key JSON file was saved to the computer
  33. I-click ang details

    Google Cloud service account Keys tab for ChatGPT Google Connector with Add Key button
  34. Tandaan ang Unique ID. Kakailanganin ito sa Hakbang 42.

    Google Cloud service account details for ChatGPT Google Connector with status Enabled
  35. Palawakin ang Advanced settings

    Google Cloud service account details for ChatGPT Google Connector with the account enabled
  36. Mag-scroll pababa at i-click ang View Google Workspace Admin Console. Magbubukas ang Google Workspace console sa bagong tab.

    Image
  37. I-click ang Show more

    Google Workspace Admin console home page for dolores-lab.com
  38. Palawakin ang seksyong Security

    Image
  39. Palawakin ang seksyong Access and data controls

    Google Workspace Admin console home with Security section expanded in the left navigation
  40. I-click ang seksyong API controls

    Google Workspace Admin console home with Security > Access and data control expanded in the sidebar
  41. I-click ang Manage Domain Wide Delegation

    Google Admin console API controls page under Security > Access and data control
  42. I-click ang Add new

    Google Admin Domain-wide Delegation page with API clients list and Add new option
  43. Gamitin ang Unique ID na naunang itinala bilang value para sa Client ID na ito

    Google Admin Domain-wide Delegation dialog for adding a new client ID and OAuth scopes
  44. Para sa mga OAuth scopes, tingnan ang sumusunod na mga comma-delimited na auth scope value na kailangan mong kopyahin at i-paste:

https://www.googleapis.com/auth/admin.directory.group.readonly, https://www.googleapis.com/auth/admin.directory.group.member.readonly, https://www.googleapis.com/auth/admin.directory.user.readonly, https://www.googleapis.com/auth/admin.directory.user.alias.readonly, https://www.googleapis.com/auth/drive.activity.readonly, https://www.googleapis.com/auth/drive.metadata.readonly, https://www.googleapis.com/auth/drive.readonly, https://www.googleapis.com/auth/userinfo.profile, https://www.googleapis.com/auth/userinfo.email
ScopePangangatwiran
admin.directory.group.readonlyipatupad ang mga pahintulot na batay sa group
admin.directory.group.member.readonlyipatupad ang mga pahintulot na batay sa group
admin.directory.user.alias.readonlypangasiwaan ang mga kaso kung saan nabibigyan ng pahintulot ang user sa pamamagitan ng alias
drive.activity.readonlyupang maabisuhan kapag may mga pagbabagong nangyari sa mga file
drive.metadata.readonlyi-sync ang nilalaman ng file at kaugnay na metadata (hal. petsa ng huling pagbabago)
drive.readonlyi-sync ang nilalaman ng file at kaugnay na metadata (hal. petsa ng huling pagbabago)
userinfo.profiletukuyin ang mga user na sini-sync-an namin ng mga file
userinfo.emailtukuyin ang mga user na sini-sync-an namin ng mga file
Google Admin Domain-wide Delegation dialog for adding a new client ID and OAuth scopes

45. I-click ang Authorize

Image

46. Tagumpay!

Image

Pag-set up ng Admin Account

  1. Palawakin ang Directory

    Google Admin Domain-wide Delegation page with a ChatGPT API client and scopes listed
  2. I-click ang Users

    Google Admin domain-wide delegation page listing a ChatGPT Google Connector API client and scopes
    Google Admin console Users page listing workspace accounts for setup and management
  3. Magbigay ng first name, last name, at primary email address na iyong pipiliin

    Google Admin console Add new user form for creating a Workspace user at dolores-lab.com
  4. I-click ang Add new user

    Google Admin console Add new user form filled for a ChatGPT Connector account
  5. (Opsyonal) Itala ang mga credential na ito. Hindi kailangan ng ChatGPT ang mga credential na ito.

    Google Admin Console New user added page for ChatGPT Connector with Copy Password and Done actions
  6. I-click ang Done.

    Google Admin console Copy password dialog for a newly created user account
  7. I-click ang account na kakagawa mo lang. Kung hindi ito lumabas sa listahan, i-refresh ang pahina o i-clear ang iyong cache at cookies at subukan muli.

    Google Admin console Users page listing accounts including ChatGPT Connector
  8. I-click ang assign roles.

    Google Admin user details page for the ChatGPT Connector service account
  9. I-toggle on ang mga role na Groups Reader, User Management Admin, at Storage Admin.

    Google Admin ChatGPT Connector user page with Admin roles and privileges open and no roles assigned
  10. Mag-scroll pababa at i-click ang Save. Matagumpay nang nalikha at na-configure ang admin account.

Image

Pagtatapos ng setup sa ChatGPT Admin Console

  1. Pumunta sa ChatGPT at i-click ang icon ng profile sa kanang itaas na sulok ng pahina.

    Image
  2. I-click ang Manage workspace

    ChatGPT workspace menu with Manage workspace selected under the organization switcher
  3. I-click ang Connections at pagkatapos sa ilalim ng ‘Synced connectors’Enable Sync

    Connectors page with Google Drive sync prompt and Enable Sync button highlighted
  4. Tiyaking napili ang Admin-managed at i-click ang Next

    Google Drive connection setup with Admin-managed setup selected over Self-service setup
  5. Maglagay ng display name. Inirerekomenda naming gamitin ang pangalan ng iyong Google Workspace.

    Pakitandaan na sa kasalukuyan ay hindi namin sinusuportahan ang pagpapalit ng pangalan ng iyong koneksyon.

    Google Workspace connector setup dialog with display name Dolores Labs entered
  6. I-click ang Save Draft and Continue

  7. I-click ang Upload key. Piliin ang JSON file, na siyang key na na-download mo bilang bahagi ng pag-set up ng service account sa itaas. Tiyaking tama ang key na ito

    Google Workspace connection setup step prompting upload of a service account key and admin email address
  8. Ilagay ang admin email address. Ito ang admin account na ginawa mo kanina.

    Image
  9. I-click ang Save.

    ChatGPT Connections credentials dialog with service account key and Google Workspace admin email entered
  10. Piliin kung gusto mong isama ang mga file sa lahat ng My Drive ng iyong mga user.

    ChatGPT Connections modal for User files with Include user My Drives enabled at step 2 of 5
  11. I-click ang Next

    ChatGPT admin Connections modal for User files with Include user My Drives enabled in step 2 of 5
  12. Piliin kung paano pamahalaan ang shared drives. Sinusuportahan namin ang sumusunod na tatlong sitwasyon:

    1. Kung gusto mong isama ang lahat ng shared drives, piliin ang Include by default at huwag magdagdag ng mga shared drive ID na ibubukod

    2. Kung gusto mong isama ang karamihan sa shared drives, piliin ang Include by default at idagdag ang mga ID para sa mga shared drive na gusto mong ibukod

    3. Kung gusto mong ibukod ang karamihan sa shared drives, piliin ang Exclude by default at idagdag ang mga ID para sa mga shared drive na gusto mong isama

    ChatGPT admin Shared drives setup with Include by default selected and an Excluded Shared drives field
  13. Upang hanapin ang ID para sa isang shared drive, pumunta rito sa isang web browser. Ang huling bahagi ng URL ay ang shared drive ID.
    Sa sumusunod na halimbawa, ito ay `0ADvY03uUbEcQUk9PVA`'

    Google Drive shared drive with Manage members visible for Example Shared Drive
  14. I-click ang Next

    ChatGPT admin Connections modal for Shared drives with Include by default selected at step 3 of 5
  15. Piliin kung sino ang dapat magkaroon ng access sa koneksyon sa Google Drive. Maaari mong piliin ang mga Admin ng ChatGPT workspace lamang, o i-enable ito para sa lahat. Kung naka-enable para sa lahat, awtomatikong isasama ang mga bagong user na idaragdag sa workspace.

    Google Drive connector permission set to Admins only for workspace members
  16. I-click ang Start syncing

    Image
  17. Matagumpay nang nalikha ang iyong koneksyon sa Google Drive!
    Pakitandaan na bagama’t agad itong magsisimulang mag-sync, maaari itong umabot ng ilang oras hanggang ilang araw upang makumpleto depende sa dami ng mga file na isinama batay sa iyong mga setting.
    Kapag natapos nang mag-sync ang mga file na naidagdag/na-edit sa nakaraang 30 araw, magiging available ang connector sa mga user na pinag-enable-an mo nito.

    Image

Pag-enable sa paglikha ng service account key

Kung matatanggap mo ang sumusunod na error, kakailanganin mong i-enable ang paglikha ng service account para sa partikular na project na ito:

> Ang constraint ng patakaran ng organisasyon na ‘iam.disableServiceAccountKeyCreation’ ay ipinapatupad sa iyong organisasyon.

Google Cloud service account Keys tab with error that service account key creation is disabled
  1. Magbukas ng bagong tab at pumunta sa console.cloud.google.com. Tiyaking ang napiling project ay ang nauna mo nang napili.
    I-click ang menu icon sa kaliwang itaas na sulok.

    Google Cloud Console welcome page for the ChatGPT Google Connector project
  2. I-hover ang IAM & Admin

    Google Cloud Console navigation with IAM & Admin open and Organization Policies selected
  3. I-click ang Organizational Policies

    Google Cloud Console IAM & Admin menu opened to Organization Policies
  4. Hanapin ang iam.disableServiceAccountKeyCreation

    Google Cloud organization policies for the ChatGPT Google Connector project
  5. I-click ang resulta para sa constraints/iam.disableServiceAccountKeyCreation

    Image
  6. I-click ang … para sa row na may ID na iam.disableServiceAccountKeyCreation

    Organization policies filtered to Disable service account key creation for the ChatGPT Google Connector project
  7. I-click ang Edit policy. Kung disabled ang Edit policy, kakailanganin mong maging Organization Policy Administrator.

    Google Cloud Organization Policies filtered to Disable service account key creation with Edit policy menu open
  8. I-click ang Override parent’s policy

    Image
  9. I-click ang Add a rule

    Edit policy page for Disable service account key creation with Override parent's policy selected
  10. I-click ang Set Policy

    Google Cloud Edit policy page with Override parent's policy selected and enforcement set to Off
  11. Maaari ka nang gumawa ng service account key. Maaaring tumagal ng ilang minuto bago magkabisa ang enablement na ito.

Google Cloud policy details with Disable service account key creation set to Not enforced

Pagiging Organization Policy Administrator

  1. Pumunta sa console.cloud.google.com at i-click ang project/organization selector

    Google Cloud welcome page for the ChatGPT Google Connector project
  2. I-click ang iyong organisasyon

    Image
  3. I-click ang menu icon sa kaliwang itaas na sulok

    Image
  4. I-hover ang IAM & Admin

    Google Cloud console navigation menu open with Google Cloud Setup pinned
  5. I-click ang IAM

    Image
  6. I-click ang pencil para sa iyong account

    Google Cloud IAM page for dolores-lab.com showing organization permissions and the Grant Access action
  7. I-click ang Add Another Role

    Google Cloud IAM dialog assigning the Organization Administrator role for dolores-lab.com
  8. Hanapin ang Organization Policy Administrator

    Google Cloud IAM edit access dialog assigning the Organization Administrator role to a user
  9. I-click ang Organization Policy Administrator

    Google Cloud IAM role picker with Organization Policy Administrator selected while editing access
  10. I-click ang Save

    Google Cloud IAM access editor assigning Organization Administrator and Organization Policy Administrator roles
  11. May pahintulot na ngayon ang iyong account upang i-enable ang paglikha ng service account key. Maaaring tumagal ng ilang minuto bago ito magkabisa.

Paggamit ng Google Email Alias upang Mapanatili ang Magkaibang Email Account para sa Google Workspace at ChatGPT

Kung ikaw ay admin na nagkokonekta ng Google Workspace sa iyong ChatGPT workspace gamit ang admin-managed setup para sa Google Drive synced connectors, at ang iyong organisasyon ay gumagamit ng magkaibang email domain para sa ChatGPT at Google Workspace, kakailanganin mong gumawa ng mga karagdagang hakbang upang matiyak na matagumpay na maa-access ng mga user ang Google Drive synced connectors.

Rekomendasyon: Kung maaari, gamitin ang parehong pangunahing email address para sa Google Workspace at ChatGPT accounts.

Kung hindi ito posible, sundin ang mga tagubilin sa ibaba upang mag-configure ng Google Workspace email alias na tumutugma sa email sa pag-sign in sa ChatGPT.

Mga Hakbang para Magdagdag ng Google Workspace Alias

Sundin ang mga hakbang na ito sa Google Admin Console upang matiyak na ang ChatGPT email ng bawat user ay maikokonekta sa kanilang Google Workspace account:

  1. Pumunta sa Admin Console. Pumunta sa: Directory > Users

Image

2. Pumili ng User, pagkatapos ay “ADD ALTERNATIVE EMAILS”.

Google Admin user details page with Add alternate emails action highlighted

3. Magdagdag ng Alternative Email. Tiyaking tumutugma ito sa ChatGPT account ng user.

Google Workspace Admin alternate email alias form with alias-testing-alt-email on bytesheaven.com

4. Piliin ang Save


Mga Kilalang Limitasyon

Hindi sinusuportahan ang mga personal na email address

Ang mga user na nagrerehistro sa ChatGPT gamit ang mga personal na address (hal., example@gmail.com) ay hindi makakakonekta sa Google Workspace. Hindi suportado ang setup na ito at may panganib sa seguridad, dahil nagbibigay ito ng access sa panloob na data mula sa labas ng organisasyon.

Hindi sinusuportahan ang Gmail “+” aliases

Pinapayagan ng Gmail ang mga user na gumawa ng aliases sa pamamagitan ng pagdaragdag ng “+” sa kanilang address (hal., user+alias@gmail.com). Hindi gumagana ang ganitong uri ng aliasing sa Google Drive synced connectors. Dapat tahasang i-configure ang alias sa Google Workspace.

Karaniwang Mensahe ng Error

Kung hindi wastong nakakaugnay ang mga email address, maaaring makita ng mga user ang mensaheng ito: “Hindi namin maikonekta ang iyong account sa Google Drive. I-click upang matuto pa.”

Kung matanggap ng mga user ang mensaheng ito, suriin ang mga hakbang sa dokumentong ito at tiyaking nasusunod ang mga ito nang tama. Kung kailangan ng karagdagang tulong, mangyaring makipag-ugnayan sa aming support team.

Nakatulong ba ang artikulong ito?