Botlink Documentation
Begin integrating BotLink into your application with a quick setup process. In just a few minutes, you can configure your project, secure your keys, and embed a production-ready chatbot directly into your website.
Project Setup
Start by creating a new project inside the BotLink dashboard:
https://botlink.appscriptify.com
After creating the project, configure its details and retrieve your keys from the Keys tab. These keys allow your bot to securely connect with the BotLink backend.
Configure Security
BotLink provides domain-level protection to prevent unauthorized usage of your bot.
- Set your Authorised Domain in the Security tab.
- Any requests coming from non-authorised domains are automatically blocked.
- This step is required only when using AS KEY authentication.
- API-based usage does not require domain authorization.
Add the Chatbot to Your Website
Embedding the BotLink chatbot is extremely simple — just include a single script tag in your HTML file:
<script src="https://botlink.appscriptify.com/cdn/botlink/botlink.js" AS_KEY="as_pub_your-as-pub-key"></script>
Your AS Key is available in the project’s Keys section.
Customizing the Chatbot
The chatbot’s behavior and appearance can be controlled directly via script tag attributes:
- theme:
lightordark - position:
top-right,top-left,bottom-right,bottom-left - size:
small,medium,large
Example
<script src="https://botlink.appscriptify.com/cdn/botlink/botlink.js" AS_KEY="as_pub_your-as-pub-key" position="top-right" size="medium" theme="light"></script>