Skip to main content
The IrisAgent chatbot answers support questions on any website. You can match it to your brand (colors, logo, welcome message) and see every conversation in IrisAgent.

Set up and deploy

  1. Go to AI Products → Chatbot and click Configure and deploy. The default configuration opens. Use the configuration selector to switch, or New configuration to add one. IrisAgent chatbot configure page
  2. Customize the chatbot. See Configuration options.
  3. Click Deploy, then Reveal API Key, and paste the snippet into your website’s <body>:
  4. Conversations appear under Activity → Conversations.
IrisAgent hosts a full-screen chat page, so you can open the chatbot from a plain link without hosting a page yourself. Use your data-token from the snippet above:
Use this link to:
  • Add a Chat with us button to your iOS or Android app that opens the link in a WebView (works with native, Flutter, and React Native apps).
  • Link to the chatbot from a help center, email, or QR code.
The page uses the same configuration, knowledge, and handoff settings as your website widget, and conversations appear under Activity → Conversations.
Keep the token after #. Browsers do not send that part of the link to any server.
  • Android file uploads: to let visitors attach images, your app must handle file chooser requests (WebChromeClient.onShowFileChooser).
  • Voice input: grant the app microphone permission and allow it in the WebView.
  • Keyboard: let the WebView resize when the keyboard opens so the message box stays visible.
  • Links: open links from bot answers in the system browser instead of inside the WebView.
  • Conversation history: enable DOM storage (localStorage) so a visitor’s conversation is kept between app sessions.

Configuration options

Configure the chatbot in two ways:
  • Configuration editor (recommended): no code needed.
  • Embed snippet (advanced): pass a full theme with data-theme. See Advanced theming.

Settings in the configuration editor

The editor has Instructions, Behavior, Appearance, Handoff, Localization, and Advanced tabs.
Only set a Product if your articles have a matching product ID (under Settings → Article Product Classifier). Otherwise chats may return no answer. See Product Segmentation.

Handoff options

  • Open a support ticket needs a ticketing or CRM data source connected first. If you signed up with a website link only, connect one such as Salesforce. The chatbot collects the customer’s name and email, then creates the ticket with the full conversation in the description. If your site tells the chatbot who is logged in, it skips asking for them (see Tell the chatbot who is logged in). For Salesforce Experience Cloud portals and the Service Cloud case fields it sets, see Chatbot on Salesforce Experience Cloud.
  • Start a live chat with Live chat destination set to IrisAgent inbox: your team replies from the dashboard. Escalated chats appear in the Waiting queue in Conversations. See Live chat.
  • Start a live chat to Salesforce: visitors stay in the widget while agents reply in Salesforce. First set up an Enhanced Chat custom client deployment. See Salesforce Live Chat Handoff.
  • Start a live chat for Zendesk Messaging webhook deployments: optionally enter Zendesk ticket tags. On escalation, IrisAgent adds the tags and passes Switchboard control to Zendesk Agent Workspace. See Chatbot Automation on Zendesk Messaging.

Tell the chatbot who is logged in

If visitors sign in to your site, pass their name and email to the chatbot. When it opens a support ticket, it uses them instead of asking, and the ticket’s requester is set from them. On a Salesforce Experience Cloud portal, you don’t need code: add the IrisAgent Chat User component instead. See Chatbot on Salesforce Experience Cloud. Add the attributes to the embed snippet when your page knows the user as it loads:
If your page learns who the user is after it loads, for example in a single-page app, call the JavaScript API instead. You can call it at any time, and again when the user changes:
Code that may run before the chatbot script has loaded can send the user as a browser event instead. The chatbot fires irisagent:ready when it loads, so send the user again on that event:
The chatbot treats this identity as information your page reported, not as proof of who the visitor is. It fills in the name and email the chatbot would otherwise ask for. Anything the visitor types in the chat takes priority, and an email address that is not valid is ignored. Do not use it to grant access to account data.

Advanced theming

Pass a Base64-encoded theme JSON in the data-theme attribute. Encode it with btoa(JSON.stringify(theme)) in a browser console. Omitted fields use IrisAgent defaults.
The theme has these optional top-level sections:
Open a section to see its options.
theme.json