How to set up Google Chat in Skyone Studio
Overview
This documentation details the process of configuring Google Chat as a publishing channel in Skyone Studio. The integration allows AI agents to interact directly on the Google platform using service account credentials and the activation of specific APIs in Google Cloud.
The configuration process is divided between the Google Cloud console and the Skyone Studio environment.
Step-by-Step
[Step 01]: Service account creation and configuration in Google Cloud
[Step 02]: JSON Key generation
[Step 03]: Create Google Chat account in Skyone Studio
[Step 04]: Configure publishing in Google Chat
[Step 05]: Google Chat API activation
[Step 06]: App and Endpoint definition
Step 1: Service account creation and configuration in Google Cloud
Access the Google Cloud console and select the desired project.
In the side menu, navigate to APIs & Services and click Credentials.
Click Create Credentials and select the Service account option.
In the Service account name field, enter a suitable name and click Create and continue.
In the next step, under Permissions, define the roles. To do this, search for "Google Chat" in the selection box and select the Chat Apps Owner option.
Click the Add another role option and add Chat Apps Viewer.
Click Continue.
To finish, click Done.
Step 2: JSON Key generation
In the service accounts list, click on the newly created account.
Access the Keys tab.
Click Add Key > Create new key.
Select the JSON format and click Create.
Important: The file will be automatically downloaded to your computer. Keep it in a safe place, as it is essential for authentication in Skyone Studio.
Step 3: Create Google Chat account in Skyone Studio
Access Skyone Studio and navigate to the Publish menu.
Select the Google Chat option and click Manage accounts.
Click Create account.
In the Service account key field, upload the JSON file previously downloaded.
Click Create.
Step 4: Configure publishing in Google Chat
Still in the Publish area, select the desired agent flow.
Under Users and Groups, select an existing user or create a new one.
Click Save Publication.
Copy the Webhook URL displayed on the screen. You will need this information for the next integration steps.
Click Finish to complete the process.
Step 5: Google Chat API activation
Return to the Google Cloud console and select the APIs & Services menu.
Check if the Google Chat API is in the list of enabled services.
If the API is not visible, click Enable APIs and Services.
Search for "Google Chat API" in the search field and select the corresponding result.
Click Enable to activate the feature.
Confirm that the Google Chat API is now displayed in your active services list to continue with the integration.
Step 6: App and Endpoint definition
After the previous activation, click the Configuration tab.
Under App status, select the Live - available to users option.
Under App information, fill in the basic details:
App name: Define the name that will appear in the chat.
Avatar URL: Link to the application's profile image.
Description: Brief summary of the bot's functionality.
In the HTTP endpoint URL field, paste the URL generated by Skyone Studio (copied from the channel publishing screen).
Keep the Enable interactive features option active.
Under Connection settings, select the HTTP endpoint URL option.
Under Triggers, select the Use an HTTP endpoint URL for all triggers option.
In the HTTP endpoint URL field, paste the URL from Step 4.
Under Visibility, enable the option Make this Chat app available to specific people and groups in Skyone.
Enter the emails in the specific box.
Under Logging, enable the Log errors to Logging option (optional).
Click Save.
Alert: The endpoint URL is unique for each publication. If you change this URL in Google Cloud for a chat already in use, the current connection will be interrupted immediately.
Last updated
Was this helpful?
