GOLANG SLACKBOT TUTORIAL

Build Slack Applications in Golang using Socket Mode — Setting Up

Every Slack Application starts with a few simple steps.

Alexandre Couëdelo
Geek Culture
Published in
5 min readMay 10, 2021

--

Gophers (Golang) Setting up a music stage
Photo by Adi Goldstein on Unsplash, Gopher by Egon Elbre.

I started writing articles on building Slack Bots a month ago and decided to continue the series until I covered everything Slack has to offers. I rapidly notice that I may end up repeating myself because every Slack Application requires a few Setup Steps.

If you are coming from one of my articles you are at the right place 😃. Proceed to the instruction below to get started. If not, it is also fine this is an introduction tutorial after all 😆, however, here is a list of the related articles in case you are curious.

  1. Properly Welcome Users in Slack with Golang using Socket Mode
  2. Build a Slack App Home in Golang Using Socket Mode
  3. Manage Static Assets in Golang
  4. Implement Slack Slash Command in Golang with Socket Mode
  5. Creating Slack Shortcuts with Golang using Socket Mode (Next in Line)

Try the app

You can also directly clone my repository to try it beforehand. Once you have successfully set up your Slack application as explained in this article, you can run it using

--

--

Alexandre Couëdelo
Geek Culture

Software Supply Chain and Automation Specialist (aka. DevOps).