Option 1: Use the existing deployment snippet
- Open Website Search Widget settings.
- Select Basic usage, Public product mode, or Specific product ID to match your AI Search deployment.
- Copy the full snippet (container, external script, and initialization script).
- Edit the Confluence page, insert your HTML macro, and paste the snippet. Do not paste it into a normal Confluence code block. That shows the code instead of running it.
- Have your Confluence admin confirm the macro allows JavaScript and the external widget script.
- Publish, then test a question, a source link, a follow-up, and feedback.
Option 2: Embed a hosted page with the iFrame macro
You can host a small HTML page with the same full snippet on a site that allows framing by your Confluence instance, then use its URL in the iFrame macro. Or use IrisAgent’s optional hosted page. External framing is off by default, so IrisAgent must deploy it and allow your exact Confluence HTTPS origin first. To use the IrisAgent hosted page:- Ask IrisAgent to confirm the host is deployed and to allow your Confluence HTTPS origin.
-
Copy the
apiKeyvalue from your Website Search Widget snippet. - Edit the Confluence page and insert the iFrame macro.
-
Set the URL, replacing
YOUR_WIDGET_KEY: -
Start with width
800and height700pixels, or use full width. - Publish, then test a question, a source link, a follow-up, and feedback.
#apiKey=... fragment and URL-encode values with special characters. See Atlassian’s iFrame macro instructions.
Use a public or specific product on the hosted page
Use a public or specific product on the hosted page
- Public product mode: append
&usePublicProduct=true. - Specific product: append
&productId=YOUR_PRODUCT_ID. This takes precedence overusePublicProduct.
Access and limits
Anyone can copy the shared widget key from the embed. Confluence page restrictions do not add authentication to the widget’s API. Neither method adds employee sign-in or per-user attribution.
- Both methods use your existing AI Search widget, APIs, knowledge configuration, and billing. Make sure that configuration suits the people who will use it.
- The widget does not read the Confluence page it sits on or an open Zendesk ticket. Include details in your question.
- Source links keep their normal access requirements.
- The hosted page’s
#apiKey=...fragment keeps the key out of the page request and referrer, but the key is still not a secret.
Troubleshooting
The snippet shows as text, or the HTML macro is blank
The snippet shows as text, or the HTML macro is blank
Make sure you used an HTML macro that runs JavaScript, not a code block. Ask your admin to allow scripts, the external widget script, and API requests. Otherwise, use Option 2.
The hosted page will not display in the iFrame
The hosted page will not display in the iFrame
Check that the URL has
/agent-assist.html before the fragment and that IrisAgent has allowed your exact Confluence HTTPS origin. Framing is checked for every ancestor, so if your macro adds a vendor-hosted frame, IrisAgent must allow that origin too. Send IrisAgent your Confluence site URL and macro name. If framing is not possible, add a normal link to the same URL.The hosted page asks for an apiKey
The hosted page asks for an apiKey
Make sure the full
#apiKey=... fragment was saved. Use the key from the AI Search snippet, not an employee login token.The widget loads but gives no answers
The widget loads but gives no answers
Check that the key and product settings match your working AI Search deployment and that the relevant knowledge has been ingested.