# How do I add DemoPage to HubSpot?

> In HubSpot open Settings, then Content, then Pages. Choose your domain, or Default settings for all domains, paste your DemoPage snippet into Site footer HTML, and press Save.

Reviewed 2026-10-27.

## Steps

1. In your DemoPage portal, open Demo settings and press Copy snippet under Embed on your site.
2. In HubSpot, open Settings (the gear), then Content, then Pages.
3. Choose your domain, or Default settings for all domains.
4. Paste the snippet into Site footer HTML and press Save. Site header HTML works too.
5. Open a published page in a private window and check for the button.

```
<script src="https://app.demopage.io/embed.js" data-demo="your-link" async></script>
```

## Pages on another HubSpot domain

Your website's domain and its subdomains work without setup. If HubSpot hosts your pages on another domain, add it under Embed on your site in Demo settings. [Other domains and staging sites](https://demopage.io/help/other-domains.md)

## HubSpot leads and DemoPage

Adding the button doesn't send leads to HubSpot. To pass finished demos and leads on through Zapier, Make, or your own endpoint, see [Send demos to a webhook](https://demopage.io/help/send-to-webhook.md).

To record a demo for each new HubSpot lead before your first call, see [Demo before the first call](https://demopage.io/help/demo-before-first-call.md).

Step by step: [Paste it into your site](https://demopage.io/docs/add-to-your-site.md#paste).

## Related questions

- [How do I add the demo button to my website?](https://demopage.io/help/add-demo-button.md)
- [How do I send demo leads and finished demos to a webhook?](https://demopage.io/help/send-to-webhook.md)
- [How do I record a demo for each new lead from my CRM?](https://demopage.io/help/demo-before-first-call.md)
- [The demo button isn't showing on my site. What should I check?](https://demopage.io/help/button-not-showing.md)

Still stuck? Email hello@demopage.io. All questions: [Help center](https://demopage.io/help.md).
