Set up and deploy
-
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.

- Customize the chatbot. See Configuration options.
-
Click Deploy, then Reveal API Key, and paste the snippet into your website’s
<body>: - Conversations appear under Activity → Conversations.
Open the chatbot from a link or a mobile app
IrisAgent hosts a full-screen chat page, so you can open the chatbot from a plain link without hosting a page yourself. Use yourdata-token from the snippet above:
- 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.
Tips for mobile app WebViews
Tips for mobile app WebViews
- 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.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: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 thedata-theme attribute. Encode it with btoa(JSON.stringify(theme)) in a browser console. Omitted fields use IrisAgent defaults.
Proactive message (tooltip)
Proactive message (tooltip)
Chat window (chatWindow)
Chat window (chatWindow)
Message input (chatWindow.textInput)
Message input (chatWindow.textInput)
Messages (chatWindow.userMessage, chatWindow.botMessage)
Messages (chatWindow.userMessage, chatWindow.botMessage)
Other sections
Other sections
Full example theme
Full example theme
theme.json