Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
bin
 
 
 
 
db
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Slack Portals

This is natively supported by slack. Atomic deprecates support on this project. https://slack.com/intl/en-nz/help/articles/115005912706-Manage-channels-shared-with-external-organizations#allow-additional-organizations-to-join

Slack portals is a Rails server that can connect two different company's Slack channels together. Fork this project and spin up your own Portal Server.

The following instructions will help you setup Slack Portals on a Heroku instance.

  1. Setup a Heroku account and add the new 'heroku' remote:
  1. Setup a Google OAUTH2 API:
  • Go to https://console.developers.google.com
  • Select your project.
  • Click 'APIs & auth'
  • Make sure "Contacts API" and "Google+ API" are on.
  • Go to Consent Screen, and provide a 'PRODUCT NAME'
  • Wait 10 minutes for changes to take effect.
  1. Setup a Slack API account
  • Go to https://api.slack.com/applications
  • Create a new application
  • Set the URL to be the heroku instance URL
  • Set the Redirect URI(s) to be https://{your_heroku_app_name}.herokuapp.com/portals/callback
  1. Set the following Environment Variables in Heroku:
  • SLACK_CLIENT_ID='your Slack API client id'
  • SLACK_CLIENT_SECRET='your Slack API client secret'
  • SLACK_PORTAL_CALLBACK='https://{your_heroku_app_name}.herokuapp.com/portals/callback'
  • SLACK_PORTAL_OUTGOING_URL='https://{your_heroku_app_name}.herokuapp.com/webhooks/incoming'
  • GOOGLE_CLIENT_ID='your Google API client id'
  • GOOGLE_CLIENT_SECRET='your Google API client secret'
  1. Deploy to Heroku git push heroku master

  2. Run the migrations heroku run rake db:migrate

And you're done, your server should be up and running, enjoy!

The MIT License (MIT)

Copyright (c) 2014 Atomic

About

With Slack Portals, you can link two different companies Slacks together through a common channel.

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.