Add the Oracle Digital Assistant to Your Web App
You can integrate the Oracle Digital Assistant (ODA) into your Visual Builder web app simply by importing the Oracle Web SDK into your project and adding just a few lines of code.
Before you begin:
- Set up the Oracle Web SDK channel in your Digital Assistant (DA) instance and associate it with a skill. See Overview of the new Oracle Web SDK and its customization features in Oracle Digital Assistant 19.10 and later
Record the following Oracle Web channel parameter settings: URI (your chat server URL) and Channel ID (the Web channel Id). You'll need to add these values to your code when you integrate the digital assistant.
- Download the Oracle Web SDK 1.0 from the Oracle Digital Assistant (ODA) and Oracle Mobile Cloud (OMC) Downloads page.
To import the Oracle Web SDK and add required code:
- Import the Oracle Web SDK into your project:
- Add code to a page of your web app to invoke the Oracle Web SDK to connect and invoke the web-widget.
- Run the project to test the integration:
- Click Run to start the web application in a separate tab.
- Click the Chat widget icon to start your chat bot.