Comment on page
The GitBook integration for Slack lets you curate knowledge into your knowledge base, right from the source
The GitBook Slack integration helps you collect, review, and share information to and from your company’s knowledge base. With a set of commands you can run within your Slack Workspace, it’s easy to add or use information that’s useful for your team.
GitBook AI will summarize information that you or your team add to your knowledge base, turning a series of messages into a context-rich document. And when you or a colleague need to learn more about something, you can ask GitBook AI and get a plain-text summary, with all the background needed to dive in deeper.
If you had installed the GitBook Slack integration prior to October 7th 2023, you’ll need to uninstall and reinstall the integration to get the latest version.
After installing the Slack integration to GitBook, you’ll see a prompt to authorize your user account and install the Slack bot into your organization’s Slack workspace.
After installing the integration into your Slack workspace, you can use the included Slack commands, or invite the GitBook Slack bot to the channels you’d like to interact with it in, and tag it to ask a question. See the FAQs at the bottom to learn more about where you can use the GitBook Slack bot.
You can add information to your team’s knowledge base by calling the GitBook Slack bot. You can invoke the bot in different ways, in both public or private channels.
Calling the GitBook bot will work from any thread within a public channel, private channel, or direct message.
You can also add data to your team’s knowledge base using Slack shortcuts. Simply click the More actions button from a thread in Slack, click More message shortcuts…, and search for the GitBook bot. You can call the shortcut from any message in a thread — the GitBook bot will save the entire thread.
As well as saving information to your team’s knowledge base, you can also recall anything from your knowledge base from within Slack, while you work.
/gitbook [question]will allow you to get a private, AI-generated response to your question, based on the information in your team’s knowledge base.
The answer in Slack will only be visible to you — which is useful if you need a quick bit of context on something without polluting your team’s channel.
After GitBook returns your answer, you’ll have the option to share your answer to the channel, if you think the answer is helpful for others.
The Slack command will only work in public channels, private channels, and direct messages. It will not work inside of a thread.
You can call the GitBook Slack bot directly with
@GitBook [question]to receive a public answer in any channel or thread.
After asking your question in a channel or thread, everyone that has access to that channel will be able to see it and the answer.
Calling the GitBook Slack bot will only work in public channels, private channels, and threads. It will not work inside of a direct message.
You can also ask questions to the GitBook Slack bot in a direct message. After starting a direct message with the GitBook Slack bot, simply ask your question. GitBook AI will generate and return an answer privately in seconds.
When interacting with the GitBook Slack integration, there are a few things to keep in mind:
/gitbook [question]command does not work in threads. It will only work in public and private channels or direct messages.
@GitBook savecommand does not work in top-level channels or direct messages. It will only work inside threads.
Last modified 5d ago