Повернутися до панелі керування

Документація

Дізнайтеся, як використовувати Asyntai

Функції
Сканування сайту Прогалини у знаннях Картки товарів Динамічні картки товарів Dynamic Images Контекст користувача Власні інструменти Параметри посилань Моніторинг у реальному часі Перехоплення оператором Ескалація Сповіщення ШI Щоденний звіт Потік даних у реальному часі Потік даних у реальному часі Max Учасники команди Єдиний вхід Двофакторна автентифікація Включити зображення Розпізнавання зображень Віджет перекладу Локалізація Прозорість ШІ Ліди Розумне захоплення лідів Тікети підтримки Бронювання Вбудовування Виключення сторінок Заблоковані IP Політика зберігання Режим нульового зберігання Маскування PII Класифікатор відповідей Access Tags Закріплення версії віджета Журнал аудиту Розумніша модель Увімкнути міркування Пропозиції відповідей Подальші повідомлення Мовлення в текст Завантаження стенограми Вбудований чат

How to Add Asyntai AI Chatbot to Brightspace

Step-by-step guide for D2L Brightspace

Отримати код вбудовування

Крок 1: Отримайте код для вставки

Спочатку перейдiть до вашої Панелi керування Asyntai та прокрутiть вниз до роздiлу "Код для вставки". Скопiюйте унiкальний код для вставки, який виглядатиме так:

<script>(function(){var l=function(){var s=document.createElement("script");s.src="https://widget.asyntai.com/static/js/chat-widget.js";s.async=true;s.setAttribute("data-asyntai-id","YOUR_WIDGET_ID");document.head.appendChild(s)};if(document.readyState==="complete"){l()}else{window.addEventListener("load",l)}})();</script>

Примітка: Код вище є лише прикладом. Ви повиннi скопiювати власний унiкальний код для вставки з вашої Панелi керування, оскiльки вiн мiстить ваш особистий ID вiджета.

Step 2: Create a Custom Widget

In Brightspace, the chatbot is added by creating a Custom Widget that holds your embed code. This normally requires an instructor or administrator role:

  1. Log in to Brightspace and open the course where you want the chatbot (administrators can use Admin Tools to work at the org level instead)
  2. From the course navbar, click Course Admin (or Admin Tools for an org-level widget)
  3. Under the Site Resources section, click Widgets
  4. Click Create Widget
  5. On the Properties tab, give the widget a name such as Asyntai Chatbot
  6. Open the Content tab and click the </> (source code / HTML editor) button to switch to HTML view
  7. Paste your Asyntai embed code into the source editor
  8. Leave Render in iFrame unchecked so the script runs in the page context and the floating chat button can appear over the whole homepage
  9. Click Save and Close

Примітка: The Widgets tool lives under Course Admin for a single course, and under Admin Tools for the whole organization. If you don't see Widgets, your role may not have permission — ask your Brightspace administrator.

Step 3: Add the Widget to a Homepage

A custom widget only appears once it is placed on an active homepage using Homepage Management:

  1. Go to Course Admin → Homepages (or Admin Tools → Homepages for the org level)
  2. Create a new homepage, or click an existing one to edit it. If you edit a system homepage, use Copy first so you have an editable version
  3. In a widget panel, click Add Widgets
  4. Find and select your Asyntai Chatbot widget, then click Add
  5. Click Save and Close
  6. Back on the Homepages list, set your edited homepage as the Active homepage from the Active Homepage dropdown

Порада: An administrator can build this widget under Admin Tools and set it on the organization's default homepage so the chatbot appears across every course that inherits the default homepage, instead of adding it course by course.

Важливо: Some institutions lock down homepages, widgets, or embedded scripts. If your changes don't take effect, your Brightspace administrator may need to grant permission or add the widget for you at the org level.

Крок 4: Перевірка встановлення

After activating the homepage, open the course (or your Brightspace site) in a new browser tab or incognito window. You should see the chat widget button in the bottom right corner. Click it to ensure it opens and functions correctly.

Не бачите віджет? Make sure the edited homepage is set as the Active homepage and that the widget was added to it. Confirm you left Render in iFrame unchecked. Clear your browser cache or view in incognito mode, and check the browser console (F12) for any JavaScript errors.

Потрібна допомога?

If you don't have permission to create widgets or edit homepages, your Brightspace administrator can add the widget to the organization's default homepage so it appears across your courses. You can also contact Asyntai support for guidance on installing the chatbot in Brightspace.

Професійна підтримка: Your institution's Brightspace or Online Learning team can help with homepage and widget changes if you need assistance rolling the chatbot out across multiple courses.