IBM QRadar: Integrating WatsonX Assistant into QRadar Web Console
This article describes how to embed IBM Watsonx Assistant into the QRadar web interface by modifying the QRadar.jsp file.
Overview
IBM Watsonx Assistant can be integrated into QRadar to provide an interactive chatbot experience directly within the console. This integration allows users to access support, documentation, and automation features powered by Watsonx Assistant.
Procedure
1) Modify file QRadar.jsp
/opt/qradar/webapps/console/qradar/jsp/QRadar.jsp
2) Backup the File
Before making any changes, create a backup of the QRadar.jsp file.
3) Edit the File and Insert Watsonx Assistant Script
<script> window.watsonAssistantChatOptions = { integrationID: "93cXXXXXXX", // The ID of this integration. region: "us-south", // The region your integration is hosted in. serviceInstanceID: "256fXXXXXXX", // The ID of your service instance. onLoad: async (instance) => { await instance.render(); } }; setTimeout(function() { const t = document.createElement('script'); t.src = "https://web-chat.global.assistant.watson.appdomain.cloud/versions/" + (window.watsonAssistantChatOptions.clientVersion || 'latest') + "/WatsonAssistantChatEntry.js"; document.head.appendChild(t); }); </script>
Save and Close
4) Restart QRadar Console (if needed)
Depending on your environment, you may need to restart the QRadar web service to apply the changes.