Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
SLACK DEVELOPMENT 

AND YOU
ANDREW KOZLIK
WHO AM I?
▸ Andrew Kozlik
▸ Founded Orlando iOS Meetup 2011
▸ Co-founded Central Florida Android Meetup
▸ Co-captain of Co...
BRIEF HISTORY OF SLACK
▸ Messaging platform very similar to IRC
▸ Originally a social RPG called “Glitch”
▸ Glitch failed,...
INTERESTING SLACK PROJECTS
TYPES OF SLACK APPS
▸ Slack Applications
▸ Collect integrations into a public interface
▸ Slack Integrations
▸ Pull data o...
WHAT I’VE BUILT
▸ Slack Integration
▸ Slash command /meetup
▸ Lists all upcoming Orlando Dev related Meetups
▸ Accepts thr...
DEMO TIME
SO HOW DO WE BUILD THIS?
▸ Enable Integration
▸ Set up slash command
▸ Build application
▸ Deploy to Heroku
ENABLE
INTEGRATION
SET UP SLASH
COMMAND
BUILD
APPLICATION
BUILD APPLICATION
▸ Meetup slash command runs off a Node server with
Express
▸ Route is defined to accept posts
▸ Meetup AP...
MMMMMM CODE.
MMMMMM.
DEPLOYMENT?
DEPLOY TO HEROKU
▸ Use Heroku’s CLI tools
▸ heroku login
▸ heroku create
▸ git push heroku master
▸ heroku ps:scale web=1
...
FINAL NOTES
FINAL NOTES
▸ http://github.com/akozlik/slack-meetup
▸ Register Meetup API token
▸ Create slash command
▸ Create .env file
...
HIT ME UP!
▸ Andrew Kozlik
▸ Twitter - @codefortravel
▸ ODevs - @akozlik
▸ Code for Orlando - http://bit.ly/cfoslack
▸ Go ...
Slack Development and You
Slack Development and You
Slack Development and You
Slack Development and You
Slack Development and You
Slack Development and You
Slack Development and You
Slack Development and You
Slack Development and You
Upcoming SlideShare
Loading in …5
×

Slack Development and You

275 views

Published on

Presentation for Orlando Code Camp 2016. Covers Slack development and walks the user through the creation of a slash command bot.

Published in: Software
  • Be the first to comment

Slack Development and You

  1. 1. SLACK DEVELOPMENT 
 AND YOU ANDREW KOZLIK
  2. 2. WHO AM I? ▸ Andrew Kozlik ▸ Founded Orlando iOS Meetup 2011 ▸ Co-founded Central Florida Android Meetup ▸ Co-captain of Code for Orlando ▸ Mobile Engineer / Technical Lead - UniKey
  3. 3. BRIEF HISTORY OF SLACK ▸ Messaging platform very similar to IRC ▸ Originally a social RPG called “Glitch” ▸ Glitch failed, but the team was working on 
 a messaging tool ▸ 80,000 users three months after “pre-beta” ▸ $540M raised to date with $3.8B valuation
  4. 4. INTERESTING SLACK PROJECTS
  5. 5. TYPES OF SLACK APPS ▸ Slack Applications ▸ Collect integrations into a public interface ▸ Slack Integrations ▸ Pull data out of and send data into Slack ▸ Private for teams only ▸ Free teams have a 10 integration limit
  6. 6. WHAT I’VE BUILT ▸ Slack Integration ▸ Slash command /meetup ▸ Lists all upcoming Orlando Dev related Meetups ▸ Accepts three parameters - today, week, month ▸ Currently active in Orlando Dev slack
  7. 7. DEMO TIME
  8. 8. SO HOW DO WE BUILD THIS? ▸ Enable Integration ▸ Set up slash command ▸ Build application ▸ Deploy to Heroku
  9. 9. ENABLE INTEGRATION
  10. 10. SET UP SLASH COMMAND
  11. 11. BUILD APPLICATION
  12. 12. BUILD APPLICATION ▸ Meetup slash command runs off a Node server with Express ▸ Route is defined to accept posts ▸ Meetup API module and Slack module ▸ Check token validity, call Meetup API, post results to Slack ▸ Application is deployed to Heroku
  13. 13. MMMMMM CODE.
  14. 14. MMMMMM. DEPLOYMENT?
  15. 15. DEPLOY TO HEROKU ▸ Use Heroku’s CLI tools ▸ heroku login ▸ heroku create ▸ git push heroku master ▸ heroku ps:scale web=1 ▸ heroku open ▸ heroku config:set KEY=value
  16. 16. FINAL NOTES
  17. 17. FINAL NOTES ▸ http://github.com/akozlik/slack-meetup ▸ Register Meetup API token ▸ Create slash command ▸ Create .env file ▸ Configure ENV variables on Heroku
  18. 18. HIT ME UP! ▸ Andrew Kozlik ▸ Twitter - @codefortravel ▸ ODevs - @akozlik ▸ Code for Orlando - http://bit.ly/cfoslack ▸ Go buy a Kēvo!

×