-
Install Docker.
-
Install ngrok.
-
Create a Slack App in your Slack workspace to host the TacoGuy. Be sure to install it in your workspace.
-
Create a file named
.env
that will contain your App Credentials to run TacoGuy. You can find them in the Basic Information section of your Slack AppHere is how it should look like:
clientId=XXXXX
clientSecret=XXXXXXXXX
PORT=3000
-
Run:
docker-compose up --build
-
Run ngrok to create a tunnel to your local app:
ngrok http 3000
. Note the https url. -
Create a Bot User in your Slack App.
-
In the OAuth & Permissions section of your Slack App, add a redirect url that will be:
https://[your-ngrok-url]/oauth
. -
In the Events Subscriptions section of your Slack App, set the request url as:
https://[your-ngrok-url]/slack/receive
-
Still in the Events Subscriptions section, under Subscribe to Bot Events add, the events
message.channels
andmessage.im
. -
Visit
https://[your-ngrok-url]/login
. This will log your bot user in your Slack workspace.