संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
इस पेज पर, Google Chat ऐप्लिकेशन को Google Workspace ऐड-ऑन के तौर पर कॉन्फ़िगर और डिप्लॉय करने का तरीका बताया गया है.
Chat की सुविधाओं को बढ़ाने वाले Google Workspace ऐड-ऑन को डिप्लॉय और टेस्ट करने के लिए, आपको Google Chat API का इस्तेमाल करके Chat ऐप्लिकेशन को चालू और कॉन्फ़िगर करना होगा. Chat API की कॉन्फ़िगरेशन सेटिंग में, Chat ऐप्लिकेशन के बारे में पूरी जानकारी दी जाती है. इसमें नाम, अवतार, डिप्लॉयमेंट, और इंटरैक्टिव सुविधाओं के बारे में जानकारी शामिल है.
ज़रूरी शर्तें
आपके पास Business या Enterprise वर्शन वाला Google Workspace खाता होना चाहिए. साथ ही, आपके पास Google Chat को ऐक्सेस करने की अनुमति होनी चाहिए.
Chat ऐप्लिकेशन के लिए डिसप्ले नेम, अवतार, और ब्यौरा चुनना
Chat ऐप्लिकेशन का नाम, अवतार, और ब्यौरा, उपयोगकर्ताओं को Chat के यूज़र इंटरफ़ेस में दिखता है. Chat ऐप्लिकेशन से इंटरैक्ट करने के लिए, उपयोगकर्ता इस जानकारी को इन तरीकों से देखते हैं या इस्तेमाल करते हैं:
Chat ऐप्लिकेशन को किसी स्पेस में जोड़ने के लिए, उसे टैग करें या उसे मैसेज भेजें.
Chat ऐप्लिकेशन में जाकर, किसी व्यक्ति को डायरेक्ट मैसेज भेजें.
ऐप्लिकेशन मेन्यू में, डायरेक्ट मैसेज में Chat ऐप्लिकेशन का नाम और अवतार दिखता है.
कंपोज़ बार से, उपयोगकर्ता Chat ऐप्लिकेशन ब्राउज़ कर सकते हैं. साथ ही, वे ऐप्लिकेशन का नाम, अवतार, और ब्यौरा देख सकते हैं.
Chat ऐप्लिकेशन को कॉन्फ़िगर करने से पहले, आपको यह जानकारी तैयार करनी होगी:
फ़ील्ड
ब्यौरा
फ़ॉर्मैट
ऐप्लिकेशन का नाम
Chat ऐप्लिकेशन का डिसप्ले नेम.
ज़्यादा से ज़्यादा 25 अक्षर और अंक
अवतार का यूआरएल
वह इमेज जो आपके Chat ऐप्लिकेशन के अवतार के तौर पर दिखती है.
स्क्वेयर ग्राफ़िक्स इमेज (PNG या JPEG) का एचटीटीपीएस यूआरएल.
सुझाया गया साइज़ 256 x 256 पिक्सल या इससे ज़्यादा है.
ब्यौरा
Chat ऐप्लिकेशन के मकसद के बारे में कम शब्दों में जानकारी.
ज़्यादा से ज़्यादा 40 अक्षर और अंक
यहां दिए गए सेक्शन में, Chat API की कॉन्फ़िगरेशन सेटिंग में यह जानकारी दी जाती है.
Google Cloud Console में Chat ऐप्लिकेशन को कॉन्फ़िगर करना
Google Cloud Console में, अपने Chat ऐप्लिकेशन के बारे में जानकारी कॉन्फ़िगर करें. यह जानकारी, Chat में उपयोगकर्ताओं को दिखती है. इसमें डिसप्ले नेम, अवतार, और जानकारी शामिल है. यह जानकारी सिर्फ़ Chat में दिखती है. अपने Chat ऐप्लिकेशन को Marketplace पर पब्लिश करने के लिए, आपको वह जानकारी भी देनी होगी जो आपके Chat ऐप्लिकेशन की Marketplace लिस्टिंग में दिखती है.
Chat ऐप्लिकेशन की जानकारी मिलने के बाद, अपना Cloud प्रोजेक्ट खोलें और Chat API कॉन्फ़िगर करें:
Google Cloud Console में, Chat API पेज पर जाएं और कॉन्फ़िगरेशन पेज पर क्लिक करें:
ऐप्लिकेशन की जानकारी में जाकर, ऐप्लिकेशन का नाम, अवतार का यूआरएल, और ब्यौरा फ़ील्ड भरें.
इंटरैक्टिव सुविधाएं में जाकर, इंटरैक्टिव सुविधाएं चालू करें को चालू करें. इसके बाद, यह काम करें:
सुविधाएं में जाकर, स्पेस और ग्रुप बातचीत में शामिल हों को चुनें, ताकि Chat ऐप्लिकेशन को इंस्टॉल और इस्तेमाल किया जा सके.
डिफ़ॉल्ट रूप से, उपयोगकर्ता और Chat ऐप्लिकेशन के बीच बातचीत के लिए बनाए गए स्पेस में, Chat ऐप्लिकेशन को इंस्टॉल किया जा सकता है और उससे मैसेज भेजे जा सकते हैं. उपयोगकर्ता, Chat ऐप्लिकेशन को ऐसे स्पेस में भी जोड़ सकते हैं जहां कई लोग शामिल हों. साथ ही, वे वहां Chat ऐप्लिकेशन से इंटरैक्ट कर सकते हैं.
कनेक्शन सेटिंग में जाकर, वह आर्किटेक्चर चुनें जिसका इस्तेमाल करके आपको Chat से इवेंट ऑब्जेक्ट पाने हैं:
एचटीटीपी सेवा का इस्तेमाल करने के लिए, एचटीटीपी एंडपॉइंट यूआरएल चुनें और यूआरएल डालें.
Google Apps Script प्रोजेक्ट का इस्तेमाल करने के लिए, Apps Script चुनें. इसके बाद, प्रोजेक्ट के लिए डिप्लॉयमेंट आईडी डालें.
वैकल्पिक: एक से ज़्यादा एंडपॉइंट या फ़ंक्शन पर इवेंट ऑब्जेक्ट पाने के लिए, कनेक्शन सेटिंग>ट्रिगर पर जाएं. इसके बाद, यहां दिए गए चैट ट्रिगर के लिए, कॉलबैक फ़ंक्शन दें या उन्हें अपडेट करें:
स्पेस में जोड़ा गया: जब कोई उपयोगकर्ता, Chat ऐप्लिकेशन को किसी ग्रुप बातचीत या स्पेस में जोड़ता है या 1:1 मैसेज के लिए Chat ऐप्लिकेशन इंस्टॉल करता है.
मैसेज: कोई उपयोगकर्ता, Chat ऐप्लिकेशन को मैसेज भेजता है. उदाहरण के लिए, Chat ऐप्लिकेशन को डायरेक्ट मैसेज भेजता है या एक से ज़्यादा लोगों वाले स्पेस में Chat ऐप्लिकेशन को @mention करता है.
स्पेस से हटाया गया: जब कोई उपयोगकर्ता, किसी स्पेस से Chat ऐप्लिकेशन को अनइंस्टॉल करता है या हटाता है.
ऐप्लिकेशन कमांड: कोई उपयोगकर्ता, Chat ऐप्लिकेशन में जाकर क्विक कमांड या स्लैश कमांड का इस्तेमाल करता है.
दिखने की सेटिंग में जाकर, अपना ईमेल पता डालें, ताकि Google Workspace Marketplace पर पब्लिश करने से पहले, Chat ऐप्लिकेशन को इंस्टॉल और टेस्ट किया जा सके. अपने Google Workspace संगठन के ज़्यादा से ज़्यादा पांच लोगों या एक या उससे ज़्यादा Google Groups को जोड़ा जा सकता है.
ज़रूरी नहीं: Google Cloud Logging का इस्तेमाल करने के लिए, लॉग में जाकर, लॉगिंग में गड़बड़ियों को लॉग करें चेकबॉक्स को चुनें. ज़्यादा जानकारी के लिए, Chat API के दस्तावेज़ में Chat ऐप्लिकेशन के लिए क्वेरी से जुड़ी गड़बड़ी के लॉग देखें.
सेव करें पर क्लिक करें.
कॉन्फ़िगरेशन सेव करने के बाद, Chat ऐप्लिकेशन को इंस्टॉल, टेस्ट या इस्तेमाल किया जा सकता है. इसके लिए, Chat API की Visibility सेटिंग में जाकर, किसी भी व्यक्ति को अनुमति दी जा सकती है. Chat ऐप्लिकेशन की जांच और डीबग करने के लिए, Chat API के दस्तावेज़ में Google Chat ऐप्लिकेशन के लिए इंटरैक्टिव सुविधाओं की जांच करना लेख पढ़ें.
Google Workspace के मौजूदा ऐड-ऑन के लिए ज़रूरी बातें
Google Workspace के अन्य ऐप्लिकेशन को बेहतर बनाने वाले Google Workspace ऐड-ऑन की तुलना में, चैट ऐप्लिकेशन के लिए अलग कॉन्फ़िगरेशन की ज़रूरत होती है.
अगर आपका ऐड-ऑन, Google Workspace के अन्य ऐप्लिकेशन के साथ काम करता है, तो Chat ऐप्लिकेशन को कॉन्फ़िगर करने के लिए, यहां दी गई ज़रूरी शर्तें पूरी करें:
व्यक्तिगत खातों और Google Workspace एडमिन, दोनों को Marketplace से आपका ऐड-ऑन इंस्टॉल करने की सुविधा मिलनी चाहिए. Google Workspace Marketplace SDK में, इंस्टॉलेशन से जुड़ी इन सेटिंग को कॉन्फ़िगर किया जाता है.
Chat ऐप्लिकेशन, मेनिफ़ेस्ट के addons.common ऑब्जेक्ट में, Google Workspace के अन्य ऐप्लिकेशन के लिए कॉन्फ़िगर किए गए नाम और लोगो का इस्तेमाल नहीं करते.
Google Workspace Marketplace पर पब्लिश किए गए ऐड-ऑन के लिए, Google Chat API कॉन्फ़िगरेशन सेटिंग में किए गए किसी भी बदलाव का ड्राफ़्ट सेव नहीं किया जा सकता.
Chat API कॉन्फ़िगरेशन सेटिंग को अपडेट और सेव करने के बाद, अपडेट किया गया Chat ऐप्लिकेशन सभी मौजूदा उपयोगकर्ताओं के लिए उपलब्ध हो जाता है. Marketplace पर मौजूद अपनी लिस्टिंग को अपडेट करने के लिए, बदलाव सबमिट करने से पहले ड्राफ़्ट बनाएं.
अगर आपने Apps Script का इस्तेमाल करके ऐड-ऑन बनाया है, तो:
आपको उसी Apps Script डिप्लॉयमेंट आईडी का इस्तेमाल करना होगा जिसका इस्तेमाल आपने ऐड-ऑन के बाकी कॉन्फ़िगरेशन के लिए किया था.
अगर आपने एचटीटीपी सेवा का इस्तेमाल करके ऐड-ऑन बनाया है, तो Google Workspace ऐड-ऑन API का इस्तेमाल करके बनाए गए मेनिफ़ेस्ट और डिप्लॉयमेंट में, Chat ऐप्लिकेशन के कॉन्फ़िगरेशन की कोई भी जानकारी शामिल न करें. Google Workspace Marketplace SDK में बताए गए एचटीटीपी डिप्लॉयमेंट का इस्तेमाल, सिर्फ़ Google Workspace के अन्य ऐप्लिकेशन के लिए किया जाता है.
[null,null,["आखिरी बार 2025-08-04 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThis guide explains how to set up a Google Chat app as a Google Workspace add-on using either Apps Script or an HTTP service.\u003c/p\u003e\n"],["\u003cp\u003eYou'll need a Google Workspace account, a Google Cloud project, and necessary API configurations to get started.\u003c/p\u003e\n"],["\u003cp\u003eThe setup involves choosing a display name, avatar, and description for your app, and configuring its interactive features in the Google Cloud console.\u003c/p\u003e\n"],["\u003cp\u003eFor existing Google Workspace add-ons, specific considerations apply when integrating Chat app functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThis feature is part of the Google Workspace Developer Preview Program, granting early access before public release.\u003c/p\u003e\n"]]],["To configure a Chat app, use the Google Cloud console to access the Chat API page. Input the app's name, avatar URL, and description. Enable interactive features, choosing to receive 1:1 messages or join group conversations. Select either an HTTP endpoint URL or an Apps Script deployment ID for connection settings. Optionally, set triggers, add quick/slash commands, and specify visibility. Save configurations; users listed in \"Visibility\" can then test the Chat app.\n"],null,["# Configure a Google Chat app\n\nThis page explains how to configure and deploy a Google Chat app\nas a Google Workspace add-on.\n\nTo deploy and test a Google Workspace add-on that extends Chat,\nyou must enable and configure a Chat app using the\nGoogle Chat API. The Chat API configuration settings are where you\nspecify all the details about the Chat app, including\nthe name, avatar, deployment, and interactive features that you want to use.\n| **Note:** This page explains how to configure a Chat app using Apps Script or an HTTP service. [Dialogflow](/workspace/chat/build-dialogflow-chat-app-natural-language) and [Pub/Sub](/workspace/chat/quickstart/pub-sub) are unavailable. For details, see [Limitations and known issues](/workspace/add-ons/chat#limitations-known-issues).\n\nPrerequisites\n-------------\n\n- A Business or Enterprise [Google Workspace](https://support.google.com/a/answer/6043576) account with access to [Google Chat](https://workspace.google.com/products/chat/).\n- A Google Cloud project. To create one, see\n [Create a Google Cloud project](/workspace/guides/create-project).\n\n- [Configure the OAuth consent screen](/workspace/guides/configure-oauth-consent).\n- [Enable the Google Chat API](/workspace/guides/enable-apis).\n\nChoose a display name, avatar, and description for your Chat app\n----------------------------------------------------------------\n\nThe Chat app's name, avatar, and description are\ndisplayed to users in the Chat UI. To interact with\nChat apps, users see or use this information in the following\nways:\n\n- @mention the Chat app to add it to a space or send it a message.\n- Find and start a direct message with the Chat app. In the **Apps** menu, direct messages display the Chat app's name and avatar.\n- From the compose bar, users can browse Chat apps and see their name, avatar, and description.\n\nBefore you configure a Chat app, you must prepare the\nfollowing information:\n\n| Field | Description | Format |\n|-------------|-----------------------------------------------------|----------------------------------------------------------------------------------------------------------------|\n| App name | The display name for the Chat app. | Up to 25 alphanumeric characters |\n| Avatar URL | The image that displays as your Chat app's avatar. | An HTTPS URL pointing to a square graphics image (PNG or JPEG). Recommended size is 256 by 256 pixels or more. |\n| Description | A brief description of the purpose of the Chat app. | Up to 40 alphanumeric characters |\n\nIn the following section, you specify this information in the configurations\nsettings in the Chat API.\n\nConfigure your Chat app in the Google Cloud console\n---------------------------------------------------\n\nIn the Google Cloud console, you configure the details about your\nChat app that appear to users in Chat,\nincluding a display name, avatar, and description. These details only appear\nin Chat. To publish your Chat app to the\nMarketplace, you must also specify the details that\nappear in your Chat app's\n[Marketplace listing](/workspace/marketplace/create-listing).\n\nWhen you have your Chat app details, open your\nCloud project and configure the Chat API:\n\n1. In the Google Cloud console, go to the Chat API page and click the\n **Configuration** page:\n\n [Go to the Chat API Configuration page](https://console.cloud.google.com/apis/api/chat.googleapis.com/hangouts-chat)\n2. Under **Application info** , fill out the **App name** , **Avatar URL** ,\n and **Description** fields.\n\n3. Under **Interactive features** , click the **Enable interactive features**\n to the on position and complete the following:\n\n 1. Under **Functionality** , select **Join spaces and group conversations**\n to make your Chat app available to install and use.\n\n By default, Users can install and message with the\n Chat app in a dedicated space between\n the user and Chat app. Users can also add and interact\n with the Chat app in spaces with multiple\n people.\n 2. Under **Connection settings** , select the architecture that you want to\n use to receive\n [event objects from Chat](/workspace/add-ons/chat/build#event-objects):\n\n - To use an HTTP service, select **HTTP endpoint URL** and provide a URL.\n - To use a Google Apps Script project, select **Apps Script** and provide a [deployment ID](/apps-script/concepts/deployments) for the project.\n\n | **Warning:** If an Apps Script deployment ID is already populated, the Cloud project is connected to an existing Google Workspace add-on. If you update the deployment ID in the Chat API, the deployment ID is updated for your add-on and could affect your listing in the Google Workspace Marketplace. To review your add-on configuration, see [Configure your app in the Google Workspace Marketplace SDK](/workspace/marketplace/enable-configure-sdk) in the Google Workspace Marketplace documentation.\n 3. Optional: To receive event objects to more than one endpoint or\n function, go to **Connection settings**\n \\\u003e **Triggers** and provide or\n update the callback functions for the following\n [Chat triggers](/workspace/add-ons/chat/build#triggers):\n\n | **Note:** For Apps Script, if you don't update the triggers, you must use the corresponding callback functions that are populated in this section (such as `onMessage`, `onAddedToSpace`, and `onRemovedFromSpace`).\n - **Added to space**: A user adds the Chat app to a group conversation or space, or installs the Chat app for 1:1 messages.\n - **Message**: A user sends a message to the Chat app. For example, sends a direct message to the Chat app or @mentions the Chat app in a space with multiple people.\n - **Removed from space**: A user uninstalls or removes the Chat app from a space.\n - **App command**: A user uses a quick command or slash command from the Chat app.\n 4. Optional: Add other interactive features such as\n [quick commands](/workspace/add-ons/chat/quick-commands),\n [slash commands](/workspace/add-ons/chat/slash-commands),\n or [link previews](/workspace/add-ons/chat/preview-links).\n\n 5. Under **Visibility** , specify your email so that you can\n [install and test the Chat app](/workspace/chat/test-interactive-features)\n before you publish to the Google Workspace Marketplace. You can specify\n up to five individuals, or one or more Google Groups from your\n Google Workspace organization.\n\n4. Optional: Under **Logs** , select the **Log errors to Logging** checkbox to\n use Google Cloud Logging. For more information, see\n [Query error logs for Chat apps](/workspace/chat/query-logs)\n in the Chat API documentation.\n\n5. Click **Save**.\n\nAfter you save the configuration, anyone that you specified in the\nChat API's **Visibility** setting can install, test, or use the\nChat app. To start testing and debugging your\nChat app, see\n[Test interactive features for Google Chat apps](/workspace/chat/test-interactive-features)\nin the Chat API documentation.\n\nConsiderations for existing Google Workspace add-ons\n----------------------------------------------------\n\nChat apps require a different configuration compared to\nGoogle Workspace add-ons that extend other Google Workspace applications.\nIf your add-on extends other\nGoogle Workspace applications, consider the following requirements\nfor configuring the Chat app:\n\n- Both individuals and Google Workspace administrators must be able to install your add-on from the Marketplace. You configure these installation settings in the Google Workspace Marketplace SDK.\n- Chat apps don't use the name and logo that you configure for other Google Workspace applications in the `addons.common` object of the [manifest](/workspace/add-ons/concepts/workspace-manifests).\n- For add-ons that are published to the Google Workspace Marketplace, you can't save a draft of any changes to the [Google Chat API configuration settings](/workspace/add-ons/chat/configure). After you update and save the Chat API configuration settings, the updated Chat app is available to all existing users. To update your Marketplace listing, you can [create a draft](/workspace/marketplace/manage-app-listing#draft-app-listing) before submitting any changes.\n- If you built your add-on using\n Apps Script:\n\n - You must use the same Apps Script deployment ID that you use for the rest of your add-on configuration.\n - You can't use the Apps Script editor to install [test deployments](/workspace/add-ons/how-tos/testing-workspace-addons#install_an_unpublished) in Chat. Instead, you must [install them directly from the\n Chat UI](/workspace/chat/test-interactive-features).\n- If you built your add-on using an HTTP service,\n omit any Chat app configuration details in the\n manifest and deployments that you create using the Google Workspace add-ons API. The\n HTTP deployments that you specify in the Google Workspace Marketplace SDK are\n only used for other Google Workspace applications.\n\nRelated topics\n--------------\n\n- To manage access to the Chat API, see [Configure the Google Chat API](/workspace/chat/configure-chat-api#grant-access) in the Google Chat API documentation.\n- [Test interactive features for Google Chat apps](/workspace/chat/test-interactive-features)"]]