• Create
    • Create an article
    • Post an idea
  • Spaces
    • AnswerHub Tech Docs
      • Developer
        • Documentation
      • Install & Upgrade
    • Archive
    • Default
    • Help
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Sign in
  • Home
avatar image
matt asked · Jan 02, 2016 at 11:35 PM

How do I setup AnswerHub's Slack Integration?

integrationsslack
Comment

People who like this

0 Show 0
10 |2000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
1 Reply · Write an answer
avatar image
matt answered · Jan 02, 2016 at 11:40 PM Best Answer

1) Go to https://hostname.slack.com/services/new/bot and register a new bot - give it a name similar to the name of your AnswerHub site
2) Install the Slack plugin

  • Cloud Hosted: File a task-type ticket with your JIRA Service Desk account requesting for our team to install the Slack Integration plugin on your Production and/or staging site. (be sure to provide these links in the ticket details)
  • On-premise: File a task-type ticket with your JIRA Service Desk account requesting for our team to send you the Slack Integration plugin jar file so that you can install it on your server.
    • Once you have the jar file, copy the jar to the team hub.home/plugins/installed folder. It should then appear in your list of deactivated plugins in the admin of your community. You will need to enable the plugin before moving on to the next step.

3) Go to /admin/integrations/slack.html in AnswerHub and enter your API token and enter the default channel for messages along with any topic mappings
3.1) Before you can send any messages to a channel besides #general, a user needs to invite the bot into that channel
4) New questions that have not been sent to moderation that match topics in the admin config (or default channel if no matches) will be sent to a slack Channel.

Currently the mapping is only to the default & help spaces. Mapping Spaces to channels is slated for a future version of AnswerHub, to be decided.

Comment

People who like this

0 · Show 4 · Share
10 |2000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ThomasTrinelle · Sep 12, 2016 at 08:34 PM

Hi thanks for the information!

I've tried following the steps and it didn't work for me. I managed to create a new bot, enter the API token, invite it to the channel but still when questions are posted on our community page it doesn't show in the Slack Channel.

I was thinking it might be because of the way we set-up the 'Topic To Channel List' as I'm not sure what it refers too. Right now it set to 'default = usersupport'.

Cheers,

Thomas

0 · Share ·
avatar image ThomasTrinelle · Sep 14, 2016 at 09:59 PM

Hi @matt, any thoughts on the my question above? Cheers, Thomas

0 · Share ·
avatar image matt ♦♦ · Sep 15, 2016 at 02:52 PM

Hi there - sorry, I don't think I got your notification. This isnt a normal support channel Can you please file a ticket in our support portal or through your customer care representative? That said, in that topic mapping 'usersupport' needs to be slack channel. I'm presuming that's the case? In the support channel, please tell us the customer site and we'll check the logs to see if there's anything wrong there.

0 · Share ·
avatar image ThomasTrinelle · Sep 15, 2016 at 06:46 PM

Hi @matt, thanks for your response. I'll file the ticket now.

0 · Share ·
Write an answer
Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

question details

3 People are following this question.

avatar image avatar image avatar image
Answers Answers and Comments
about | contact
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • AnswerHub Tech Docs
    • Developer
      • Documentation
    • Install & Upgrade
  • Archive
  • Help
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Users
  • Badges