Назад к панели управления

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

Узнайте, как использовать Asyntai

Начало работы
Установка База знаний Как ИИ получает доступ к вашему контенту Подключите свой сайт Протестировать ИИ Управление сайтами Советы по инструкциям для ИИ Переход с другого чат-бота Сравнить тарифы
Функции
Панель Ask AI Строка ИИ-поиска Сканирование сайта Пробелы в знаниях Карточки товаров Динамические карточки товаров Динамические изображения Контекст пользователя Собственные инструменты Параметры ссылок Проактивные сообщения Мониторинг в реальном времени Подключение оператора Эскалация Уведомления ИИ Уведомления в браузере Ежедневный отчёт Поток данных в реальном времени Фид данных в реальном времени Max Участники команды Единый вход Двухфакторная аутентификация Показывать изображения Распознавание изображений Виджет перевода Локализация Прозрачность ИИ Лиды Умный сбор лидов Тикеты поддержки ИИ-ответы на письма Категории чатов Справочный центр Бронирование Голосовой агент Встраивания Исключить страницы Заблокированные IP Политика хранения Режим нулевого хранения Маскирование PII Классификатор ответов Access Tags Закрепление версии виджета Журнал аудита Подсказки для ответа Дополнительные сообщения Распознавание речи Скачивание разговора Встроенный чат Встраивание через iframe

How to Add Asyntai AI Chatbot to Brightspace

Step-by-step guide for D2L Brightspace

Получить код встраивания

Шаг 1: Получите код встраивания

Сначала перейдите в панель управления Asyntai и прокрутите вниз до раздела "Код встраивания". Скопируйте свой уникальный код встраивания, который выглядит так:

<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>

Примечание: Код выше — всего лишь пример. Вы должны скопировать свой уникальный код для встраивания с вашей Панели управления, так как он содержит ваш персональный идентификатор виджета.

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.