Askabt Developer Guide

Contents

  • Admin portal
  • Client-side Integration
    • Import the script
    • Add the buttons
  • Server-side Integration

Admin portal

This is currently under development. It will allow you to change your API key, administer and administer the topics related to your site. Until then, please send a request to aravind@askabt.in to add or remove topics.

Client-side Integration

Askabt widgets like the chat button, join button etc. can be embedded easily using client-side integration.

Import the script

Just before the </body> tag, place the following code:

<script src="http://askabt.com/1.js?key=YOUR-API-KEY"></script>
					

Add the buttons

In your HTML, wherever you require a button, place the following code. For a chat button:

<button class="askabt-chat" data-topic="YOUR-TOPIC">askabt</button>
					

and for a join button:

<button class="askabt-chat" data-topic="YOUR-TOPIC">join</button>
					

In both the above examples, replace YOUR-TOPIC with the actual topic you have added through the admin portal.

Server-side Integration

This is currently under active development and will be released soon.