Product Documentation
How-To: Widget
Learn about the Fluents.ai widget and how to add it to your website.
Widget
The Fluents.ai Widget allows you to embed a web-based AI agent directly on your website, giving users instant access to conversational support and interaction.
How It Works
The widget is a script that you inject into your website. Once added, it loads a web agent configured through your Fluents.ai settings.
All widget-related settings can be found under the “Widget” tab in Settings.
Authentication Options
You have two ways to authenticate the widget:
1. Direct JWT Token
- Choose the specific agent the widget should use.
- Set the token’s expiration time:
- 30 minutes
- 1 hour
- 3 hours
- 6 hours
- Never expire
2. API Sign-In Key
- Use an API key to dynamically generate access tokens for users.
- Ideal for personalized or authenticated website experiences.
You can embed the script on any page where you’d like the agent to appear. Positioning and design are customizable.
Ready to move on? Check out the Role Guide.