---
title: Custom domains and embedding agents
slug: custom-domains-and-embedding-agents
docTags: 
createdAt: 2024-05-02T18:55:07.335Z
---

# 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.&#x20;

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.&#x20;

To start go to the **Domains** tab in the Agent project page.&#x20;

Then enter the domain you would like to host your page. We recommend using **chat.yourdomain.com&#x20;**&#x77;here 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.&#x20;

![](https://api.archbee.com/api/optimize/J9fYKyOC9LDUkZLauraw-/6gTVQYdZ7LS9jjm0C8uuo_screenshot-2024-05-02-at-123139-pm.png)

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.&#x20;

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

![](https://api.archbee.com/api/optimize/J9fYKyOC9LDUkZLauraw-/Ktdpdg6wdbAAOOykN-Y6M_screenshot-2024-05-02-at-123433-pm.png)

