Applies to Basic

Applies to Business

Our Slack integration allows your organization to connect its internal communication tool with its internal knowledge repository. The integration lets you:

  • Search through your Team's content to find answers to your most pressing questions.
  • Stay up-to-date on your Team's latest answers and information with automated notifications.
  • Capture the questions and answers that quickly get lost in your Team's chat.

Install the Stack Overflow for Teams Slack App

Note: Your organization's Slack Workspace administrator may need to approve the app.

From the Stack Overflow for Teams page on the Slack App Directory, click the Visit Site to Install button.

On the following page, click the Add to Slack button. If you're not an admin on your Team, click Request installation and your Team admins will be notified to grant access to the integration.

Search through your Team's questions and answers

Searching is as easy as typing

/stack search

followed by your search query. Searching through Slack mimics the way search works on Stack Overflow. The tips and tricks you use on the website will help you get the right results, faster, in Slack.

Add Notifications

Setting up notifications of your Team's activity in Slack is an essential part of growing and maintaining your knowledge repository. You can add Teams notifications to Slack channels and direct messages to keep up with question and answer activity in your Team. Click on the button to create a notification to get things going.

To start, select which types of activity you want to be notified about.

  • @mentions: be notified when you are added to the list of users to notify about a question.
  • Questions: be notified when there's a new question.
  • Answers: be notified when there's a new answer.
  • Accepted answers: be notified when there's a new accepted answer.
  • Edited questions: be notified when a question is edited.
  • Updated answers: be notified when an answer is updated.
  • Comments: be notified when a comment is added.

Once you've selected what you want to be notified about, tell us which format you'd like us to deliver the notification in.

  • Full: includes the complete title and body of the question or answer.
  • Short: a short snippet of the question or answer.
  • None: only shows the title of the question or answer.

The last thing we need to know is which tags you want to notified for. The default is All tags, but you can also specify specific sets of tags. For example, if your Design team has a #design channel in Slack, you can specify that any Questions tagged with CSS, HTML, design, etc. should trigger a notification in #design. Setting up notifications with specific sets of tags helps keep teams up to date with knowledge relevant to them, and reduces noise.

Once you're done, click Add to Slack, and you're all set. We encourage you to create as many notifications as needed to keep your Team informed and active in their favored communication tool.

Building your knowledge base through Slack

Whether your organization is in a physical location or remote, Slack has become one of the main methods through which teams communicate today. From casual conversations to collaborating back and forth on projects, Slack is where so much happens.

A major part of that communication is teammates asking questions which are often asked and answered repeatedly over time. Once you set up the Stack Overflow for Teams integration with Slack, you'll be able to capture this knowledge by prompting users to ask their question on Teams. When the question is asked and answered on Teams, it becomes a shared resource for your entire organization, and searchable from within Slack the next time the question comes up.

When you see a question asked, that will make a helpful addition to your knowledge repository, hover over the message, and click the ... Actions menu.

From there, find the action Ask on Teams.

That will prompt users in the channel to post the question on Teams instead. A link to a pre-filled draft of the question on Stack Overflow for Teams makes it easier for the ask-er to submit their question.

Did this answer your question?