ServiceBell
Search…
5 Minute Quick Start
Integrating ServiceBell is a breeze.
1. Visit https://app.servicebell.com to grab your API key. If you haven't yet created an account, you'll need to do that first. After you sign-up, you'll see your API key first in the onboarding, and then in your widget settings at the bottom.
2. Integrate ServiceBell into your web app with NPM/Yarn or a script tag. ServiceBell runs entirely in the browser.
Script Tag
NPM/Yarn
Paste the following script at the very top of of the <head> of your site.
1
<script>
2
!function(w,d){function e(e,i){w.ServiceBell.q=w.ServiceBell.q||[],w.ServiceBell.q.push([e,i])}w.ServiceBell=w.ServiceBell||["init","identify","dial","alert","bookMeeting","hide","show","expand","collapse","connect","disconnect"].reduce((function(i,n){return i[n]=function(){e(n,arguments)},i}),{});var s=d.createElement("script");s.id="service-bell-script",s.src="https://cdn.servicebell.com/main.js",s.async=1;var i=d.getElementsByTagName("script")[0];i.parentNode.insertBefore(s,i)}(window,document);
3
ServiceBell.init("CLIENT_KEY_HERE", { mode: "iframe-jit" });
4
</script>
Copied!
Install the servicebell-js package via NPM:
1
# NPM
2
npm install --save @servicebell/widget
3
4
# Yarn
5
yarn add @servicebell/widget
Copied!
Import ServiceBell and call ServiceBell.init() with your configuration options
1
import ServiceBell from "@servicebell/widget";
2
ServiceBell.init("CLIENT_KEY_HERE");
Copied!
Last modified 5d ago
Copy link