> ## Documentation Index
> Fetch the complete documentation index at: https://sitespeak.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# How to add a ChatGPT AI support agent to Pagemaker

> How to add your custom ChatGPT trained AI support agent to your Pagemaker landing page.

You want to embed your custom trained AI support agent in your **Pagemaker** landing page. Here's how to add an AI support agent to Pagemaker with SiteSpeakAI.

**Pagemaker** is a no-code landing page builder designed to help users create high-converting, mobile-first web pages quickly and easily. It's especially popular among marketers, entrepreneurs, and e-commerce sellers who want to launch campaigns without needing design or coding skills.

**Website:** [Pagemaker](https://pagemaker.io/).

## Add your AI support agent to your **Pagemaker** landing page

### In SiteSpeakAI

Select your chatbot from the dropdown menu at the top, click on the **Install Agent** section in the sidebar, then click on the **Copy Code** button to copy your code snippet.

<img src="https://mintlify.s3.us-west-1.amazonaws.com/espressodev/images/installing-your-chatbot/copy-code.png" alt="Copy code snippet" />

### In Pagemaker

1. Log into your **Pagemaker** account and select your landing page on the **Landing Pages** screen
   ![](https://nyc3.digitaloceanspaces.com/cdn.sitespeak.ai/uploads/help-center/images/GYlAH1iHo1Avg0PNezEmlQYNrQs8dYck5LTtOZXu.png)

**Note**: There are two (2) ways to add your snippet to your **Pagemaker** page.

a. Using the **Custom Code** module to insert the code per page or

b. Add a global **Javascript** which can then be applied to all or selected pages

#### A. Using the ***Custom Code*** module option:

i. Click on **Open in Editor** to open the page in Edit mode
![](https://nyc3.digitaloceanspaces.com/cdn.sitespeak.ai/uploads/help-center/images/9KhLJG4PdildINYzb2mr7ZkzV0aut0MmTcHMqAjl.png)

**Note**: On the left side you will see a list of modules (with names as created by **Pagemaker**). These are the items displayed on your page, i.e. Header, Hero, Footer, etc.

ii. Click on **Add New Module** to add a Custom Code module
![](https://nyc3.digitaloceanspaces.com/cdn.sitespeak.ai/uploads/help-center/images/uVCdnIJ0GY2CqrDuRrWiViIQ0H7kGrAvfUCVt8a7.png)

iii. Select the **Custom Code** module
![](https://nyc3.digitaloceanspaces.com/cdn.sitespeak.ai/uploads/help-center/images/qa71TRLVI8KQrJ9tMZ3ZEIqOgIJ3p0gUB7OpCuT1.png)

iv. Select **Code** on the Custom Code module and click on **Open Editor**
![](https://nyc3.digitaloceanspaces.com/cdn.sitespeak.ai/uploads/help-center/images/EYnkd8KpffMuJJXiOTsO57SVtGeHFxfPH3ungu4U.png)

v. Replace the current contents of the **Code Editor** with your AI support agent snippet and click on **Save**
![](https://nyc3.digitaloceanspaces.com/cdn.sitespeak.ai/uploads/help-center/images/czdwU9S0p6QE3tjwlJ2JIy24CECIrAQhaTZgndrT.png)

vi. Click on **Save Changes** to update your page
![](https://nyc3.digitaloceanspaces.com/cdn.sitespeak.ai/uploads/help-center/images/KR5ScmMGgotTIMbDSS43WEfbdtCa9ExGIe1con5F.png)

#### B. Using the global ***Script*** option:

i. On the **Pages** screen, click on **Javascripts** under **Customization** to add your snippet as a new script to **Pagemaker**
![](https://nyc3.digitaloceanspaces.com/cdn.sitespeak.ai/uploads/help-center/images/q2VYttMXcI0d6sz6BI5M2b4Wj7pwA5YyQZNBRo07.png)

ii. Select **+ Add New Script** to add a new script
![](https://nyc3.digitaloceanspaces.com/cdn.sitespeak.ai/uploads/help-center/images/FtC6VNALL048td96DJihKkhSwesgX6rQCDg6Snwb.png)

iii. Provide a name for the script (we'll just call it **SiteSpeakAI**), select the position where it will be displayed (this can be **Footer** or **Head**) and indicate if it should be displayed on **All pages** or **Select pages**.

Replace the contents of the current **Script** with your snippet, make sure the status is enabled and click on **Save**. You can also use **View Draft Site** or **View Live Site** to see how your snippet performs
![](https://nyc3.digitaloceanspaces.com/cdn.sitespeak.ai/uploads/help-center/images/VkExudxjCRAPIRbypKhkMZRseOw9RwdX4Cf3nRdh.png)

#### C. For both options:

1. Your AI support agent button will now be displayed on your **Pagemaker** landing page
   ![](https://nyc3.digitaloceanspaces.com/cdn.sitespeak.ai/uploads/help-center/images/l6yKCOxnJqiTAerndIwjbJYyhYFOtbqCcVb38j6z.png)

2. If you click on the button, it will display the AI support agent dialogue
   ![](https://nyc3.digitaloceanspaces.com/cdn.sitespeak.ai/uploads/help-center/images/RHXBZdnFQnV2bFFOQyohxcTjWWfjnh8va5FhcjEL.png)

Your AI support agent has now been added to your **Pagemaker** website and your visitors/customers can start interacting with it!

***

<Card title="Ready to automate your customer service with AI?" icon="bot" href="https://sitespeak.ai/register?utm_source=docs&utm_medium=cta&utm_campaign=primary-cta" arrow="true" cta="Create Your AI Agent">
  Join over 1000+ businesses, websites and startups automating their customer service and other tasks with a custom trained AI agent.
</Card>
