# Squarespace

## Adding embed code to Squarespace&#x20;

You can add embed code to individual posts in Squarespace and to the menus on your home page.&#x20;

_**Steps:**_&#x20;

1. From your Squarespace dashboard, open the webpage where you want to add the embed code(**Checkout Button Code**).
2. Find the element on the page where you want the Checkout button, move your cursor over the Page Content area, and then click **EDIT**.
3. Click the insert point where you want to add the embed code(Checkout Button Code).
4. In the More section of the Content Blocks dialog, click Code.
5. From your Create section, copy the Checkout Button Code from the **COPY SCRIPT** pop up.
6. From your Squarespace dashboard, paste the embed code(Checkout Button Code) into the CODE dialog. Make sure that the text field is set to receive HTML.
7. Click **APPLY** on the **EDIT CODE** dialog.
8. Click **SAVE** again on the page editor. Because Squarespace disables JavaScript in its dashboard, you need to preview your page separately to see the Checkout Button that you've added. If you complete the steps and your Checkout Button is not loading, then you might need to disable Ajax loading. To see more details, go to [Enable or disable Ajax](https://support.squarespace.com/hc/en-us/articles/115000253288-Ajax-loading#toc-enable-or-disable-ajax).
