How to Add Asyntai AI Chatbot to Bitrix
Step-by-step guide for Bitrix24 websites
Step 1: Get Your Embed Code
First, go to your Asyntai Dashboard and scroll down to the "Embed Code" section. Copy your unique embed code which will look like this:
<script async src="https://asyntai.com/static/js/chat-widget.js" data-asyntai-id="YOUR_WIDGET_ID"></script>
Note: The code above is just an example. You must copy your own unique embed code from your Dashboard as it contains your personal widget ID.
Step 2: For Bitrix24 Sites (Recommended)
If you're using Bitrix24 Sites (website builder), follow these steps:
- Log in to your Bitrix24 account
- Go to Sites and select your website
- Click "Edit" to open the site editor
- Click "Settings" (gear icon) in the top panel
- Go to the "Analytics" or "Custom HTML" section
- Paste your Asyntai embed code in the "Footer code" or "Before </body>" section
- Click "Save"
- Publish your site to apply changes
Tip: Adding the code to the footer section ensures it loads on all pages of your website and doesn't slow down initial page loading.
Alternative: Bitrix CMS Template Editing
For Bitrix CMS (self-hosted), you can add the code via template files:
- Access your Bitrix admin panel
- Navigate to Settings → System Settings → Sites → Site Templates
- Select your active template
- Edit the footer.php file
- Add your Asyntai embed code just before the closing
</body>tag - Save the file
- Clear cache: Settings → System Settings → Clear Cache
Alternative: Using HTML Block
You can also add an HTML block in the Bitrix24 site builder:
- In the site editor, click "+ Add Block"
- Find and select "HTML" or "Custom Code" block
- Paste your Asyntai embed code
- Position the block at the bottom of your page
- Save and publish your site
Important: When using an HTML block, you'll need to add it to each page. For site-wide installation, use the Site Settings method above.
Step 3: Verify Installation
After saving and publishing your changes, visit your website in a new browser tab or incognito window. You should see the chat widget button in the bottom right corner. Click it to make sure it opens and works correctly.
Not seeing the widget? Make sure to publish your site after adding the code. Clear the Bitrix cache and your browser cache, or try viewing in an incognito window.
Weebly