OpenAI
اس صفحے کا مشینی ترجمہ کیا گیا تھا. اصل انگریزی مضمون دیکھیں.

Google Workspace - Admin-Managed Setup

آخری اپ ڈیٹ: 7 days ago

اپنے Google Workspace کو admin-managed setup استعمال کرتے ہوئے ChatGPT سے connect کرنے کے لیے، پہلے آپ Google کے admin consoles میں access configure کریں گے:

  • ایک service account بنائیں جسے Google Drive، users، اور groups تک صرف read-only رسائی حاصل ہو۔

    • سختی سے سفارش کی جاتی ہے کہ یہ service account اسی Google اکاؤنٹ کے تحت بنایا جائے جو آپ کے ChatGPT Workspace سے منسلک ہے۔ اگر ChatGPT ورک اسپیس کے اکاؤنٹس کا ای میل ڈومین Google Workspace میں استعمال ہونے والے ڈومین سے مختلف ہے، تو اپنے صارفین کے لیے اس connector کو فعال کرنے کے لیے آپ کو اضافی مراحل فالو کرنے ہوں گے۔

  • ایک admin account بنائیں جس کی جانب سے service account کام کرے گا۔

پھر، ChatGPT admin console میں setup مکمل کریں:

  • service account کی private key اپ لوڈ کریں (Google کی طرف سے ایک JSON فائل)

  • admin account مشخص کریں (credentials درکار نہیں)۔

  • منتخب کریں کہ کن فائلوں کو sync کرنا ہے اور ان صارفین کا انتخاب کریں جنہیں اس connection تک رسائی ہوگی۔

یہ گائیڈ آپ کو ان 6 مراحل میں سے ہر ایک سے گزارتی ہے۔

Service Account سیٹ اپ کرنا

  1. console.cloud.google.com پر جائیں۔

  2. projects dropdown پر کلک کریں۔Imageیقینی بنائیں کہ آپ اسی Google ورک اسپیس میں لاگ اِن ہیں جو آپ کے ChatGPT ورک اسپیس سے منسلک ہے (اگر آپ کے ChatGPT ورک اسپیس سے کوئی Google ورک اسپیس منسلک نہیں ہے اور دونوں کے ای میل مختلف ہیں، تو آپ کو اضافی مراحل فالو کرنے ہوں گے، ورنہ آپ کے صارفین Google Drive synced connectors استعمال نہیں کر سکیں گے)۔

  3. New Project منتخب کریں

    Google Cloud Select a resource dialog with dolores-lab.com organization selected
  4. Project Name درج کریں

    Google Cloud New Project form with organization dolores-lab.com selected and Create button available
  5. پروجیکٹ بنائیں

    Google Cloud New Project form with ChatGPT Google Connector entered under the dolores-lab.com organization
  6. پروجیکٹ بننے تک انتظار کریں، پھر Select Project پر کلک کریں

    Google Cloud notifications confirm creation of the ChatGPT Google Connector project for dolores-lab.com
  7. APIs & Services پر کلک کریں

    Image
  8. Library پر کلک کریں

    Image
  9. اب ہم تین APIs شامل کریں گے، انہیں تلاش کرنے کے لیے search box استعمال کریں گے

    Google Cloud API Library page with the ChatGPT Google Connector project selected
  10. تلاش کریں اور Google Drive API منتخب کریں

    Google Cloud API Library search results for Google Drive API in the ChatGPT Google Connector project
  11. Enable پر کلک کریں

    Google Cloud Console Google Drive API page with the Enable button for the ChatGPT Google Connector project
  12. Library پر کلک کریں

    Google Drive API details page with the API enabled and Create Credentials available
  13. Google Drive Activity تلاش کریں

    Google Cloud API Library open for the ChatGPT Google Connector project
  14. Google Drive Activity API منتخب کریں

    Google Cloud API Library search results for Google Drive Activity API
  15. Enable پر کلک کریں

    Image
  16. Library پر کلک کریں

    Google Cloud Console Drive Activity API details page with the API enabled and Create credentials available
  17. Admin SDK API تلاش کریں

    Google Cloud API Library page for the ChatGPT Google Connector project
  18. Admin SDK API منتخب کریں

    Google Cloud API Library search results for Admin SDK API with Admin SDK API listed
  19. Enable پر کلک کریں

    Google Cloud Admin SDK API page with the Enable button for the ChatGPT Google Connector project
  20. Credentials پر کلک کریں

    Google Cloud Admin SDK API details page with the API enabled and Create credentials button available
  21. Create Credentials پر کلک کریں

    Google Cloud APIs & Services Credentials page with Configure consent screen button
  22. Service account پر کلک کریں

    Google Cloud Credentials page with Create credentials menu open for API key, OAuth client ID, or service account
  23. اس service account کے لیے اپنی پسند کا name اور description دیں

    Google Cloud Create service account page with Service Accounts selected and service account details fields
  24. (Optional) آپ ایک role تفویض کر سکتے ہیں - ChatGPT کو اس کی ضرورت نہیں ہے۔

    Google Cloud Create service account page with optional IAM role step and Service account created confirmation
  25. (Optional) آپ service account کو رسائی دے سکتے ہیں - ChatGPT کو اس کی ضرورت نہیں ہے۔

    Google Cloud Create service account step 3 with Done button and Service account created confirmation
  26. Done پر کلک کریں۔

    Create service account step 3 in Google Cloud with Done button and Service account created confirmation
  27. اس service account پر کلک کریں جو اب بن چکا ہے۔

    Google Cloud Credentials page listing the newly created ChatGPT Google Connector service account
  28. keys. پر کلک کریں

    Google Cloud IAM service account details for ChatGPT Google Connector, enabled after creation
  29. Add Key پر کلک کریں

    Image
  30. Create new key پر کلک کریں

    Google Cloud service account Keys tab with Add key menu open to create or upload a key
  31. ڈیفالٹ JSON key type رکھیں اور Create پر کلک کریں
    اگر آپ کو یہ error message نظر آئے کہ “Service account key creation is disabled” تو creation فعال کرنے کے لیے یہ مراحل فالو کریں۔

    Create private key dialog for ChatGPT Google Connector with JSON key type selected
  32. Close پر کلک کریں۔ key اب آپ کے کمپیوٹر پر ڈاؤن لوڈ ہو چکی ہے۔ بعد میں آپ اسے ChatGPT admin console میں اپ لوڈ کریں گے۔

    Google Cloud service account Keys tab with confirmation that a private key JSON file was saved to the computer
  33. details پر کلک کریں

    Google Cloud service account Keys tab for ChatGPT Google Connector with Add Key button
  34. Unique ID نوٹ کر لیں۔ یہ Step 42 میں درکار ہوگی۔

    Google Cloud service account details for ChatGPT Google Connector with status Enabled
  35. Advanced settings کو کھولیں

    Google Cloud service account details for ChatGPT Google Connector with the account enabled
  36. نیچے اسکرول کریں اور View Google Workspace Admin Console پر کلک کریں۔ Google Workspace console نئے tab میں کھلے گا۔

    Image
  37. Show more پر کلک کریں

    Google Workspace Admin console home page for dolores-lab.com
  38. Security سیکشن کو کھولیں

    Image
  39. Access and data controls سیکشن کو کھولیں

    Google Workspace Admin console home with Security section expanded in the left navigation
  40. API controls سیکشن پر کلک کریں

    Google Workspace Admin console home with Security > Access and data control expanded in the sidebar
  41. Manage Domain Wide Delegation پر کلک کریں

    Google Admin console API controls page under Security > Access and data control
  42. Add new پر کلک کریں

    Google Admin Domain-wide Delegation page with API clients list and Add new option
  43. پہلے نوٹ کی گئی Unique ID کو اس Client ID کی value کے طور پر استعمال کریں

    Google Admin Domain-wide Delegation dialog for adding a new client ID and OAuth scopes
  44. OAuth scopes کے لیے، درج ذیل comma de-limited auth scopes values دیکھیں جنہیں آپ کو copy اور 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
Scopeریزننگ
admin.directory.group.readonlygroup-based permissions نافذ کرنے کے لیے
admin.directory.group.member.readonlygroup-based permissions نافذ کرنے کے لیے
admin.directory.user.alias.readonlyایسے معاملات سنبھالنے کے لیے جہاں صارف کو alias کے ذریعے permission دی گئی ہو
drive.activity.readonlyفائلوں میں تبدیلی ہونے پر اطلاع ملنے کے لیے
drive.metadata.readonlyفائل کا مواد اور متعلقہ metadata sync کرنے کے لیے (مثلاً آخری ترمیم کی تاریخ)
drive.readonlyفائل کا مواد اور متعلقہ metadata sync کرنے کے لیے (مثلاً آخری ترمیم کی تاریخ)
userinfo.profileیہ معلوم کرنے کے لیے کہ ہم کن صارفین کے لیے فائلیں sync کر رہے ہیں
userinfo.emailیہ معلوم کرنے کے لیے کہ ہم کن صارفین کے لیے فائلیں sync کر رہے ہیں
Google Admin Domain-wide Delegation dialog for adding a new client ID and OAuth scopes

45. Authorize پر کلک کریں

Image

46. کامیابی!

Image

Admin Account سیٹ اپ کرنا

  1. Directory کو کھولیں

    Google Admin Domain-wide Delegation page with a ChatGPT API client and scopes listed
  2. 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. اپنی پسند کا first name، last name، اور primary email address فراہم کریں

    Google Admin console Add new user form for creating a Workspace user at dolores-lab.com
  4. Add new user پر کلک کریں

    Google Admin console Add new user form filled for a ChatGPT Connector account
  5. (Optional) ان credentials کو ریکارڈ کر لیں۔ ChatGPT کو ان credentials کی ضرورت نہیں ہے۔

    Google Admin Console New user added page for ChatGPT Connector with Copy Password and Done actions
  6. Done پر کلک کریں۔

    Google Admin console Copy password dialog for a newly created user account
  7. ابھی بنائے گئے account پر کلک کریں۔ اگر یہ فہرست میں نظر نہ آئے، تو صفحہ refresh کریں یا اپنا cache اور cookies صاف کر کے دوبارہ کوشش کریں۔

    Google Admin console Users page listing accounts including ChatGPT Connector
  8. assign roles پر کلک کریں۔

    Google Admin user details page for the ChatGPT Connector service account
  9. Groups Reader, User Management Admin, اور Storage Admin roles کو آن کریں۔

    Google Admin ChatGPT Connector user page with Admin roles and privileges open and no roles assigned
  10. نیچے اسکرول کریں اور Save. پر کلک کریں۔ admin account اب کامیابی سے بنا اور configure ہو چکا ہے۔

Image

ChatGPT ایڈمن کنسول میں سیٹ اپ مکمل کرنا

  1. ChatGPT پر جائیں اور صفحے کے اوپری دائیں کونے میں پروفائل آئیکن پر کلک کریں۔

    Image
  2. Manage workspace پر کلک کریں

    ChatGPT workspace menu with Manage workspace selected under the organization switcher
  3. Connections پر کلک کریں اور پھر ‘Synced connectors’ کے تحت → Enable Sync

    Connectors page with Google Drive sync prompt and Enable Sync button highlighted
  4. یقینی بنائیں کہ Admin-managed منتخب ہے اور Next پر کلک کریں

    Google Drive connection setup with Admin-managed setup selected over Self-service setup
  5. ایک display name درج کریں۔ ہم آپ کے Google Workspace کا نام استعمال کرنے کی سفارش کرتے ہیں۔

    براہ کرم نوٹ کریں کہ فی الحال ہم آپ کے کنکشن کا نام تبدیل کرنے کی سپورٹ نہیں کرتے۔

    Google Workspace connector setup dialog with display name Dolores Labs entered
  6. Save Draft and Continue پر کلک کریں

  7. Upload key پر کلک کریں۔ JSON فائل منتخب کریں، جو وہ key ہے جسے آپ نے اوپر service account سیٹ اپ کرتے وقت ڈاؤن لوڈ کیا تھا۔ یقینی بنائیں کہ یہ key درست ہے

    Google Workspace connection setup step prompting upload of a service account key and admin email address
  8. admin email address درج کریں۔ یہ وہ ایڈمن اکاؤنٹ ہے جو آپ نے پہلے بنایا تھا۔

    Image
  9. Save. پر کلک کریں

    ChatGPT Connections credentials dialog with service account key and Google Workspace admin email entered
  10. منتخب کریں کہ آیا آپ چاہتے ہیں کہ آپ کے تمام صارفین کے My Drives میں موجود فائلیں شامل ہوں۔

    ChatGPT Connections modal for User files with Include user My Drives enabled at step 2 of 5
  11. Next پر کلک کریں

    ChatGPT admin Connections modal for User files with Include user My Drives enabled in step 2 of 5
  12. منتخب کریں کہ shared drives کو کیسے مینیج کرنا ہے۔ ہم درج ذیل تین صورتِ حال کو سپورٹ کرتے ہیں:

    1. اگر آپ تمام shared drives شامل کرنا چاہتے ہیں، تو Include by default منتخب کریں اور خارج کرنے کے لیے shared drive IDs شامل نہ کریں

    2. اگر آپ زیادہ تر shared drives شامل کرنا چاہتے ہیں، تو Include by default منتخب کریں اور اُن shared drives کی IDs شامل کریں جنہیں آپ خارج کرنا چاہتے ہیں

    3. اگر آپ زیادہ تر shared drives خارج کرنا چاہتے ہیں، تو Exclude by default منتخب کریں اور اُن shared drives کی IDs شامل کریں جنہیں آپ شامل کرنا چاہتے ہیں

    ChatGPT admin Shared drives setup with Include by default selected and an Excluded Shared drives field
  13. کسی shared drive کی ID معلوم کرنے کے لیے، ویب براؤزر میں اس پر جائیں۔ URL کا آخری حصہ shared drive ID ہوتا ہے۔
    درج ذیل مثال میں، یہ `0ADvY03uUbEcQUk9PVA`' ہے

    Google Drive shared drive with Manage members visible for Example Shared Drive
  14. Next پر کلک کریں

    ChatGPT admin Connections modal for Shared drives with Include by default selected at step 3 of 5
  15. منتخب کریں کہ Google Drive کنکشن تک کس کی رسائی ہونی چاہیے۔ آپ یا تو صرف ChatGPT ورک اسپیس کے Admins کو منتخب کر سکتے ہیں، یا اسے سب کے لیے فعال کر سکتے ہیں۔ اگر سب کے لیے فعال ہو، تو ورک اسپیس میں شامل کیے گئے نئے صارفین خود بخود شامل ہو جائیں گے۔

    Google Drive connector permission set to Admins only for workspace members
  16. Start syncing پر کلک کریں

    Image
  17. آپ کا Google Drive کنکشن اب کامیابی سے بن چکا ہے!
    براہ کرم نوٹ کریں کہ اگرچہ syncing فوراً شروع ہو جائے گی، لیکن آپ کی settings کے مطابق کتنی فائلیں شامل کی گئی ہیں، اس پر منحصر ہے کہ مکمل ہونے میں گھنٹوں سے دن لگ سکتے ہیں۔
    جب پچھلے 30 دنوں میں شامل/ترمیم شدہ فائلوں کی syncing مکمل ہو جائے گی، تو connector اُن صارفین کے لیے دستیاب ہو جائے گا جن کے لیے آپ نے اسے فعال کیا ہے۔

    Image

service account key creation فعال کرنا

اگر آپ کو درج ذیل error موصول ہو، تو آپ کو اس مخصوص project کے لیے service account creation فعال کرنی ہوگی:

> organization policy constraint ‘iam.disableServiceAccountKeyCreation’ آپ کی organization پر نافذ ہے۔

Google Cloud service account Keys tab with error that service account key creation is disabled
  1. ایک نیا tab کھولیں اور console.cloud.google.com پر جائیں۔ یقینی بنائیں کہ منتخب project وہی ہے جو آپ پہلے ہی منتخب کر چکے ہیں۔
    اوپری بائیں کونے میں menu icon پر کلک کریں۔

    Google Cloud Console welcome page for the ChatGPT Google Connector project
  2. IAM & Admin پر hover کریں

    Google Cloud Console navigation with IAM & Admin open and Organization Policies selected
  3. Organizational Policies پر کلک کریں

    Google Cloud Console IAM & Admin menu opened to Organization Policies
  4. iam.disableServiceAccountKeyCreation تلاش کریں

    Google Cloud organization policies for the ChatGPT Google Connector project
  5. constraints/iam.disableServiceAccountKeyCreation کے result پر کلک کریں

    Image
  6. اس row کے … پر کلک کریں جس کی ID iam.disableServiceAccountKeyCreation ہے

    Organization policies filtered to Disable service account key creation for the ChatGPT Google Connector project
  7. Edit policy پر کلک کریں۔ اگر Edit policy غیر فعال ہو، تو آپ کو Organization Policy Administrator بننا ہوگا۔

    Google Cloud Organization Policies filtered to Disable service account key creation with Edit policy menu open
  8. Override parent’s policy پر کلک کریں

    Image
  9. Add a rule پر کلک کریں

    Edit policy page for Disable service account key creation with Override parent's policy selected
  10. Set Policy پر کلک کریں

    Google Cloud Edit policy page with Override parent's policy selected and enforcement set to Off
  11. اب آپ service account key بنا سکتے ہیں۔ اس فعال ہونے میں کئی منٹ لگ سکتے ہیں۔

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

Organization Policy Administrator بننا

  1. console.cloud.google.com پر جائیں اور project/organization selector پر کلک کریں

    Google Cloud welcome page for the ChatGPT Google Connector project
  2. اپنی organization پر کلک کریں

    Image
  3. اوپری بائیں کونے میں menu icon پر کلک کریں

    Image
  4. IAM & Admin پر hover کریں

    Google Cloud console navigation menu open with Google Cloud Setup pinned
  5. IAM پر کلک کریں

    Image
  6. اپنے account کے لیے pencil پر کلک کریں

    Google Cloud IAM page for dolores-lab.com showing organization permissions and the Grant Access action
  7. Add Another Role پر کلک کریں

    Google Cloud IAM dialog assigning the Organization Administrator role for dolores-lab.com
  8. Organization Policy Administrator تلاش کریں

    Google Cloud IAM edit access dialog assigning the Organization Administrator role to a user
  9. Organization Policy Administrator پر کلک کریں

    Google Cloud IAM role picker with Organization Policy Administrator selected while editing access
  10. Save پر کلک کریں

    Google Cloud IAM access editor assigning Organization Administrator and Organization Policy Administrator roles
  11. اب آپ کے account کو service account key creation فعال کرنے کی اجازت حاصل ہے۔ اس کے اثر میں آنے میں کئی منٹ لگ سکتے ہیں۔

Google Workspace اور ChatGPT کے لیے مختلف ای میل اکاؤنٹس برقرار رکھنے کو Google Email Alias استعمال کرنا

اگر آپ Google Drive synced connectors کے لیے admin-managed setup استعمال کرتے ہوئے اپنے ChatGPT ورک اسپیس سے Google Workspace کو connect کرنے والے ایڈمن ہیں، اور آپ کی تنظیم ChatGPT اور Google Workspace کے لیے مختلف ای میل ڈومینز استعمال کرتی ہے، تو آپ کو یہ یقینی بنانے کے لیے اضافی اقدامات کرنے ہوں گے کہ صارفین کامیابی سے Google Drive synced connectors تک رسائی حاصل کر سکیں۔

سفارش: جہاں بھی ممکن ہو، Google Workspace اور ChatGPT اکاؤنٹس دونوں کے لیے ایک ہی بنیادی ای میل ایڈریس استعمال کریں۔

اگر یہ ممکن نہ ہو، تو ChatGPT sign-in email سے میل کھاتا Google Workspace email alias configure کرنے کے لیے نیچے دی گئی ہدایات پر عمل کریں۔

Google Workspace Alias شامل کرنے کے مراحل

یہ مراحل Google Admin Console میں فالو کریں تاکہ ہر صارف کے ChatGPT ای میل کو ان کے Google Workspace اکاؤنٹ سے لنک کیا جا سکے:

  1. Admin Console پر جائیں۔ یہاں جائیں: Directory > Users

Image

2. کسی صارف کو منتخب کریں، پھر “ADD ALTERNATIVE EMAILS”۔

Google Admin user details page with Add alternate emails action highlighted

3. ایک Alternative Email شامل کریں۔ یقینی بنائیں کہ یہ صارف کے ChatGPT اکاؤنٹ سے مطابقت رکھتی ہو۔

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

4. Save منتخب کریں


معلوم حدود

ذاتی ای میل ایڈریس سپورٹ نہیں ہوتے

جو صارفین ذاتی ایڈریسز (مثلاً example@gmail.com) استعمال کر کے ChatGPT کے لیے رجسٹر کرتے ہیں، وہ Google Workspace سے connect نہیں کر سکتے۔ یہ setup سپورٹڈ نہیں ہے اور سیکیورٹی خطرہ بھی پیدا کرتا ہے، کیونکہ اس سے تنظیم کے باہر سے اندرونی ڈیٹا تک رسائی ممکن ہو جاتی ہے۔

Gmail "+" aliases سپورٹ نہیں ہوتے

Gmail صارفین کو اپنے ایڈریس میں "+" شامل کر کے aliases بنانے کی اجازت دیتا ہے (مثلاً user+alias@gmail.com)۔ اس قسم کی aliasing Google Drive synced connectors کے ساتھ کام نہیں کرتی۔ alias کو Google Workspace میں واضح طور پر configure کرنا ضروری ہے۔

عام Error Message

اگر ای میل ایڈریس درست طریقے سے لنک نہ ہوں، تو صارفین کو یہ پیغام مل سکتا ہے: "ہم آپ کے account کو Google Drive سے connect نہیں کر سکے۔ مزید جاننے کے لیے کلک کریں."

اگر صارفین کو یہ پیغام ملے، تو اس دستاویز میں دیے گئے مراحل کا جائزہ لیں اور یقینی بنائیں کہ ان پر درست طریقے سے عمل کیا گیا ہے۔ اگر مزید مدد درکار ہو، تو براہ کرم ہماری سپورٹ ٹیم سے رابطہ کریں۔

کیا یہ آرٹیکل مددگار تھا؟