Embedding Types
There are different types of embedding for the assistant.
Chatbot
There are three types of Chatbot embeddings.-
Chatbot with Default Button
Features a small, circular button which is typically located in the bottom right corner of the webpage to access the assistant.
- The
keyis used used for authenticating and accessing the assistant. Add quotation marks around the key when you paste it.
- After enclosing the key in quotation marks. Make sure that the
name,email, anduserIdmust be filled with the actual user information they represent.
- Chatbot with Custom Styled Button
To embed the chatbot custom styled button, use the following code snippet.
You can change the image of the button by replacing the link in the src attribute of the <img> tag. You can also customize its size by changing the values of the width and height attributes.
Inline Oracle View
There are two types of views available for the Inline Oracle Embedding.-
Full View with Avatar
Provides a comprehensive view of the assistant that spans across a substantial portion of your webpage. It features an avatar of the assistant.
-
Compact View
Designed to occupy a small portion of your webpage by default. Initially, only the text box for user input is visible.
When the user sends a message, the view transforms, expanding into a chat box. This expansion provides interactive and user-friendly chat interface for continued interactions with the assistant.
Chat View
Embed your chatbot inline in your website.
To embed the chat view, use the following code snippet.
The height set for the chat view is 500 pixels. You can change its height by changing the value of the height attribute.
Popup Overlay Oracle View
Pop up your assistant via a button.
To embed the popup overlay oracle view, use the following code snippet.
The button’s label by default is “Ask Libraria” but you can change it by replacing the text between <button> </button>.
Get your Embedding Snippet in Libraria
- Copy the code snippet of the embedding you chose in the bottom part of the Embedding Instructions window by clicking the Copy icon.

- Paste the code snippet of the embedding you chose in the body of your HTML file to add the assistant in your website.
your_library_name with your specific library name.
If you are copying the code from the Embedding Instructions window, there’s no need to make any changes. However, for Chatbot with Default Button and Chatbot with User Options, please follow the additional steps provided in their respective sections.
