Embed Subscription Portal

Simply embed the Servicebot Subscription Management Portal inside your application

This is the simplest step of the process. You must simply copy and paste the Javascript snippet of code into the billing page (or any desired page) of your application. You can view your Servicebot Subscription Management Portal Javascript snippet in the "Subscription Portal" page under "Subscription Management Portal Setup":

Servicebot Subscription Management Portal Setup Page

Example Embed Code

An example embed code will look similar to the following:

<div id="servicebot-subscription-portal"></div>
<script>
window.servicebotSettings = {
servicebot_id: "sampleid", // LIVE & TEST MODE IDs ARE DIFFERENT
service: "Servicebot",
email: "EXAMPLE@EMAIL.COM" // REPLACE WITH USER'S EMAIL
};
(function () { var s = document.createElement('script'); s.src = 'https://js.servicebot.io/embeds/servicebot-billing-settings-embed.js'; s.async = true; s.type = 'text/javascript'; var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x); })();
</script>

Front-end Library Examples

React

Vue

Add Security To Your Portal

The next Step is to add user identification validation to your Subscription Management Portal for higher security: