...
Property and its usage | Description |
---|---|
| If you want the chatbot to open as you load the website, add the property dockDefaultAction and set the value to open. If you don't use this property in the script, you have to click on the chatbot icon to open the chatbot. This property is valid only for dock and dock-float themes. |
| The property value for ‘domId’ should be set as the same ‘<Unique ID>’ which is used in the div tag in Step1. |
| The property value for ‘launchWord’ can be set to any utterance to begin the conversation. The default value is ‘open’ |
| The property value for ‘name’ will be assigned as the name of the Chatbot. |
| The property value for ‘width’ should be a numeric value. This field is for restricting the width of the chatbot window. (Not applicable for Inline view theme). |
| The property value for ‘height’ should be a numeric value. This field is for restricting the height of the chatbot window. (Not applicable for Inline view theme). |
| The property value for ‘serverUrl’ should be the Chatbot endpoint from Orbita AI Platform URL. Please refer How do I configure Chatbot for more information. |
| The app settings URL should be placed here. More information at App Chatbot Settings |
| The ‘theme’property is valid only if the chatbot is plugged into a third party website. It is not applicable for chatbot rendered in a full window. The theme can be dock, dock-float, inline, and sidebar. |
| The property value for ‘enableLogin’ can be ‘true’ or ‘false’. If enableLogin is set to ‘true’, a login link will appear for the end-user at the header of the chatbot. The chatbot would require the oath Server URL, Client ID and Client Secret to allow login functionality. |
| The property value for ‘oathuserverUrl’ should be a URL. |
| The property value for ‘clientId’ should be the oath client ID obtained from the Orbita portal or third-party website. |
| The property value for ‘clientSecret’ should be the oath client ID obtained from the Orbita portal or third-party website. |
| he property value for ‘logoUrl’ can be a link to the image file. This will display a logo in the header of the chatbot. |
...
Code Block |
---|
"theme": { "dockFloat": { "buttonSrc": "URL of the image", "buttonTitle": "Hi There!" } } |
...
Client ID and secret
Follow the below steps to get the Client ID and Secret for your chatbot.
Login to Experience Manger
Click on the Profile name > Global Settings and User Profile menu > Register Application.
On the Register Application listing page, click on ChatBotClient. You can see the Client ID and Secret at the bottom of the page.
Click on the eye icon next to unhide the Client ID and Secret. Then click on the copy button to copy them to the clipboard.
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|