Watch the video tutorial above for a complete walkthrough of the setup process.
Prerequisites
- An active SiteGPT chatbot
- Google Workspace account with admin access
- Access to Google Cloud Console
- Google Chat integration feature enabled (contact support@sitegpt.ai to request access)
Setting up Google Chat integration
1
Access the integration in SiteGPT
Log into your SiteGPT dashboard and click Integrations in the sidebar. Scroll down to find the Google Chat integration and click Connect.
You need to request access from support@sitegpt.ai before you can activate this integration.
2
Copy the integration URL
After clicking Connect, SiteGPT will display an integration URL. Copy this URL - you’ll need it later when configuring the Google Cloud Console.
3
Create a new project in Google Cloud Console
Go to Google Cloud Console and make sure you’re logged into the correct Google account.
- Click New Project in the top right
- Enter a project name (e.g., “My SiteGPT Bot”)
- Click Create
- Wait for the project to be created, then select it
4
Enable Google Chat API
In the Google Cloud Console search bar, type “Google Chat API” and select it from the results. Click Enable to activate the API for your project.
5
Configure the bot
After enabling the API, click on the Configuration tab. Fill in the following details:
- App name: Enter a name for your bot (e.g., “My Company Bot”)
- Avatar URL: Add a link to your logo image (can be hosted externally)
- Description: Briefly describe your bot’s purpose (e.g., “A chatbot to answer questions”)
- Interactive features: Enable this option and select all available options
- App URL: Paste the integration URL you copied from SiteGPT earlier
6
Add slash commands (optional)
You can add slash commands to make the bot easier to use. For example:
- Command: /clear-chat
- Command ID: 1(or any unique number)
- Description: “Resets and starts a new conversation”
7
Set visibility
Scroll down to the visibility section and add email addresses of users who should have access to the bot. You can add multiple emails separated by commas. Click Save when done.
8
Invite the bot to Google Chat
Go to your Google Chat workspace (logged into the same account). To add the bot to a chat or space:
- Open the chat or space where you want to add the bot
- Click to add a member
- Search for your bot by the name you gave it (e.g., “My Company Bot”)
- Select it to add it to the conversation
Using your chatbot in Google Chat
Interacting with the bot
Once added to a chat or space, users can interact with your chatbot by:- Sending messages directly in the conversation
- Using conversation starters (quick prompts) that appear automatically
- Using slash commands you configured (e.g., /clear-chat)
- Asking questions about your organization, products, or website
Testing the integration
After adding the bot to a chat:- Send a test question to verify it responds correctly
- Try using the conversation starters that appear
- Test any slash commands you configured
- Verify that responses match your chatbot’s training data
Adding to multiple chats and spaces
You can add your company bot to any chat or space in your Google Chat workspace. This makes it easy to provide consistent information across different teams and conversations.Managing the integration
View conversation history
All conversations from Google Chat are stored in your SiteGPT dashboard:- Go to Chat History in your chatbot dashboard
- View all messages and interactions from Google Chat
- Monitor how users are interacting with your bot
- Review responses to improve your chatbot’s training
Update bot configuration
To modify your bot’s settings:- Return to Google Cloud Console
- Navigate to your project and the Google Chat API
- Go to the Configuration tab
- Update any settings as needed
- Click Save
Development mode vs. live mode
When your app is in development mode, only users with an app role (like admins) can interact with the bot. To make it available to all users in your workspace, you’ll need to publish the app and set it live.
Troubleshooting
Bot not responding
If your chatbot isn’t responding:- Verify the integration URL is correctly pasted in the Google Cloud Console
- Check that the Google Chat API is enabled
- Ensure you’ve saved all configuration changes
- Confirm the bot has been added to the chat or space
- Verify your chatbot has trained content in SiteGPT
Can’t find the bot when searching
If you can’t find your bot when trying to add it:- Make sure you’re logged into the same Google account
- Verify you added your email to the visibility settings
- Check that the project is selected in Google Cloud Console
- Ensure the bot configuration was saved
Bot only works for some users
If only certain users can interact with the bot:- Check if the app is still in development mode
- Verify all users are added to the visibility settings
- Consider publishing the app to make it available workspace-wide
Best practices
- Choose a clear bot name - Use a name that clearly identifies the bot’s purpose (e.g., “Company Knowledge Bot”)
- Add useful slash commands - Commands like /clear-chathelp users reset conversations easily
- Set up conversation starters - Configure helpful quick prompts in SiteGPT to guide users
- Test thoroughly - Add the bot to a test space first and verify all functionality
- Monitor usage - Regularly review chat history to identify common questions and improve responses
- Train your bot well - Ensure your chatbot has comprehensive training data for accurate responses