Skip to content

Template repository for Inkeep's AI documentation within Intercom messenger.

Notifications You must be signed in to change notification settings

inkeep/inkeep-within-intercom

Repository files navigation

Inkeep Intercom Application Template

This repository demonstrates how to integrate Inkeep's AI Documentation Chat widget within your existing Intercom messenger. This is ideal if you don't want to stop using Intercom and you don't want two different messenger widgets on your web page.

Live Demo:

Try a live demo using Inkeep's Intercom and Inkeep's docs here

Example Inkeep Intercom Messenger App Presentation Entry Point

Example Messenger Input interaction

Example Messenger Output interaction

Set up instructions

High level:

  • 1-click deploy an app to Vercel. This app has the logic needed for the Intercom widget to talk to the Inkeep app. Let us know if you use a different cloud provider
  • Configure the Inkeep app in the Intercom dashboard to be used by the widget

Deploy to Vercel

Deploy with Vercel

  1. Click "Deploy to Vercel":

    • Deploy with Vercel
  2. Get variables:

  3. Complete the vercel deployment. Get the deployment domain, e.g. myinkeepintercomapp.vercel.com)

Configure in Intercom

  1. Create and configure a new Intercom App:

  2. Configure the messenger to display the app.

  3. Test it.

    • Go to a page where your intercom messenger is shown or open your vercel deployment homepage to give it a test drive.

Optional

  • Customize the Inkeep-Intercom app using elements from the Intercom Canvas Kit and redefining the canvas object within the initlialize endpoint.
  • Conditionally show/hide the Inkeep Intercom app based on various user and visitor properties.

Local Development

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.