It only takes a few minutes to install Intercom on your website. Once installed, you’ll be able to welcome, onboard, and support customers as they become loyal users of your app.

  • The Messenger is easily customized to suit your brand.

  • You choose who can see the Messenger, and how they can start conversations.

  • The Messenger connects directly to apps you use, like Google Meet, Statuspage, Stripe and 60 others.

Note: You'll need an Intercom trial or subscription to install the Messenger in your app.

Install the JavaScript code

After starting an Intercom trial, just copy the code snippet under "Set up chat for logged-in users" on the home tab.

This snippet is pre-populated with your unique workspace ID, so it's ready to go:

How to use the code

  • Edit the code to send Intercom the email address or user_id and signed-up date of the user who is currently logged in.

  • Paste the code right before the closing body tag of every page where you want the Intercom Messenger to appear.

  • After adding the code, open your app and the Messenger will appear.

  • You can also send Intercom Custom attributes about your users:

Important:

  • You can identify users with either a user_id or email address.

  • If you send a user_id and an email address, the user_id will take priority when identifying your users.

  • If you choose to use user_id, email address can still be used to identify your users in Intercom, so we recommend enabling identity verification.

Now you're ready to start using Intercom, like Laura 👇

We get 600-700 new customers every single day, and Resolution Bot is resolving many of the inquiries we frequently get from new customers

Installing Intercom for a client?

If you don't have access to the Intercom workspace, you can grab the JavaScript code here 👇 You will need to manually replace WORKSPACE_ID with the unique workspace ID for your Intercom account.

<script>
var APP_ID = "WORKSPACE_ID"; // Replace this with your workspace ID
window.intercomSettings = {
app_id: APP_ID,
name: "Jane Doe", // Full name
email: "customer@example.com", // Email address
created_at: 1312182000 // Signup date as a Unix timestamp
};
</script>
<script>(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',w.intercomSettings);}else{var d=document;var i=function(){i.c(arguments);};i.q=[];i.c=function(args){i.q.push(args);};w.Intercom=i;var l=function(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/' + APP_ID;var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);};if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})();</script>

Note: The value for created_at should be the date that a customer signed up for your app, site or service, sent as a Unix timestamp.

Tip: This article shows where to find your workspace ID.

What’s next?

  • Watch a video: If you'd like to learn how to use Intercom from the people who built it, watch a video.

  • Add extra security: You should enable identity verification on your app to add an extra layer of user data protection.

Want to talk to visitors to your website?

Check out our guide for installing Intercom on your website.

Did this answer your question?