Widget
Last updated
Last updated
The widget is an agent that you can integrate into your website or e-commerce, acting as an informant and a customer service available 24/7. Swiftask makes it easy to create this widget, even if you have no programming skills. Integrating the agent into your site is easy thanks to the links provided during the creation of your agent.
Here are the steps to follow to create a widget:
Go to the "Agent" section.
Click on "Create an agent."
Give your agent a name.
4. Select the agent type: • Agentic RAG V2: an improved version, capable of utilizing multiple skills simultaneously for a single question, with simplified configuration. • SQL Agent: quickly gain insights from your database by directly asking your questions.
Customize your prompt.
Attach a knowledge base if necessary.
Provide custom knowledge that your assistant will access to inform its responses. Your assistant will retrieve relevant sections from the knowledge base based on the user message. The data in the knowledge base may be made viewable by other users through assistant responses or citations.
To know more about each knowledge bases
Add skills to extend the agent's capabilities.
This collection of skills enables our agent to intelligently interpret and respond to user requests. It includes capabilities for natural language understanding and data analysis, providing personalized responses. The resulting interactions showcase the agent's efficiency and advanced skills.
To know more about each skills
Customize its appearance.
To customize the appearance of your agent, go to the Widget section. There you can modify the subtitle, the prompt text for the input, the welcome message, the avatar, the chat color with the agent, the widget icon, the greeting message, and the starter questions.
Test its effectiveness.
For more information visit our Tutorial video how to create an Agent
Copy/Pate the link to embed your widget in your website
Even without any programming knowledge, you can easily integrate your agent into your website as a widget. To do this, once your agent is configured, go to the "Developers" section where you will find the codes to copy and paste onto your site.
There you will find:
Agent client token
Agent slug
Agent widget integration: Add the code snippet to your HTML file to embed the Swiftask widget on your site.
Integration via iframe: Integrate the Swiftask widget using an iframe by adding the provided code to the desired location on your site.
Integration via API: For more information visit our API documentation