- Create an app here - https://api.slack.com/apps
- Go to the app page
- Go to "Bot Users" section in the left navigation bar
- Create a bot user
- Go to "Install App" section in the left navigation bar
- Install the app in your workspace
- Get the "Bot User OAuth Access Token". This is the token needed for access-genie bot
- Put the token in an
.env
file
# .env file
export SLACK_TOKEN="your-token"
- Source the
.env
file
$ source .env
- Run the server
$ access-genie
- Clone the repo outside
$GOPATH
as this project uses go modules
$ git clone https://github.com/karuppiah7890/access-genie
- Build it
$ make build
- Set it up and run it
$ make setup
$ vi .env # change the slack token
$ source .env
$ ./out/access-genie