Как настроить бота для Slack, подключённого к Yahont
Обзор
Yahont можно подключить к вашему рабочему пространству Slack, чтобы он отвечал на вопросы как опытный коллега.Вы можете настроить YahontBot так,
чтобы он отвечал на определённые типы сообщений в конкретных каналах и с использованием выбранных данных из вашего
индекса.
Настройка
Чтобы настроить бота для Slack, нужно быть администратором рабочего пространства Slack.
1
Создайте новое приложение Slack
Откройте панель приложений Slack и нажмите Create New App → From a manifest.Выберите рабочее пространство, которое хотите подключить к Yahont.
2
Используйте манифест YAML
Откройте вкладку YAML и вставьте в поле следующий манифест:
Нажмите Create, и вы перейдёте на страницу приложения.
3
Создайте токен приложения
Прокрутите вниз до раздела App-Level Tokens и нажмите Generate Token and Scopes.Задайте токену имя, добавьте область connections:write к токену уровня приложения и нажмите Generate.
Сохраните этот токен на потом.
Название, описание и значок бота для Slack можно изменить в разделе Display Information.
4
Установите приложение Slack
Откройте вкладку OAuth & Permissions, нажмите Install to Workspace и следуйте инструкциям,
чтобы установить приложение.Скопируйте Bot User OAuth Token и User OAuth Token (рекомендуется) и сохраните их на потом.
Yahont пока не поддерживает ротацию токенов.
5
Настройте Yahont для бота Slack
Откройте панель администратора Yahont и выберите вкладку Боты Slack.Введите Bot Token, App Token и User Token (рекомендуется) и нажмите Создать!
6
Настройте поведение бота Slack
После создания бота Slack можно настроить его общее поведение в разделе Конфигурация по умолчанию.Также можно задать поведение для отдельных каналов в разделе Конфигурации каналов.
Как пользоваться ботом Yahont для Slack
С ботом Yahont для Slack можно общаться несколькими способами:
Администратор может включить любые из этих способов или все сразу в вашем рабочем пространстве Slack. Кроме того,
настройки могут меняться в зависимости от канала, в котором вы находитесь.
Упомяните бота в своём вопросе
@onyxbot What is the best practice for handling 429 errors in connectors?
YahontBot ответит в ветке на ваше сообщение.
Используйте слэш-команду
/onyx How many PTO days do I get per year? Do they roll over?
YahontBot отправит эфемерное сообщение. Это значит, что ответ увидите только вы.
Отправьте сообщение в канал, куда добавлен бот
What were the takeaways from Katie's meeting with our big prospect last week?
YahontBot может быть настроен отвечать на любые вопросы в Slack, даже если вы его не упомянули.
В этом случае он ответит в ветке на ваше сообщение.
Напишите боту в личные сообщения
Look for conversations about this stack trace...
Вы можете написать приложению YahontBot в личные сообщения, чтобы задавать приватные вопросы.
YahontBot также можно настроить без доступа к вашим проиндексированным данным, с доступом к части или ко всем из них.
Уточните у администратора, что доступно через ваш YahontBot.
Расширенная настройка
Есть набор расширенных параметров, доступных через переменные окружения,
которые управляют поведением вашего бота для Slack.Полный список параметров можно найти в репозитории Yahont на
GitHub.
Эти параметры требуются редко и должны использоваться с осторожностью.
ONYX_BOT_NUM_RETRIES
Количество повторных попыток генерации ответа до сбоя.Значение по умолчанию: 5 (int)
ONYX_BOT_NUM_DOCS_TO_DISPLAY
Количество документов, показываемых в разделе «Справочные документы».Значение по умолчанию: 5 (int)
ONYX_BOT_DISABLE_DOCS_ONLY_ANSWER
Отключить ответы, в которых показываются только «Справочные документы», когда LLM не может ответить.Значение по умолчанию: false (bool)
ONYX_BOT_REACT_EMOJI
Эмодзи-реакция, показываемая, пока Yahont обрабатывает сообщение.Значение по умолчанию: eyes (str)
ONYX_BOT_FOLLOWUP_EMOJI
Эмодзи, предлагающее, что пользователю может понадобиться дополнительная помощь.Значение по умолчанию: sos (str)
ONYX_BOT_FEEDBACK_VISIBILITY
Видимость отзывов об ответах ИИ, отправленных YahontBot. Варианты: private (только нажавшему пользователю),
anonymous (публично, но анонимно), public (публично с именем пользователя).Значение по умолчанию: private (str)
NOTIFY_SLACKBOT_NO_ANSWER
Если включено, YahontBot отправляет короткое сообщение с извинением, когда не может найти ответ,
чтобы пользователи не оставались в неведении.Значение по умолчанию: false (bool)
ONYX_BOT_DISPLAY_ERROR_MSGS
Показывать краткие пояснения ошибок, когда при ответе на вопрос что-то идёт не так (полезно для отладки).Значение по умолчанию: false (bool)
ONYX_BOT_RESPOND_EVERY_CHANNEL
По умолчанию отвечать во всех каналах, а не только в тех, что настроены в интерфейсе.Значение по умолчанию: false (bool)
ONYX_BOT_MAX_QPM
Максимальное число вопросов в минуту, на которые может отвечать бот.
Значение 0 или отсутствие значения означает отсутствие ограничения.Значение по умолчанию: uncapped (int)
ONYX_BOT_MAX_WAIT_TIME
Максимальное время в секундах, которое вопрос ждёт в очереди до тайм-аута.Значение по умолчанию: 180 (seconds; 3 minutes)
ONYX_BOT_FEEDBACK_REMINDER
Через сколько минут отправляется личное напоминание с просьбой оставить отзыв об ответе.
Значение 0 отключает напоминание.Значение по умолчанию: 0 (disabled; 0 minutes)
ONYX_BOT_REPHRASE_MESSAGE
Переформулировать сообщения пользователей Slack перед отправкой в LLM (может улучшить понятность для модели).Значение по умолчанию: false (bool)
ONYX_BOT_RESPONSE_LIMIT_PER_TIME_PERIOD
Количество ответов, которые YahontBot может отправить за временное окно. Значение 0 отключает лимит.Значение по умолчанию: 5000 (int)
ONYX_BOT_RESPONSE_LIMIT_TIME_PERIOD_SECONDS
Длина окна лимита ответов в секундах.Значение по умолчанию: 86400 (seconds; 24 hours)
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Документация Yahont","colors":{"primary":"#0069ED","light":"#4D9CFF","dark":"#0050B4"},"logo":{"light":"https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/logo/yahont_logo.png?fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=424f36dc78ec663b6dc46bae608186b7","dark":"https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/logo/yahont_logo_inverted.png?fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=5977381e6b661bafd07439f1144cc730","href":"https://yahont.ai/"},"favicon":"https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/logo/yahont_favicon.png?fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=16e04ef0cc57edd48f9f6abf60495dd3","api":{"openapi":["developers/api_reference/openapi.json"],"playground":{"display":"none"}},"navbar":{"links":[{"icon":"github","href":"https://github.com/pipedude/yahont-ce","label":"pipedude/yahont-ce"}],"primary":{"type":"button","label":"Yahont Cloud","href":"https://cloud.yahont.ai/?utm_source=docs"}},"footer":{"socials":{"github":"https://github.com/pipedude/yahont-ce","telegram":"https://t.me/yahont_ai"}},"seo":{"metatags":{"keywords":"корпоративный поиск, Yahont, Яхонт, ИИ-платформа, корпоративный ИИ, генеративный ИИ, ИИ-ассистент, управление знаниями"}},"contextual":{"options":[],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Сайт","icon":"globe","href":"https://yahont.ai/"},{"anchor":"Telegram","icon":"telegram","href":"https://t.me/yahont_ai"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"yahont-ai","hasAudioNarration":false,"actualSubdomain":"yahont-ai","customDomains":["docs.yahont.ai"],"gitSource":{"type":"github","owner":"pipedude","repo":"yahont-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6b11043d9ffae5051c41f185"},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6af948936b7240419be4429b","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"default","tag":"Разработчикам","count":119},{"language":"default","tag":"Справочник API","count":112},{"language":"default","tag":"Администрирование","count":96},{"language":"default","tag":"Коннекторы","count":71},{"language":"default","tag":"Поддерживаемые коннекторы","count":48},{"language":"default","tag":"Коннекторы и учётные данные","count":37},{"language":"default","tag":"Языковые модели","count":17},{"language":"default","tag":"Обзор","count":17},{"language":"default","tag":"Поддерживаемые поставщики","count":16},{"language":"default","tag":"Развёртывание","count":16}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".rounded-image{border-radius:1rem;margin:8px auto;display:block}.prose table,table{display:table;width:100%;max-width:100%;table-layout:auto}.prose table th{text-align:left!important}.icon-dark-invert [data-component-part=\"card-icon\"] img{background:transparent!important}.dark .icon-dark-invert [data-component-part=\"card-icon\"] img{filter:invert(1)!important}.docs-image-placeholder{align-items:center;background:repeating-linear-gradient(\n 45deg,\n rgba(0, 105, 237, 0.08),\n rgba(0, 105, 237, 0.08) 12px,\n rgba(0, 105, 237, 0.14) 12px,\n rgba(0, 105, 237, 0.14) 24px\n );border:1px dashed rgba(0, 105, 237, 0.55);border-radius:0.75rem;color:#0050b4;display:flex;font-weight:600;justify-content:center;margin:1rem 0;min-height:220px;padding:1.5rem;text-align:center}.dark .docs-image-placeholder{color:#9ec8ff}.permission-pyramid{display:flex;flex-direction:column;gap:0.5rem;margin:1.5rem auto;max-width:760px}.permission-pyramid-layer{align-items:center;border:1px solid rgba(0, 105, 237, 0.18);border-radius:0.75rem;display:flex;flex-direction:column;gap:0.2rem;margin:0 auto;padding:0.85rem 1rem;text-align:center}.permission-pyramid-layer span{font-size:0.9rem}.permission-pyramid-admin{background:#0b1f3a;color:#ffffff;width:100%}.permission-pyramid-org{background:#0050b4;color:#ffffff;width:82%}.permission-pyramid-scoped{background:#4d9cff;color:#07172b;width:62%}.permission-pyramid-basic{background:#eaf4ff;color:#07172b;width:42%}.permission-pyramid-limited{background:#f5f8fc;border-style:dashed;color:#37536f;width:26%}@media (max-width: 640px){.permission-pyramid-admin,.permission-pyramid-org,.permission-pyramid-scoped,.permission-pyramid-basic,.permission-pyramid-limited{width:100%}}"}]}
{"page":{"pagePath":"admins/getting_started/slack_bot_setup","slug":"/admins/getting_started/slack_bot_setup","pageMetadata":{"title":"Бот для Slack","description":"Как настроить бота для Slack, подключённого к Yahont","icon":"slack","href":"/admins/getting_started/slack_bot_setup","hidden":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Как настроить бота для Slack, подключённого к Yahont\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,Heading,Note,OptimizedImage,Step,Steps,Tip,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Обзор`}),`\n`,_jsx(_components.p,{children:`Yahont можно подключить к вашему рабочему пространству Slack, чтобы он отвечал на вопросы как опытный коллега.`}),`\n`,_jsx(_components.p,{children:`Вы можете настроить YahontBot так,\nчтобы он отвечал на определённые типы сообщений в конкретных каналах и с использованием выбранных данных из вашего\nиндекса.`}),`\n`,_jsx(OptimizedImage,{className:`rounded-image`,src:`https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_response.png?fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=fc61852af1cc77c31a5868f133afa424`,alt:`Бот Yahont для Slack`,\"data-og-width\":`1422`,width:`1422`,\"data-og-height\":`790`,height:`790`,\"data-path\":`assets/admins/slackbot/slackbot_response.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_response.png?w=280\u0026fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=ca8123e19d6600f63ee73cd7ed78f908 280w, https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_response.png?w=560\u0026fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=dceb99aad187a7da7d0b9db999ad21c8 560w, https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_response.png?w=840\u0026fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=36dc920e5eebf38b04ea4f50f744b1cb 840w, https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_response.png?w=1100\u0026fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=0cce1b2d05a6c5b3808db70ae42f3436 1100w, https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_response.png?w=1650\u0026fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=1c43adf5e2f1af3005404b5f6e5879de 1650w, https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_response.png?w=2500\u0026fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=e6df7d4b08c4b8eb8cb4de374af4c9cf 2500w`}),`\n`,_jsx(Heading,{level:`2`,id:`setup`,children:`Настройка`}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Чтобы настроить бота для Slack, нужно быть администратором рабочего пространства Slack.`})}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Создайте новое приложение Slack`,children:[_jsxs(_components.p,{children:[`Откройте `,_jsx(_components.a,{href:`https://api.slack.com/apps`,children:`панель приложений Slack`}),` и нажмите `,_jsx(_components.strong,{children:`Create New App`}),` → `,_jsx(_components.strong,{children:`From a manifest`}),`.`]}),_jsx(_components.p,{children:`Выберите рабочее пространство, которое хотите подключить к Yahont.`})]}),_jsxs(Step,{title:`Используйте манифест YAML`,children:[_jsxs(_components.p,{children:[`Откройте вкладку `,_jsx(_components.strong,{children:`YAML`}),` и вставьте в поле следующий манифест:`]}),_jsx(CodeBlock,{filename:`YAML Manifest`,expandable:`true`,numberOfLines:`56`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`56`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`display_information`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`OnyxBot`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` description`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`I help answer questions in Slack!`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`features`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` app_home`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` home_tab_enabled`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` messages_tab_enabled`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` messages_tab_read_only_enabled`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` bot_user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` display_name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`OnyxBot`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` always_online`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` slash_commands`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`command`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/onyx`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` description`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Get back a private answer!`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` usage_hint`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Put your question here!`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` should_escape`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`oauth_config`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` scopes`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` bot`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`app_mentions:read`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`channels:history`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`channels:join`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`channels:read`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`chat:write`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`commands`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`groups:history`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`groups:read`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`im:history`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`im:read`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`mpim:history`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`reactions:write`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`reactions:read`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`usergroups:read`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`users:read.email`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`users:read`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`channels:history`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`channels:read`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`groups:read`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`im:read`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`mpim:history`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`mpim:read`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`search:read`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`settings`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` event_subscriptions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` bot_events`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`app_mention`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`message.channels`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`message.groups`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`message.im`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`message.mpim`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` interactivity`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` is_enabled`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` org_deploy_enabled`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` socket_mode_enabled`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` token_rotation_enabled`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`Нажмите `,_jsx(_components.strong,{children:`Create`}),`, и вы перейдёте на страницу приложения.`]})]}),_jsxs(Step,{title:`Создайте токен приложения`,children:[_jsxs(_components.p,{children:[`Прокрутите вниз до раздела `,_jsx(_components.strong,{children:`App-Level Tokens`}),` и нажмите `,_jsx(_components.strong,{children:`Generate Token and Scopes`}),`.`]}),_jsxs(_components.p,{children:[`Задайте токену имя, добавьте область `,_jsx(_components.code,{children:`connections:write`}),` к токену уровня приложения и нажмите `,_jsx(_components.strong,{children:`Generate`}),`.\nСохраните этот токен на потом.`]}),_jsx(Tip,{children:_jsxs(_components.p,{children:[`Название, описание и значок бота для Slack можно изменить в разделе `,_jsx(_components.strong,{children:`Display Information`}),`.`]})}),_jsx(OptimizedImage,{className:`rounded-image`,src:`https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_app_token.png?fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=aa7f474366984eefe7eb0bacc3b0311d`,alt:`Токен приложения бота Yahont для Slack`,\"data-og-width\":`2564`,width:`2564`,\"data-og-height\":`1644`,height:`1644`,\"data-path\":`assets/admins/slackbot/slackbot_app_token.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_app_token.png?w=280\u0026fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=c875ff5fc048c05324591e2e9de4e64d 280w, https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_app_token.png?w=560\u0026fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=06726fcbb809a1e678a381f303103f60 560w, https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_app_token.png?w=840\u0026fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=f8795c60fb1184dd0866638a5f5fb61a 840w, https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_app_token.png?w=1100\u0026fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=688706210385026794a22ddc3728af70 1100w, https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_app_token.png?w=1650\u0026fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=aff116ee194c64e69551b1ee0006de73 1650w, https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_app_token.png?w=2500\u0026fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=d63e8160b3a61a436ee3a2ec7f5e7b2d 2500w`})]}),_jsxs(Step,{title:`Установите приложение Slack`,children:[_jsxs(_components.p,{children:[`Откройте вкладку `,_jsx(_components.strong,{children:`OAuth \u0026 Permissions`}),`, нажмите `,_jsx(_components.strong,{children:`Install to Workspace`}),` и следуйте инструкциям,\nчтобы установить приложение.`]}),_jsxs(_components.p,{children:[`Скопируйте `,_jsx(_components.strong,{children:`Bot User OAuth Token`}),` и `,_jsx(_components.strong,{children:`User OAuth Token`}),` (рекомендуется) и сохраните их на потом.`]}),_jsx(Note,{children:_jsx(_components.p,{children:`Yahont пока не поддерживает ротацию токенов.`})}),_jsx(OptimizedImage,{className:`rounded-image`,src:`https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_bot_token.png?fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=3664d7ac41a526f63c00ea3c6adbab43`,alt:`Токен бота Yahont для Slack`,\"data-og-width\":`2430`,width:`2430`,\"data-og-height\":`1126`,height:`1126`,\"data-path\":`assets/admins/slackbot/slackbot_bot_token.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_bot_token.png?w=280\u0026fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=62591e105a4697d3f5ba60890d64b578 280w, https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_bot_token.png?w=560\u0026fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=493f6153f98a2202ec48b4df9b63f037 560w, https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_bot_token.png?w=840\u0026fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=3888d52db809d8083c1a4ffa9fe1df0d 840w, https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_bot_token.png?w=1100\u0026fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=f7671ee30123f8eb10a4fab9ef1ba059 1100w, https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_bot_token.png?w=1650\u0026fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=5d3c95f66cd2fa81a0f3f973e64f447b 1650w, https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_bot_token.png?w=2500\u0026fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=2246653d6e096cb660b0b87390ee4341 2500w`})]}),_jsxs(Step,{title:`Настройте Yahont для бота Slack`,children:[_jsxs(_components.p,{children:[`Откройте панель администратора Yahont и выберите вкладку `,_jsx(_components.strong,{children:`Боты Slack`}),`.`]}),_jsxs(_components.p,{children:[`Введите `,_jsx(_components.strong,{children:`Bot Token`}),`, `,_jsx(_components.strong,{children:`App Token`}),` и `,_jsx(_components.strong,{children:`User Token`}),` (рекомендуется) и нажмите `,_jsx(_components.strong,{children:`Создать!`})]}),_jsx(OptimizedImage,{className:`rounded-image`,src:`https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_onyx_setup.png?fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=870b30ef10f779b21cb2f7f148523df1`,alt:`Настройка Yahont для бота Slack`,\"data-og-width\":`2032`,width:`2032`,\"data-og-height\":`1500`,height:`1500`,\"data-path\":`assets/admins/slackbot/slackbot_onyx_setup.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_onyx_setup.png?w=280\u0026fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=4e8ee4d3bf723831a724dc4ee3004f48 280w, https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_onyx_setup.png?w=560\u0026fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=f9e341fb816ebef83d32b29bc171d6ae 560w, https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_onyx_setup.png?w=840\u0026fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=eef3998e5095914b029c8a3928090c8c 840w, https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_onyx_setup.png?w=1100\u0026fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=37220eaa322daa90b1dac0e1b4884cfc 1100w, https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_onyx_setup.png?w=1650\u0026fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=20d334621949ac534e362bf2efec651e 1650w, https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_onyx_setup.png?w=2500\u0026fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=0ec076160ca24145da0f116a1826950b 2500w`})]}),_jsxs(Step,{title:`Настройте поведение бота Slack`,children:[_jsxs(_components.p,{children:[`После создания бота Slack можно настроить его общее поведение в разделе `,_jsx(_components.strong,{children:`Конфигурация по умолчанию`}),`.`]}),_jsxs(_components.p,{children:[`Также можно задать поведение для отдельных каналов в разделе `,_jsx(_components.strong,{children:`Конфигурации каналов`}),`.`]}),_jsx(OptimizedImage,{className:`rounded-image`,src:`https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_config.png?fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=a62a5f309a427d596186121dd8e9a360`,alt:`Настройка бота Yahont для Slack`,\"data-og-width\":`2132`,width:`2132`,\"data-og-height\":`2186`,height:`2186`,\"data-path\":`assets/admins/slackbot/slackbot_config.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_config.png?w=280\u0026fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=2384fd40206844f24eb0746890a0ef73 280w, https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_config.png?w=560\u0026fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=5076af6c11d92300b04eb4889ca4bf55 560w, https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_config.png?w=840\u0026fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=74c5040505e3a8f0938499acafbc8f0f 840w, https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_config.png?w=1100\u0026fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=e765df3189796f2dd693e0a533c62cc4 1100w, https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_config.png?w=1650\u0026fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=abd5d1a675f60c9e239163e64dc2aa81 1650w, https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/admins/slackbot/slackbot_config.png?w=2500\u0026fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=c74130b5a2f68469074417edbcea3b3a 2500w`})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`how-to-use-the-onyx-slack-bot`,children:`Как пользоваться ботом Yahont для Slack`}),`\n`,_jsx(_components.p,{children:`С ботом Yahont для Slack можно общаться несколькими способами:`}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Администратор может включить любые из этих способов или все сразу в вашем рабочем пространстве Slack. Кроме того,\nнастройки могут меняться в зависимости от канала, в котором вы находитесь.`})}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`Упомяните бота в своём вопросе`,id:`upomyanite-bota-v-svoyom-voprose`,children:[_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`@onyxbot What is the best practice for handling 429 errors in connectors?`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`YahontBot ответит в ветке на ваше сообщение.`})]}),_jsxs(Accordion,{title:`Используйте слэш-команду`,id:`ispolzuyte-slesh-komandu`,children:[_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`/onyx How many PTO days do I get per year? Do they roll over?`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`YahontBot отправит эфемерное сообщение. Это значит, что ответ увидите только вы.`})]}),_jsxs(Accordion,{title:`Отправьте сообщение в канал, куда добавлен бот`,id:`otpravte-soobschenie-v-kanal-kuda-dobavlen-bot`,children:[_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`What were the takeaways from Katie's meeting with our big prospect last week?`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`YahontBot может быть настроен отвечать на любые вопросы в Slack, даже если вы его не упомянули.\nВ этом случае он ответит в ветке на ваше сообщение.`})]}),_jsxs(Accordion,{title:`Напишите боту в личные сообщения`,id:`napishite-botu-v-lichnye-soobscheniya`,children:[_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Look for conversations about this stack trace...`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`Вы можете написать приложению YahontBot в личные сообщения, чтобы задавать приватные вопросы.`})]})]}),`\n`,_jsx(_components.p,{children:`YahontBot также можно настроить без доступа к вашим проиндексированным данным, с доступом к части или ко всем из них.\nУточните у администратора, что доступно через ваш YahontBot.`}),`\n`,_jsx(Heading,{level:`2`,id:`advanced-configuration`,children:`Расширенная настройка`}),`\n`,_jsx(_components.p,{children:`Есть набор расширенных параметров, доступных через переменные окружения,\nкоторые управляют поведением вашего бота для Slack.`}),`\n`,_jsxs(_components.p,{children:[`Полный список параметров можно найти `,_jsx(_components.a,{href:`https://github.com/pipedude/yahont-ce/blob/main/backend/onyx/configs/onyxbot_configs.py`,children:`в репозитории Yahont на\nGitHub`}),`.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Эти параметры требуются редко и должны использоваться с осторожностью.`})}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`ONYX_BOT_NUM_RETRIES`,id:`onyx-bot-num-retries`,children:[_jsx(_components.p,{children:`Количество повторных попыток генерации ответа до сбоя.`}),_jsxs(_components.p,{children:[`Значение по умолчанию: `,_jsx(_components.code,{children:`5 (int)`})]})]}),_jsxs(Accordion,{title:`ONYX_BOT_NUM_DOCS_TO_DISPLAY`,id:`onyx-bot-num-docs-to-display`,children:[_jsx(_components.p,{children:`Количество документов, показываемых в разделе «Справочные документы».`}),_jsxs(_components.p,{children:[`Значение по умолчанию: `,_jsx(_components.code,{children:`5 (int)`})]})]}),_jsxs(Accordion,{title:`ONYX_BOT_DISABLE_DOCS_ONLY_ANSWER`,id:`onyx-bot-disable-docs-only-answer`,children:[_jsx(_components.p,{children:`Отключить ответы, в которых показываются только «Справочные документы», когда LLM не может ответить.`}),_jsxs(_components.p,{children:[`Значение по умолчанию: `,_jsx(_components.code,{children:`false (bool)`})]})]}),_jsxs(Accordion,{title:`ONYX_BOT_REACT_EMOJI`,id:`onyx-bot-react-emoji`,children:[_jsx(_components.p,{children:`Эмодзи-реакция, показываемая, пока Yahont обрабатывает сообщение.`}),_jsxs(_components.p,{children:[`Значение по умолчанию: `,_jsx(_components.code,{children:`eyes (str)`})]})]}),_jsxs(Accordion,{title:`ONYX_BOT_FOLLOWUP_EMOJI`,id:`onyx-bot-followup-emoji`,children:[_jsx(_components.p,{children:`Эмодзи, предлагающее, что пользователю может понадобиться дополнительная помощь.`}),_jsxs(_components.p,{children:[`Значение по умолчанию: `,_jsx(_components.code,{children:`sos (str)`})]})]}),_jsxs(Accordion,{title:`ONYX_BOT_FEEDBACK_VISIBILITY`,id:`onyx-bot-feedback-visibility`,children:[_jsxs(_components.p,{children:[`Видимость отзывов об ответах ИИ, отправленных YahontBot. Варианты: `,_jsx(_components.code,{children:`private`}),` (только нажавшему пользователю),\n`,_jsx(_components.code,{children:`anonymous`}),` (публично, но анонимно), `,_jsx(_components.code,{children:`public`}),` (публично с именем пользователя).`]}),_jsxs(_components.p,{children:[`Значение по умолчанию: `,_jsx(_components.code,{children:`private (str)`})]})]}),_jsxs(Accordion,{title:`NOTIFY_SLACKBOT_NO_ANSWER`,id:`notify-slackbot-no-answer`,children:[_jsx(_components.p,{children:`Если включено, YahontBot отправляет короткое сообщение с извинением, когда не может найти ответ,\nчтобы пользователи не оставались в неведении.`}),_jsxs(_components.p,{children:[`Значение по умолчанию: `,_jsx(_components.code,{children:`false (bool)`})]})]}),_jsxs(Accordion,{title:`ONYX_BOT_DISPLAY_ERROR_MSGS`,id:`onyx-bot-display-error-msgs`,children:[_jsx(_components.p,{children:`Показывать краткие пояснения ошибок, когда при ответе на вопрос что-то идёт не так (полезно для отладки).`}),_jsxs(_components.p,{children:[`Значение по умолчанию: `,_jsx(_components.code,{children:`false (bool)`})]})]}),_jsxs(Accordion,{title:`ONYX_BOT_RESPOND_EVERY_CHANNEL`,id:`onyx-bot-respond-every-channel`,children:[_jsx(_components.p,{children:`По умолчанию отвечать во всех каналах, а не только в тех, что настроены в интерфейсе.`}),_jsxs(_components.p,{children:[`Значение по умолчанию: `,_jsx(_components.code,{children:`false (bool)`})]})]}),_jsxs(Accordion,{title:`ONYX_BOT_MAX_QPM`,id:`onyx-bot-max-qpm`,children:[_jsxs(_components.p,{children:[`Максимальное число вопросов в минуту, на которые может отвечать бот.\nЗначение `,_jsx(_components.code,{children:`0`}),` или отсутствие значения означает отсутствие ограничения.`]}),_jsxs(_components.p,{children:[`Значение по умолчанию: `,_jsx(_components.code,{children:`uncapped (int)`})]})]}),_jsxs(Accordion,{title:`ONYX_BOT_MAX_WAIT_TIME`,id:`onyx-bot-max-wait-time`,children:[_jsx(_components.p,{children:`Максимальное время в секундах, которое вопрос ждёт в очереди до тайм-аута.`}),_jsxs(_components.p,{children:[`Значение по умолчанию: `,_jsx(_components.code,{children:`180 (seconds; 3 minutes)`})]})]}),_jsxs(Accordion,{title:`ONYX_BOT_FEEDBACK_REMINDER`,id:`onyx-bot-feedback-reminder`,children:[_jsxs(_components.p,{children:[`Через сколько минут отправляется личное напоминание с просьбой оставить отзыв об ответе.\nЗначение `,_jsx(_components.code,{children:`0`}),` отключает напоминание.`]}),_jsxs(_components.p,{children:[`Значение по умолчанию: `,_jsx(_components.code,{children:`0 (disabled; 0 minutes)`})]})]}),_jsxs(Accordion,{title:`ONYX_BOT_REPHRASE_MESSAGE`,id:`onyx-bot-rephrase-message`,children:[_jsx(_components.p,{children:`Переформулировать сообщения пользователей Slack перед отправкой в LLM (может улучшить понятность для модели).`}),_jsxs(_components.p,{children:[`Значение по умолчанию: `,_jsx(_components.code,{children:`false (bool)`})]})]}),_jsxs(Accordion,{title:`ONYX_BOT_RESPONSE_LIMIT_PER_TIME_PERIOD`,id:`onyx-bot-response-limit-per-time-period`,children:[_jsxs(_components.p,{children:[`Количество ответов, которые YahontBot может отправить за временное окно. Значение `,_jsx(_components.code,{children:`0`}),` отключает лимит.`]}),_jsxs(_components.p,{children:[`Значение по умолчанию: `,_jsx(_components.code,{children:`5000 (int)`})]})]}),_jsxs(Accordion,{title:`ONYX_BOT_RESPONSE_LIMIT_TIME_PERIOD_SECONDS`,id:`onyx-bot-response-limit-time-period-seconds`,children:[_jsx(_components.p,{children:`Длина окна лимита ответов в секундах.`}),_jsxs(_components.p,{children:[`Значение по умолчанию: `,_jsx(_components.code,{children:`86400 (seconds; 24 hours)`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Бот для Slack","description":"Как настроить бота для Slack, подключённого к Yahont","icon":"slack","href":"/admins/getting_started/slack_bot_setup","hidden":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Обзор","slug":"overview","depth":2,"children":[]},{"title":"Настройка","slug":"setup","depth":2,"children":[{"title":"Как пользоваться ботом Yahont для Slack","slug":"how-to-use-the-onyx-slack-bot","depth":3,"children":[]}]},{"title":"Расширенная настройка","slug":"advanced-configuration","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"yahont-ai","siteName":"Документация Yahont","title":"Бот для Slack - Документация Yahont","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-18T10:40:46.524Z","originalFileLocation":"admins/getting_started/slack_bot_setup.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Как настроить бота для Slack, подключённого к Yahont\">\u003cmeta data-mint-head name=\"keywords\" content=\"корпоративный поиск, Yahont, Яхонт, ИИ-платформа, корпоративный ИИ, генеративный ИИ, ИИ-ассистент, управление знаниями\">\u003cmeta data-mint-head name=\"application-name\" content=\"Документация Yahont\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/yahont-ai/W86C5gOYaVniBnv6/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/yahont-ai/W86C5gOYaVniBnv6/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/yahont-ai/W86C5gOYaVniBnv6/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/yahont-ai/W86C5gOYaVniBnv6/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/yahont-ai/W86C5gOYaVniBnv6/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/yahont-ai/W86C5gOYaVniBnv6/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/yahont-ai/W86C5gOYaVniBnv6/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/yahont-ai/W86C5gOYaVniBnv6/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/yahont-ai/W86C5gOYaVniBnv6/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Бот для Slack - Документация Yahont\">\u003cmeta data-mint-head property=\"og:description\" content=\"Как настроить бота для Slack, подключённого к Yahont\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Документация Yahont\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.yahont.ai/admins/getting_started/slack_bot_setup\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://yahont-ai.mintlify.site/_mintlify/api/og/v2?division=%D0%A1%D0%BA%D1%80%D1%8B%D1%82%D1%8B%D0%B5+%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D1%8B\u0026amp;title=%D0%91%D0%BE%D1%82+%D0%B4%D0%BB%D1%8F+Slack\u0026amp;description=%D0%9A%D0%B0%D0%BA+%D0%BD%D0%B0%D1%81%D1%82%D1%80%D0%BE%D0%B8%D1%82%D1%8C+%D0%B1%D0%BE%D1%82%D0%B0+%D0%B4%D0%BB%D1%8F+Slack%2C+%D0%BF%D0%BE%D0%B4%D0%BA%D0%BB%D1%8E%D1%87%D1%91%D0%BD%D0%BD%D0%BE%D0%B3%D0%BE+%D0%BA+Yahont\u0026amp;theme=811572f2610572d35e92d12a\u0026amp;signature=1cdc02e4481235c3d09de7ed84d2c45602c312233025ebb89d9d465b29e572af\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Бот для Slack - Документация Yahont\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Как настроить бота для Slack, подключённого к Yahont\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://yahont-ai.mintlify.site/_mintlify/api/og/v2?division=%D0%A1%D0%BA%D1%80%D1%8B%D1%82%D1%8B%D0%B5+%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D1%8B\u0026amp;title=%D0%91%D0%BE%D1%82+%D0%B4%D0%BB%D1%8F+Slack\u0026amp;description=%D0%9A%D0%B0%D0%BA+%D0%BD%D0%B0%D1%81%D1%82%D1%80%D0%BE%D0%B8%D1%82%D1%8C+%D0%B1%D0%BE%D1%82%D0%B0+%D0%B4%D0%BB%D1%8F+Slack%2C+%D0%BF%D0%BE%D0%B4%D0%BA%D0%BB%D1%8E%D1%87%D1%91%D0%BD%D0%BD%D0%BE%D0%B3%D0%BE+%D0%BA+Yahont\u0026amp;theme=811572f2610572d35e92d12a\u0026amp;signature=1cdc02e4481235c3d09de7ed84d2c45602c312233025ebb89d9d465b29e572af\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/yahont-ai/W86C5gOYaVniBnv6/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Документация Yahont\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0069ED\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.yahont.ai/admins/getting_started/slack_bot_setup\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/admins/getting_started/slack_bot_setup.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.yahont.ai/#organization\",\"name\":\"Документация Yahont\",\"url\":\"https://docs.yahont.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/yahont-ai/UKtfkv0aQHzrYqTA/assets/logo/yahont_logo.png?fit=max\u0026auto=format\u0026n=UKtfkv0aQHzrYqTA\u0026q=85\u0026s=424f36dc78ec663b6dc46bae608186b7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.yahont.ai#website\",\"name\":\"Документация Yahont\",\"url\":\"https://docs.yahont.ai\",\"publisher\":{\"@id\":\"https://docs.yahont.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.yahont.ai/admins/getting_started/slack_bot_setup#webpage\",\"url\":\"https://docs.yahont.ai/admins/getting_started/slack_bot_setup\",\"name\":\"Бот для Slack\",\"description\":\"Как настроить бота для Slack, подключённого к Yahont\",\"dateModified\":\"2026-10-18T10:40:46.524Z\",\"isPartOf\":{\"@id\":\"https://docs.yahont.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.yahont.ai/admins/getting_started/slack_bot_setup#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.yahont.ai/admins/getting_started/slack_bot_setup#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Расширенная конфигурация\",\"item\":\"https://docs.yahont.ai/admins/advanced_configs/spending_limits\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Скрытые страницы\",\"item\":\"https://docs.yahont.ai/admins/advanced_configs/terraform_provider\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Бот для Slack\",\"item\":\"https://docs.yahont.ai/admins/getting_started/slack_bot_setup\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.yahont.ai/admins/getting_started/slack_bot_setup#article\",\"headline\":\"Бот для Slack\",\"name\":\"Бот для Slack\",\"description\":\"Как настроить бота для Slack, подключённого к Yahont\",\"url\":\"https://docs.yahont.ai/admins/getting_started/slack_bot_setup\",\"mainEntityOfPage\":{\"@id\":\"https://docs.yahont.ai/admins/getting_started/slack_bot_setup#webpage\"},\"dateModified\":\"2026-10-18T10:40:46.524Z\",\"publisher\":{\"@id\":\"https://docs.yahont.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.yahont.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Документация Yahont\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Документация Yahont\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/admins/getting_started/slack_bot_setup.md","siteName":"Документация Yahont","nav":{"global":{"anchors":[{"anchor":"Сайт","icon":"globe","href":"https://yahont.ai/"},{"anchor":"Telegram","icon":"telegram","href":"https://t.me/yahont_ai"}]},"tabs":[{"tab":"Обзор","icon":"house","pages":[{"title":"Обзор","href":"/welcome"}]},{"tab":"Развёртывание","icon":"server","pages":[{"title":"Развёртывание","href":"/deployment/overview"}]},{"tab":"Администрирование","icon":"user-shield","pages":[{"group":"Начало работы","pages":[{"title":"Обзор","icon":"chart-simple","href":"/admins/overview"},{"title":"Enterprise Edition","icon":"building","href":"/admins/getting_started/enterprise_edition"}]},{"group":"Языковые модели","pages":[{"title":"Обзор","icon":"sliders","href":"/admins/ai_models/overview"},{"group":"Поддерживаемые поставщики","icon":"microchip","pages":[{"title":"OpenAI","icon":"bolt","href":"/admins/ai_models/openai"},{"title":"Anthropic","icon":"brain","href":"/admins/ai_models/anthropic"},{"title":"Ollama","icon":"robot","href":"/admins/ai_models/ollama"},{"title":"LM Studio","icon":"desktop","href":"/admins/ai_models/lm_studio"},{"title":"Azure OpenAI","icon":"microsoft","href":"/admins/ai_models/azure_openai"},{"title":"Amazon Bedrock","icon":"aws","href":"/admins/ai_models/bedrock"},{"title":"Google Vertex AI","icon":"google","href":"/admins/ai_models/google_ai"},{"title":"OpenRouter","icon":"robot","href":"/admins/ai_models/openrouter"},{"title":"RouterAI","icon":"robot","href":"/admins/ai_models/routerai"},{"title":"Polza.ai","icon":"robot","href":"/admins/ai_models/polza"},{"title":"Bifrost","icon":"server","href":"/admins/ai_models/bifrost"},{"title":"Portkey","icon":"server","href":"/admins/ai_models/portkey"},{"title":"Vercel AI Gateway","icon":"server","href":"/admins/ai_models/vercel_ai_gateway"},{"title":"Nebius TokenFactory","icon":"server","href":"/admins/ai_models/nebius_tokenfactory"},{"title":"LiteLLM Proxy","icon":"server","href":"/admins/ai_models/litellm_proxy"},{"title":"Пользовательский поставщик вывода","icon":"server","href":"/admins/ai_models/custom_inference_provider"}]}]},{"group":"Коннекторы","pages":[{"title":"Обзор","icon":"circle-nodes","href":"/admins/connectors/overview"},{"group":"Поддерживаемые коннекторы","icon":"plug","pages":[{"title":"Bitbucket","href":"/admins/connectors/official/bitbucket"},{"title":"BookStack","href":"/admins/connectors/official/bookstack"},{"title":"Braintrust","href":"/admins/connectors/official/braintrust"},{"group":"Confluence","pages":[{"title":"Обзор Confluence","href":"/admins/connectors/official/confluence"},{"title":"Confluence Cloud","href":"/admins/connectors/official/confluence-cloud"},{"title":"Confluence Data Center и Server","href":"/admins/connectors/official/confluence-data-center"}]},{"title":"Discord","href":"/admins/connectors/official/discord"},{"title":"Discourse","href":"/admins/connectors/official/discourse"},{"title":"Dropbox","href":"/admins/connectors/official/dropbox"},{"title":"File","href":"/admins/connectors/official/file"},{"title":"Freshdesk","href":"/admins/connectors/official/freshdesk"},{"title":"GitBook","href":"/admins/connectors/official/gitbook"},{"title":"GitHub","href":"/admins/connectors/official/github"},{"title":"GitLab","href":"/admins/connectors/official/gitlab"},{"group":"Gmail","pages":[{"title":"Обзор Gmail","href":"/admins/connectors/official/gmail/overview"},{"title":"OAuth","href":"/admins/connectors/official/gmail/oauth"},{"title":"Сервисный аккаунт","href":"/admins/connectors/official/gmail/service_account"}]},{"group":"Google Drive","pages":[{"title":"Обзор Google Drive","href":"/admins/connectors/official/google_drive/overview"},{"title":"OAuth для Google Drive","href":"/admins/connectors/official/google_drive/oauth"},{"title":"Сервисный аккаунт для Google Drive","href":"/admins/connectors/official/google_drive/service_account"}]},{"title":"Google Sites","href":"/admins/connectors/official/google_sites"},{"title":"Google Cloud Storage","href":"/admins/connectors/official/google_storage"},{"title":"Email (IMAP)","href":"/admins/connectors/official/imap"},{"title":"Jira","href":"/admins/connectors/official/jira"},{"title":"Mail.ru","href":"/admins/connectors/official/mailru_mail"},{"title":"MediaWiki","href":"/admins/connectors/official/mediawiki"},{"group":"Microsoft 365","pages":[{"title":"Настройка Microsoft 365","href":"/admins/connectors/official/microsoft-365/setup"},{"title":"SharePoint","href":"/admins/connectors/official/microsoft-365/sharepoint"},{"title":"OneDrive","href":"/admins/connectors/official/microsoft-365/onedrive"},{"title":"Microsoft Teams","href":"/admins/connectors/official/microsoft-365/teams"},{"title":"Outlook","href":"/admins/connectors/official/microsoft-365/outlook"}]},{"title":"Notion","href":"/admins/connectors/official/notion"},{"title":"Outline","href":"/admins/connectors/official/outline"},{"group":"S3","pages":[{"title":"Обзор S3","href":"/admins/connectors/official/s3/overview"},{"title":"Ключи доступа S3","href":"/admins/connectors/official/s3/access-keys"},{"title":"Assume Role для S3","href":"/admins/connectors/official/s3/assume-role"},{"title":"Роль IAM для S3","href":"/admins/connectors/official/s3/iam-role"}]},{"title":"S3 (совместимые хранилища)","href":"/admins/connectors/official/s3_compatible"},{"group":"Slack","pages":[{"title":"Slack с индексацией","href":"/admins/connectors/official/slack/slack_indexed"},{"title":"Slack федеративный","href":"/admins/connectors/official/slack/slack_federated"}]},{"title":"TestRail","href":"/admins/connectors/official/testrail"},{"title":"Web","href":"/admins/connectors/official/web"},{"title":"Wikipedia","href":"/admins/connectors/official/wikipedia"},{"title":"XenForo","href":"/admins/connectors/official/xenforo"},{"title":"Яндекс Диск","href":"/admins/connectors/official/yandex_disk"},{"title":"Яндекс Почта","href":"/admins/connectors/official/yandex_mail"},{"title":"Zoom","href":"/admins/connectors/official/zoom"},{"title":"Zulip","href":"/admins/connectors/official/zulip"},{"group":"Скрытые страницы","hidden":true,"pages":[{"title":"Asana","href":"/admins/connectors/official/asana"},{"title":"ClickUp","href":"/admins/connectors/official/clickup"},{"title":"Linear","href":"/admins/connectors/official/linear"},{"title":"Zendesk","href":"/admins/connectors/official/zendesk"},{"title":"Oracle Cloud Storage","href":"/admins/connectors/official/oci_storage"},{"title":"Cloudflare R2","href":"/admins/connectors/official/r2"},{"title":"Box","href":"/admins/connectors/official/box"},{"title":"Canvas","href":"/admins/connectors/official/canvas"},{"title":"Egnyte","href":"/admins/connectors/official/egnyte"},{"title":"Drupal Wiki","href":"/admins/connectors/official/drupal_wiki"},{"title":"Coda","href":"/admins/connectors/official/coda"},{"title":"Slab","href":"/admins/connectors/official/slab"},{"title":"Guru","href":"/admins/connectors/official/guru"},{"title":"Productboard","href":"/admins/connectors/official/productboard"},{"title":"Fireflies","href":"/admins/connectors/official/fireflies"},{"title":"Highspot","href":"/admins/connectors/official/highspot"},{"title":"Axero","href":"/admins/connectors/official/axero"},{"title":"LumApps","href":"/admins/connectors/official/lumapps"},{"title":"Loopio","href":"/admins/connectors/official/loopio"},{"title":"YouTrack","href":"/admins/connectors/official/youtrack"},{"title":"Airtable","href":"/admins/connectors/official/airtable"},{"title":"Document360","href":"/admins/connectors/official/document360"},{"title":"Gong","href":"/admins/connectors/official/gong"},{"title":"HubSpot","href":"/admins/connectors/official/hubspot"},{"title":"Salesforce","href":"/admins/connectors/official/salesforce"},{"title":"RequestTracker","href":"/admins/connectors/official/requesttracker"}]}]}]},{"group":"Управление функциями","pages":[{"group":"RAG и поиск","icon":"magnifying-glass","pages":[{"title":"Коннекторы","icon":"plug","href":"/admins/managing_features/connectors_link"},{"title":"Настройки индекса","icon":"database","href":"/admins/advanced_configs/search_configs"},{"title":"Наборы документов","icon":"folder-open","href":"/admins/managing_features/document_sets"},{"group":"Скрытые страницы","hidden":true,"pages":[{"title":"Миграция индекса документов на OpenSearch","icon":"arrow-right-arrow-left","href":"/admins/advanced_configs/opensearch_document_index_migration"},{"title":"Миграция объектного хранилища","icon":"arrow-right-arrow-left","href":"/admins/advanced_configs/object_store_migration"}]}]},{"title":"Настройки чата","icon":"comment","href":"/admins/managing_features/chat"},{"title":"Пользовательские агенты","icon":"robot","href":"/admins/agents/overview"},{"group":"Плагины","icon":"plug","pages":[{"title":"Обзор","icon":"plug","href":"/admins/plugins/overview"},{"title":"MCP","icon":"server","href":"/admins/plugins/mcp"},{"title":"OpenAPI","icon":"code","href":"/admins/plugins/openapi"}]},{"title":"Веб-поиск","icon":"globe","href":"/admins/actions/web_search"},{"title":"Интерпретатор кода","icon":"code","href":"/admins/actions/code_interpreter"},{"title":"Генерация изображений","icon":"image","href":"/admins/actions/image_generation"},{"title":"Голос","icon":"microphone","href":"/admins/actions/voice_mode"},{"group":"Craft","icon":"hammer","hidden":true,"pages":[{"title":"Обзор","icon":"hammer","href":"/admins/managing_features/craft"},{"title":"Навыки","icon":"wand-magic-sparkles","href":"/admins/managing_features/craft_skills"},{"title":"Приложения","icon":"plug","href":"/admins/plugins/craft_apps"}]},{"title":"Агент по коду","icon":"code-branch","href":"/admins/actions/coding_agent"},{"group":"Скрытые страницы","hidden":true,"pages":[{"title":"RAG и поиск","icon":"magnifying-glass","href":"/admins/managing_features/rag_and_search"}]}]},{"group":"Контроль доступа","pages":[{"title":"Пользователи и группы","icon":"users","href":"/admins/user_management/users_and_groups"},{"title":"Как устроены права","icon":"shield-check","href":"/admins/permissions/understanding_permissions"},{"title":"Сервисные аккаунты","icon":"key","href":"/admins/user_management/api_keys"},{"group":"Скрытые страницы","hidden":true,"pages":[{"title":"Что меняется в правах","icon":"arrow-right-arrow-left","href":"/admins/permissions/whats_changing"},{"title":"SCIM","icon":"arrows-rotate","href":"/deployment/authentication/scim"},{"title":"Сервисные аккаунты до версии 4.7","icon":"key","href":"/admins/user_management/api_keys_legacy"},{"title":"Пользователи и группы до версии 4.7","icon":"users","href":"/admins/user_management/users_and_groups_legacy"}]}]},{"group":"Расширенная конфигурация","pages":[{"title":"Лимиты расходов","icon":"dollar-sign","href":"/admins/advanced_configs/spending_limits"},{"title":"White labeling","icon":"brush","href":"/admins/advanced_configs/white_labeling"},{"title":"Управление доступом к языковым моделям","icon":"lock","href":"/admins/advanced_configs/llm_access_controls"},{"title":"Безопасность и защита","icon":"shield","href":"/admins/advanced_configs/security_hardening"},{"title":"Расширения-хуки","icon":"webhook","href":"/admins/advanced_configs/hook_extensions"},{"title":"Трассировка","icon":"chart-line","href":"/admins/advanced_configs/tracing"},{"title":"Бот для Discord","description":"Настройка вашего бота для Discord","icon":"discord","href":"/admins/miscellaneous/discord_bot"},{"group":"Скрытые страницы","hidden":true,"pages":[{"title":"Terraform-провайдер","description":"Управляйте конфигурацией приложения Yahont как кодом с помощью официального Terraform-провайдера Yahont","icon":"cubes","href":"/admins/advanced_configs/terraform_provider"},{"title":"Бот для Slack","icon":"slack","href":"/admins/getting_started/slack_bot_setup"}]}]},{"group":"Аудит","pages":[{"title":"Журналы аудита и интеграция с SIEM","description":"Передавайте структурированный поток событий аудита Yahont в SIEM для мониторинга безопасности и соответствия требованиям","icon":"shield-check","href":"/admins/auditing/audit_logs"},{"title":"Аналитика использования","icon":"chart-line","href":"/admins/analytics/overview"},{"title":"История запросов","icon":"clock-rotate-left","href":"/admins/analytics/query_history"},{"title":"Пользовательская аналитика","icon":"chart-mixed","href":"/admins/analytics/custom_analytics"}]},{"group":"Тарифы и оплата","hidden":true,"pages":[{"title":"Тарифы и оплата","icon":"wallet","href":"/admins/billing/overview"},{"title":"Оформление подписки на тариф","icon":"credit-card","href":"/admins/billing/subscribing"},{"title":"Управление подпиской","icon":"gear","href":"/admins/billing/manage"},{"title":"Устранение неполадок","icon":"wrench","href":"/admins/billing/troubleshooting"}]},{"group":"Разное","pages":[{"title":"Связаться с нами","icon":"comments","href":"/admins/miscellaneous/contact_us"}]}]},{"tab":"Разработчикам","icon":"square-terminal","pages":[{"title":"Разработчикам","href":"/developers/overview"}]},{"tab":"Безопасность","icon":"shield","pages":[{"title":"Безопасность","href":"/security/architecture/system_description"}]},{"tab":"Agent Wiki","icon":"book","hidden":true,"pages":[{"title":"Agent Wiki","href":"/agent-wiki/welcome"}]}]},"basePath":"","title":"Бот для Slack - Документация Yahont","deploymentId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","buildId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-B9SB_e-W.js","lightbox-handle-r17bVUz3.js"]}