Add AI support chat to your Flutter app
Add the IntelliDesk AI support chat to your Flutter app in a few lines: it answers from your own content and hands off to your team. Your snippet, with your agent filled in, is in the dashboard under Deploy → Install; it also confirms when the chat is live on your site.
Steps
- Add webview_flutter to pubspec.yaml.
- Load the hosted chat.
dart
final controller = WebViewController()
..setJavaScriptMode(JavaScriptMode.unrestricted)
..loadRequest(Uri.parse("https://YOUR_APP/embed/AGENT_SLUG_OR_ID"));
// In build(): WebViewWidget(controller: controller)Replace AGENT_SLUG_OR_ID with your agent's slug or id, and YOUR_APP with your IntelliDesk address.
Next
- Signed-in users, or a native chat screen of your own? Use the REST API from your backend and name the user.
- All guides: Platform guides.