Prerequisites
- An active SiteGPT chatbot
- Admin access to your Slack workspace
- Slack integration feature enabled on your plan
Setting up Slack integration
1
Create a Slack app
- Go to Slack API and click Create New App
- Choose From an app manifest
- Select your workspace
2
Configure app manifest
In your SiteGPT dashboard:
- Go to Integrations → Slack
- Copy the Initial App Manifest.json provided
- Paste it into the Slack app manifest editor
- Review and create the app
3
Get OAuth token and channel ID
In your Slack app settings:
- Go to OAuth & Permissions
- Click Install to Workspace and authorize
- Copy the Bot User OAuth Token (starts with
xoxb-
) - Get your channel ID from Slack (right-click channel → View channel details)
4
Connect in SiteGPT
Back in your SiteGPT dashboard:
- Enter the Bot User OAuth Token
- Enter the Channel ID
- Click Connect
- Copy the Final App Manifest.json that appears
5
Update Slack app manifest
Return to your Slack app settings:
- Go to App Manifest
- Replace the manifest with the Final App Manifest.json from SiteGPT
- Save changes
6
Test the integration
- Invite your bot to a channel:
/invite @YourBotName
- Send a test message mentioning the bot
- Verify the bot responds correctly
Watch the video tutorial above for a step-by-step walkthrough of the setup process.
How it works
Once connected, your chatbot:- Responds to direct messages in Slack
- Can be mentioned in channels using
@YourBotName
- Maintains conversation context across messages
- Syncs all conversations back to your SiteGPT dashboard
Using your chatbot in Slack
- Direct messages
- Channel mentions
- Adding to channels
Users can send direct messages to your chatbot for private conversations:
1
Find your chatbot
Find your chatbot in the Slack sidebar under Apps
2
Open direct message
Click to open a direct message
3
Ask questions
Type your question and press Enter
4
Get instant answers
The chatbot responds instantly with AI-powered answers
Managing the integration
View connection status
From the Integrations page, you can:- See if Slack is connected
- View the current configuration
- Access the app manifest
- Disconnect the integration
Monitor conversations
All Slack conversations appear in your SiteGPT dashboard under Chat History, where you can:- Review conversation transcripts
- Analyze chatbot performance
- Identify common questions
- Export conversation data
Disconnect
To disconnect Slack:- Go to Integrations in your chatbot dashboard
- Click on Slack
- Click Disconnect and confirm
Required Slack permissions
View required OAuth scopes
View required OAuth scopes
The integration requires these OAuth scopes:
- User scopes
- Bot scopes
channels:history
- Read messages in public channelsim:history
- Read direct messagesim:read
- View direct message infoidentify
- View user identitychannels:read
- View public channelsusers:read
- View usersmpim:read
- View group messageschat:write
- Send messagesgroups:write
- Manage private channels
Troubleshooting
Chatbot not responding
Chatbot not responding
If your chatbot isn’t responding in Slack, try these solutions:
- Verify the integration is still connected in your dashboard
- Check that the bot has been invited to the channel (
/invite @YourBotName
) - Ensure your chatbot has trained content to answer questions
- Verify the Bot User OAuth Token is still valid
- Check that the app manifest is up to date
Connection errors
Connection errors
If you encounter connection errors, verify these settings:
- Verify the Bot User OAuth Token is correct (starts with
xoxb-
) - Ensure the Channel ID is valid
- Check that the Slack app is installed in your workspace
- Verify the app manifest matches the Final App Manifest.json from SiteGPT
Missing conversations
Missing conversations
If conversations aren’t appearing in your dashboard:
- Check your internet connection
- Verify the integration status
- Wait a few minutes for sync to complete
- Ensure the webhook URL in your Slack app manifest is correct
Best practices
- Set clear expectations - Add a welcome message in your Slack app home explaining what your chatbot can help with
- Monitor regularly - Review Slack conversations to improve your chatbot’s responses
- Use channels strategically - Add your chatbot to high-traffic support channels
- Provide escalation - Enable human support for complex questions
- Keep permissions minimal - Only grant the required OAuth scopes