Embed AI agent using iFrame

This step-by-step guide shows you how to embed your CustomGPT AI agent into any website using an iframe.

  1. Open your website builder (e.g., WordPress, Webflow, Wix, or a custom site).
  2. Click the + icon or Add Elements.
  1. Select Embed code from the available options.
  1. Click Embed HTML.
  1. Go to your CustomGPT agent and click Deploy.
  1. Click the Integration tab.
  1. Scroll down to the iframe section and click the code icon (</>).
  1. Copy the provided iframe code.

โš ๏ธ

Important:

If you use this deployment method, conversation history will not be preserved. If users refresh the page or navigate away and return later, their previous conversation will be lost.

  1. Paste the iframe code into the embed field on your website editor.
  1. Click Update or Save, then Publish your site to apply the changes.