Benjamin Lupton edited this page Sep 21, 2015 · 3 revisions

To use slackin on OpenShift, follow these instructions:

  1. Create your OpenShift account and install their client tools

  2. Create a new OpenShift application for slackin:

rhc app-create slackin
  1. Identify the following variable values:
  • SLACK_SUBDOMAIN: Your Slack's subdomain (the this part in,
  • SLACK_API_TOKEN: A Slack API token for an admin user (not an owner, but an admin user — you may have to create a new user) (find it on
  • SLACK_CHANNELS (optional): Comma-separated list of single guest channels to invite them to (leave blank for a normal, all-channel invite). In order to make this work, you have to have a paid account. You'll only be able to invite as many people as your number of paying members times 5.

And set them for the app using:

  1. If you'd like a custom domain, run:
rhc alias-add $SLACK_CUSTOM_DOMAIN -a slackin

Where $SLACK_CUSTOM_DOMAIN is something like where is your domain name. Then create CNAME record with your DNS host pointing the slack custom domain to

  1. Deploy slackin to your app:
git clone
cd slackin
git remote add openshift `rhc app-show slackin | grep Git | sed 's/^.*ssh/ssh/'`
git push openshift master --force
cd ..
rm -Rf slackin
  1. You should be all good now! Check the logs of your app with:
rhc tail -a slackin
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.