קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הגדרה של פרויקט בקונסולה ל-Actions
פרויקט ב-Google Cloud Platform, שמנוהל על ידי Actions Console, מעניק לפרויקט שלכם גישה ל-Google Assistant API. בפרויקט מתבצע מעקב אחרי מכסת השימוש, והוא מספק מדדים חשובים לגבי הבקשות שנשלחות מהחומרה שלכם.
כדי להפעיל גישה ל-Google Assistant API, מבצעים את השלבים הבאים:
כדי ליצור פרויקט חדש, מזינים שם בתיבה Project name ולוחצים על CREATE PROJECT.
אם כבר יש לכם פרויקט ב-Google Cloud Platform, אתם יכולים לבחור אותו ולייבא אותו במקום ליצור פרויקט חדש.
אם יצרתם פרויקט חדש, לוחצים על התיבה Device registration (רישום מכשיר) בחלק התחתון של הדף. אם ייבאתם פרויקט שנוצר בעבר, התיבה הזו לא תופיע. במקרה כזה, בוחרים בכרטיסייה Device registration (רישום מכשירים) (בקטע ADVANCED OPTIONS (אפשרויות מתקדמות)) בסרגל הניווט הימני.
משאירים את הכרטיסייה הזו בדפדפן פתוחה. תשתמשו בו כדי לרשום דגם מכשיר בשלב מאוחר יותר.
מפעילים את Google Assistant API בפרויקט שבחרתם (ראו תנאים והגבלות). צריך לעשות את זה ב-Cloud Platform Console.
צריך להגדיר מסך הסכמה ל-OAuth לפרויקט ב-Cloud Platform Console. שימו לב: רוב השדות בדף הזה הם אופציונליים.
הגדרת אמצעי בקרה על הפעילות בחשבון
כדי להשתמש ב-Google Assistant, אתם צריכים לשתף עם Google נתונים מסוימים של פעילות. Google Assistant זקוקה לנתונים האלה כדי לפעול כראוי. הנתונים האלה לא ספציפיים ל-SDK. כדי לשתף את הנתונים האלה, צריך ליצור חשבון Google אם עדיין אין לכם חשבון.
פותחים את הדף 'בקרת הפעילות בחשבון' בחשבון Google שרוצים להשתמש בו עם Assistant. אפשר להשתמש בכל חשבון Google – לא צריך להיות חשבון הפיתוח שלכם.
מוודאים שמתגי ההפעלה הבאים מופעלים (כחולים):
פעילות באינטרנט ובאפליקציות
בנוסף, חשוב לסמן את תיבת הסימון שמירה של ההיסטוריה והפעילות של Chrome מאתרים, מאפליקציות וממכשירים שמשתמשים בשירותי Google.
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eGoogle Assistant Library for Python is deprecated; use Google Assistant Service instead.\u003c/p\u003e\n"],["\u003cp\u003eConfigure an Actions Console project to enable Google Assistant API access and register your device model.\u003c/p\u003e\n"],["\u003cp\u003eEnable necessary activity controls for your Google Account, including Web & App Activity, Device Information, and Voice & Audio Activity.\u003c/p\u003e\n"]]],[],null,["# Configure a Developer Project and Account Settings\n\n| **Warning:** The Google Assistant Library for Python is deprecated as of June 28th, 2019. Use the [Google Assistant Service](/assistant/sdk/guides/service/python) instead.\n\n\u003cbr /\u003e\n\nConfigure an Actions Console project\n------------------------------------\n\nA Google Cloud Platform project, managed by the Actions Console, gives your\nproject access to the Google Assistant API. The project tracks quota usage and\ngives you valuable metrics for the requests made from your hardware.\n\nTo enable access to the Google Assistant API, perform the following steps:\n\n1. Open the Actions Console.\n\n [Go\n to the Actions Console](https://console.actions.google.com/)\n2. Click **Add/import project**.\n\n3. To create a new project, enter a name in the **Project name** box and click\n **CREATE PROJECT**.\n\n \u003cbr /\u003e\n\n If you already have an existing Google Cloud Platform project, you can select that\n project and import it rather than creating a new one.\n\n4.\n If you created a new project, click the **Device registration** box near the\n bottom of the page. If you imported a previously-created project, this box\n does not appear; select the **Device registration** tab (under\n **ADVANCED OPTIONS**) from the left navbar.\n\n Keep this browser tab open. You will use it to register a device model in\n a later step.\n5. Enable the Google Assistant API on the project you selected (see the [Terms\n of Service](/assistant/sdk/terms-of-service)). You need to do this in the\n Cloud Platform Console.\n\n [Enable\n the API](https://console.developers.google.com/apis/api/embeddedassistant.googleapis.com/overview)\n\n Click **Enable**.\n6. You must configure the [OAuth consent\n screen](https://console.developers.google.com/apis/credentials/consent)\n for your project in the Cloud Platform Console. Note that most fields on\n this page are optional.\n\n\nSet activity controls for your account\n--------------------------------------\n\nIn order to use the Google Assistant, you must share certain activity data with\nGoogle. The Google Assistant needs this data to function properly; this is not\nspecific to the SDK. To share this data, create a\n[Google account](https://support.google.com/accounts/answer/27441)\nif you don't already have one.\n\nOpen the [Activity Controls page](https://myaccount.google.com/activitycontrols)\nfor the Google account that you want to use with the Assistant. You can use any\nGoogle account---it does not need to be your developer account.\n\n**Ensure the following toggle switches are enabled (blue)**:\n\n- Web \\& App Activity\n - In addition, be sure to select the **Include Chrome history and activity\n from sites, apps, and devices that use Google services** checkbox.\n- Device Information\n- Voice \\& Audio Activity\n\nNext step\n---------\n\n[Register the Device Model](/assistant/sdk/guides/library/python/embed/register-device)"]]