Before you start
You need:- Permission to create and install an app in your Slack workspace. If your organization restricts app installation, ask a Slack workspace administrator to approve it.
- An AskTable agent with its data sources and skills already configured.
One AskTable project can connect to one Slack workspace.
1. Create the Slack app
Open Slack apps, select Create New App, then choose From an app manifest. Select your workspace and paste this YAML manifest:
The manifest does not request
channels:history or groups:history. AskTable cannot read unrelated channel conversations; as a result, every channel question must mention the bot.
2. Get the two tokens
First, open OAuth & Permissions and select Install to Workspace. Approve the requested permissions, then copy the Bot User OAuth Token. It starts withxoxb-.
Next, open Basic Information → App-Level Tokens:
- Select Generate Token and Scopes.
- Enter a name for the token.
- Add the
connections:writescope. - Generate and copy the token. It starts with
xapp-.
The Bot Token lets AskTable receive user details and send replies. The App Token opens the Socket Mode connection. You do not need a Signing Secret.
3. Connect Slack in AskTable
Open the agent you want to connect, then select the Channel tab:- Under Platform, select Slack.
- Enter the
xoxb-token in Bot Token. - Enter the
xapp-token in App Token. - Select Save.
4. Check the connection
The Channel card shows the current connection status:
The status refreshes automatically every five seconds. Refresh only reloads the status; the Slack connection reconnects automatically when needed.
Connected confirms the Slack connection only. After sending a test question, check Latest message to confirm that AskTable received, processed, and replied to it.
5. Add the bot to a channel
The bot must be a member of a channel before it can receive mentions there. In the target channel, enter:6. Ask questions
In channels, mention the bot in every question, including follow-ups inside a thread. AskTable deliberately avoids permissions that would let it read the full channel history.
A thread belongs to the person who started it. If someone else mentions the bot in that thread, AskTable asks them to start a new question in the channel. Multi-person direct messages are not supported.
