Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 1.3 KB

README.md

File metadata and controls

16 lines (13 loc) · 1.3 KB

Ruby Tickets API Sample

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.

Prerequisites

  • 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.

Installing

  • 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 in server.rb with details of the GitHub repo you'd like to create issues in
  • Run ruby server.rb to start the server