stormpath-intercom

Sync your Stormpath accounts with Intercom!

Usage no npm install needed!

<script type="module">
  import stormpathIntercom from 'https://cdn.skypack.dev/stormpath-intercom';
</script>

README

stormpath-intercom

Sync your Stormpath accounts with Intercom!

NPM Version NPM Downloads

Stick Figure Sketch

Purpose

If you use Stormpath to store and manage your user accounts, stormpath-intercom can be used to easily sync your user data to Intercom's amazingly awesome CRM system.

This is useful, because this simple CLI tool allows you to easily keep your Intercom CRM completely up-to-date with all your user information.

Install

You can install stormpath-intercom through npm by running:

$ npm install -g stormpath-intercom

NOTE: If you aren't using an environment manager like nvm, you may need to run the above command with sudo.

Usage

Using stormpath-intercom is easy! You can sync your user data by running the following CLI command:

$ stormpath-intercom \
    --stormpath-api-key-id=xxx \
    --stormpath-api-key-secret=xxx \
    --stormpath-app-name=myapp \
    --intercom-app-id=xxx \
    --intercom-api-key=xxx

I know it's a bit long, but to make things work you need to specify 5 separate CLI arguments:

  • --stormpath-api-key-id: Your Stormpath API key ID.
  • --stormpath-api-key-secret: Your Stormpath API key secret.
  • --stormpath-app-name: Your Stormpath application name to sync.
  • --intercom-app-id: Your Intercom app ID (this can be found in your settings under API keys).
  • --intercom-api-key: Your Intercom API key (this can be found in your settings under API keys).

This might take a while, depending on how many user accounts you have.

NOTE: For best results, consider running stormpath-intercom on a cron job -- this way, any user accounts you have will be automatically synced with Intercom, and you'll continuously have an up-to-date directory of users!