This is a sample Sinatra application that demonstrates how to use the Intercom Tickets API to generate GitHub issues whenever a ticket is created in Intercom.
- Ruby and RubyGems installed.
- You'll need an Intercom developer workspace and an Intercom app. If you don't, follow this guide.
- You'll need access to the Tickets feature. If you don’t, follow this guide.
- You'll need a token with access to a GitHub repo where you'd like to create your new issues.
- Clone this repo
- Run
bundle install
to install dependencies - Update the
server.rb
file with your Intercom and GitHub credentials - Replace
REPO_NAME_WITH_OWNER
inserver.rb
with details of the GitHub repo you'd like to create issues in - Run
ruby server.rb
to start the server