Guides

Custom domains and embedding agents

2min

Embed on website with iframe

To embed an agent on your website, go to Agent project page by selecting Manage from the workspace, then go to the Dashboard tab.

Once there, select Connect GPT on the right side or select Deploy on the top left, then select iFrame in the popup that occurs. There you can customize your iframe to be 100% of the views width and you can hide the left side by selecting the option.

Once done, select Copy to copy your iframe code. Then you can paste the code in your website platform to embed your agent in your website.



Custom domain

Deploying your agent to a custom domain enables you to load your agent chat page by going to your domain instead of agenthost's.

To start go to the Domains tab in the Agent project page.

Then enter the domain you would like to host your page. We recommend using chat.yourdomain.com where you replace yourdomain.com with your actual domain.

Once you do so, you'll be given instructions to update your DNS with a record to verify and set up your domain.

Document image


Follow the instructions for your given DNS provider to set up the given DNS records. Then click Check configuration to verify your DNS records are setup correctly.

Once correctly setup and verified, you will see this confirmation as your domain is configured with SSL.

Document image