Intercom
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
Integrate Intercom with your Drupal website. The Intercom module provides an easy method
to set-up the live chat functionality for the Intercom service and provides the Intercom PHP-SDK as a Drupal service for integrating modules.
Installation
Currently the simplest and only supported way to install this module is using composer.
composer require drupal/intercom
This will add the intercom module to your composer.json file and download the module and its dependencies (Intercom PHP-SDK).
Module usage
Out of the box the module provides support for Intercom live-chat. A test and production environment (as recommended by Intercom) can be configured at admin/config/services/intercom.
The module also provides the IntercomApiService class which can be used to communicate with the Intercom service from custom or supporting modules. Using the Intercom API with the PHP-SDK requires configuring an access_token. You do this by adding the following to your settings.php file:
$settings['intercom_access_token'] = "your_api_access_token";
