डेवलपर प्रोजेक्ट और खाता सेटिंग कॉन्फ़िगर करना
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Actions Console प्रोजेक्ट को कॉन्फ़िगर करना
Actions Console से मैनेज किया जाने वाला Google Cloud Platform प्रोजेक्ट, आपके प्रोजेक्ट को Google Assistant API का ऐक्सेस देता है. यह प्रोजेक्ट, कोटे के इस्तेमाल को ट्रैक करता है. साथ ही, आपके हार्डवेयर से किए गए अनुरोधों के लिए आपको अहम मेट्रिक देता है.
Google Assistant API का ऐक्सेस पाने के लिए, यह तरीका अपनाएं:
Actions Console खोलें.
Actions Console पर जाएं
प्रोजेक्ट जोड़ें/इंपोर्ट करें पर क्लिक करें.
नया प्रोजेक्ट बनाने के लिए, प्रोजेक्ट का नाम बॉक्स में नाम डालें. इसके बाद, प्रोजेक्ट बनाएं पर क्लिक करें.
अगर आपके पास पहले से कोई Google Cloud Platform प्रोजेक्ट है, तो नया प्रोजेक्ट बनाने के बजाय उस प्रोजेक्ट को चुना जा सकता है और इंपोर्ट किया जा सकता है.
अगर आपने नया प्रोजेक्ट बनाया है, तो पेज के सबसे नीचे मौजूद डिवाइस रजिस्ट्रेशन बॉक्स पर क्लिक करें. अगर आपने पहले से बनाए गए किसी प्रोजेक्ट को इंपोर्ट किया है, तो यह बॉक्स नहीं दिखता. ऐसे में, बाईं ओर मौजूद नेविगेशन बार में जाकर, डिवाइस रजिस्ट्रेशन टैब (ऐडवांस विकल्प में जाकर) चुनें.
ब्राउज़र के इस टैब को खुला रखें. इसका इस्तेमाल, बाद के चरण में डिवाइस मॉडल को रजिस्टर करने के लिए किया जाएगा.
चुने गए प्रोजेक्ट पर Google Assistant API चालू करें. इसके लिए, सेवा की शर्तें देखें. आपको यह काम Cloud Platform Console में करना होगा.
एपीआई चालू करना
चालू करें पर क्लिक करें.
आपको Cloud Platform Console में अपने प्रोजेक्ट के लिए, OAuth सहमति स्क्रीन को कॉन्फ़िगर करना होगा. ध्यान दें कि इस पेज पर मौजूद ज़्यादातर फ़ील्ड को भरना ज़रूरी नहीं है.
अपने खाते के लिए गतिविधि नियंत्रण सेट करना
Google Assistant का इस्तेमाल करने के लिए, आपको Google के साथ गतिविधि का कुछ डेटा शेयर करना होगा. Google Assistant को ठीक से काम करने के लिए इस डेटा की ज़रूरत होती है. यह सिर्फ़ एसडीके के लिए नहीं है. इस डेटा को शेयर करने के लिए, Google खाता बनाएं. अगर आपके पास पहले से कोई खाता नहीं है, तो खाता बनाएं.
उस Google खाते के लिए गतिविधि कंट्रोल पेज खोलें जिसका इस्तेमाल आपको Assistant के साथ करना है. किसी भी Google खाते का इस्तेमाल किया जा सकता है. यह ज़रूरी नहीं है कि यह आपका डेवलपर खाता हो.
पक्का करें कि ये टॉगल स्विच चालू (नीले रंग के) हों:
- वेब और ऐप्लिकेशन गतिविधि
- इसके अलावा, Google की सेवाएं इस्तेमाल करने वाले डिवाइसों, ऐप्लिकेशन, और साइटों पर की गई मेरी गतिविधि की जानकारी और Chrome इतिहास शामिल करें चेकबॉक्स को चुनना न भूलें.
- डिवाइस की जानकारी
- आवाज़ और ऑडियो गतिविधि
अगला चरण
डिवाइस मॉडल को रजिस्टर करना
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eAn Actions Console project provides access to the Google Assistant API, tracks quota usage, and provides valuable metrics.\u003c/p\u003e\n"],["\u003cp\u003eTo enable Assistant API access, you need to create or import a project in the Actions Console and enable the necessary API.\u003c/p\u003e\n"],["\u003cp\u003eFor the Assistant to function, ensure your Google Account's "Web & App Activity," "Device Information," and "Voice & Audio Activity" are enabled within the Activity Controls.\u003c/p\u003e\n"],["\u003cp\u003eBefore using the Assistant, be sure to register a Device Model in the Actions Console to associate with your project.\u003c/p\u003e\n"]]],["To begin, open the Actions Console and add or import a Google Cloud Platform project. If creating a new project, enter a name and proceed to \"Device registration\"; if importing, go directly to the \"Device registration\" tab. Then, enable the Google Assistant API in the Cloud Platform Console. Lastly, configure the OAuth consent screen for your project in the Cloud Platform Console. Ensure your Google account's activity controls are enabled for Web & App, Device Information, and Voice & Audio activity.\n"],null,["# Configure a Developer Project and Account Settings\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/service/python/embed/register-device)"]]