Add this line to your application's Gemfile:
gem 'ahoy-intercom'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ahoy-intercom
Set your environment variable INTERCOM_ACCESS_TOKEN
.
About access token see here
Run:
rails generate ahoy:stores:intercom
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the Ahoy::Intercom project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.