Artifact Embed Guide | Sharon Marie Co.
Sharon Marie Co. Guide

Your Artifact
is Built.
Now Let's
Publish It.

A step-by-step, checkable guide for getting your Claude artifact live on your website, platform, or anywhere your audience already is.

Sharon Marie Co., LLC  |  Artifact Embed Guide  |  v4.0

Copy Your HTML Code

Everything starts here. Before you can publish anywhere, you need to grab the HTML code from your artifact inside Claude.

How to Copy Your Artifact HTML

  1. Open the conversation in Claude.ai where your artifact was built.
  2. Find the artifact panel on the right side of the screen.
  3. At the top right of the artifact panel, you will see a Copy button. Click the small dropdown arrow right next to it to reveal three options: Download as HTML, Add to project, and Publish artifact.
  4. Select Copy to copy the full HTML code to your clipboard, or choose Download as HTML to save the file directly.
  5. Your code is now ready. If you are uploading to Netlify, save it as YourToolName.html to drag and drop. If you are pasting directly into a website platform, you can paste the copied HTML straight into that platform's native code block. No extra file or editor needed.

Before You Copy: Know Your Options

The method above (copying the HTML) is what this entire guide covers and what we recommend for anything you plan to share publicly, use with paying customers, or embed on a website.

That said, Claude also gives you a publish link you can share directly from Claude.ai. Here is when that makes sense:

  • You are using the artifact as an internal tool just for yourself
  • You are sharing it with clients or students who already have their own Claude accounts and you want them to log in and access it that way
  • You are intentionally sharing it so someone can customize it and make it their own
Caveat 1 Anyone who clicks your publish link may need an active Claude account to interact with the tool. This one is worth testing before you share it widely. Have someone outside your own account click the link and try to use it. I have run into this myself, and the experience can vary. If your audience does not already have Claude accounts, there is a real chance the link will not work for them the way you expect.
Caveat 2 The publish link opens in a view where someone can edit or steal the tool. If you built something proprietary, a lead magnet, a paid offer, or a client-facing tool you do not want copied, do not share the publish link publicly. If you are sharing it so someone can make it their own, that is fine. If you built it for your own internal use, that is fine too. But if it is something you want to protect, use the hosted HTML method this guide covers instead.

Choose Your Publishing Path

You have two solid options. Pick the one that fits your setup and follow the checklist for that path below.

🌐

Path A: Publish on Your Own Website or Page Builder

You have a WordPress, Squarespace, GHL, Kajabi, or Wix site. You will paste the HTML directly into your platform. Jump to the platform checklists below.

🚀

Path B: Host on Netlify First

No website, or want a standalone URL? Netlify Drop gets your artifact live in under 60 seconds. Free, no account needed for a basic deploy. Start with the Netlify checklist below, then use that URL to embed anywhere including course and membership platforms.


Platform-Specific Checklists

Select your platform and check off each step as you go. Progress saves in your browser for this session.

0 of 6 steps complete
  • Save your HTML file with a clean nameExample: LeadMagnetQuiz.html or OfferCalculator.html. No spaces in the filename.
  • Go to netlify.com/drop in your browserNo account needed for a basic deploy.
  • Drag and drop your HTML file onto the Netlify Drop pageNetlify will process the file and generate a live URL instantly.
  • Copy your new Netlify URLIt will look like: https://random-name-123.netlify.app. This is your shareable link.
  • Open the URL in a fresh browser tab and test itComplete the full user flow yourself before sharing with anyone.
  • Save the URL somewhere accessibleAdd it to your Airtable base, a notes doc, or wherever you manage your tools and links.
Want a permanent custom URL? Create a free Netlify account and claim the site. You can also connect a custom subdomain (like tools.yourwebsite.com) from your Netlify dashboard. Your Netlify URL is also what you will use to embed the artifact into Heartbeat, Kajabi communities, or any other platform that accepts iframe embeds.
0 of 7 steps complete
  • Create a new page in WordPressGo to Pages and click Add New, or open an existing page you want to add the artifact to.
  • Open the Divi Visual BuilderClick the Use Divi Builder button, then choose to build from scratch or use a blank page.
  • Add a Full Width Code module to the pageClick the blue + to insert a row, then search for the Code module and add it to the section.
  • Paste your HTML code directly into the code moduleNo hosted URL needed. Just paste the full artifact HTML straight into the code field.
  • Save the page
  • Preview the page in a real browser tabDo not rely on the Divi preview inside the builder. Always check the live or preview URL in an actual browser tab.
  • Test on mobilePull up the page on your phone and confirm everything is readable, tappable, and nothing is cut off.
CSS bleed heads up: Any CSS inside a Divi Code Module applies globally to the whole page by default. If your artifact includes its own styles, scope them to a parent class so they do not accidentally change headings or text elsewhere on the site.
0 of 5 steps complete
  • Open your page in the Elementor editorFrom WordPress, go to the page and click Edit with Elementor.
  • Search for the HTML widget in the left panel and drag it onto the pageType "HTML" in the search bar at the top of the widget panel. Drag and drop the HTML widget into the section where you want the artifact to appear.
  • Click on the HTML widget and paste your artifact HTML into the content areaPaste the full HTML code directly into the widget's code field. No hosted URL needed.
  • Click Update and preview the page in a new browser tab
  • Test on mobileCheck that the artifact is fully visible and usable on a phone screen.
Preview vs. live: Some JavaScript in your artifact may not execute correctly inside the Elementor editor preview. Always check the published or preview URL in a real browser tab before calling it done.
0 of 5 steps complete
  • Open your funnel step or website page in the GHL builder
  • Click Add Element and drag the Custom Code element onto the pageIn GHL this may be labeled "Custom Code", "Code", or "HTML" depending on your builder version.
  • Paste your artifact HTML directly into the code fieldNo hosted URL needed. Paste the full HTML code straight into the element.
  • Save and preview the funnel step in a real browser tabUse the preview link, not just the editor view.
  • Test on mobile
Watch for column padding: GHL sections often add built-in padding inside columns. If your artifact looks squished or has unexpected side space, edit the column settings and reduce internal padding to 0.
0 of 5 steps complete
  • Confirm you are on the Squarespace Business plan or higherThe Code block is not available on the Personal plan. If you do not see it, you will need to upgrade or use Netlify and share a direct link instead.
  • Edit your page and click Add Block (or the + icon), then select CodeIf Code does not appear in the initial list, click More to expand all block types.
  • Open the block editor, make sure the Type is set to HTML, then paste your artifact HTMLClick the pencil icon on the block to edit. Remove the placeholder "Hello World" text and paste your full artifact HTML in its place.
  • Click Apply and check the live preview URL in a real browser tabSquarespace can hide rendering issues in the editor. Always verify using the actual published or preview link.
  • Test on mobile
Editor vs. live view: Some JavaScript may not execute inside the Squarespace editor preview. Always check the live published page before promoting your artifact link.
0 of 5 steps complete
  • Open your page in the Kajabi page builderFrom the Dashboard, go to Website, locate your page, and click Customize.
  • Open a section and click Add Block, then select Custom CodeIf you do not see the Custom Code option, click More to expand all block types.
  • Paste your artifact HTML directly into the Code fieldNo hosted URL needed. Paste the full artifact HTML straight into the block.
  • Click Save and preview in a real browser tab
  • Test on mobile
Kajabi plan note: Custom Code blocks are available on Kickstarter and Basic plans and above. If you are on the lowest tier and do not see the option, check your plan level or use a Netlify-hosted URL embedded via a standard link on your page.
0 of 6 steps complete
  • Open the Wix Editor for your site and go to the page where the artifact should appear
  • Click the + (Add) button in the left sidebar, go to Embed, and select HTML iFrameDepending on your Wix version this may also appear as Embed a Widget, Embed Code, or Embed & Social.
  • A gray box appears on the page. Click Enter Code
  • Paste your artifact HTML into the text box and click UpdateWix's HTML iFrame element accepts raw HTML directly. No hosted URL needed.
  • Drag the element handles to resize the iFrame container to fit your artifactIf the artifact looks cramped, the outer Wix container is likely too small. Drag it larger before assuming something is broken.
  • Publish and test in a real browser tab on both desktop and mobile
Wix sandboxes the iFrame: Wix's HTML element creates a sandboxed environment. This means your artifact cannot directly interact with other elements on your Wix page, but it will run on its own just fine for tools, quizzes, and calculators.
0 of 6 steps complete
  • Host your artifact first before attempting to embed in a course or membership platformThese platforms require a live hosted URL to render your artifact. The two reliable options are: (A) publish it on a page on your own website and copy that page URL, or (B) deploy it to Netlify Drop and copy that URL.
  • Confirm you have a working hosted URL before moving forwardOpen that URL in a fresh browser tab yourself and make sure the artifact loads and works correctly. Do not attempt to embed a broken or unfinished URL.
  • In your platform, locate the page, post, or module where you want the artifact to appearIn Heartbeat, look for the raw embed or iframe option (the angle bracket icon). In Kajabi communities, look for the HTML embed or media embed option inside the post editor.
  • Paste your iframe embed code using your hosted URL as the srcIn Heartbeat specifically: use the native raw iframe embed option (the angle bracket / code icon). Do not use a standard link embed, as Heartbeat uses iFramely which does not whitelist all sources.
  • Save and preview the post or moduleCheck that the artifact renders inside the platform and is interactive, not just a static preview image.
  • Test on mobile inside the platform's app or mobile browserYour members may be accessing your community from their phones. Make sure the artifact is usable at a smaller screen size.
Why you need a hosted URL first: Most course and membership platforms use an embed rendering engine (like iFramely) that requires a publicly accessible URL to display external content. Raw HTML, file paths, or Claude.ai artifact links may not render correctly inside these platforms. Hosting on your own site or Netlify first gives you a clean, reliable URL that these platforms can actually load.

If your platform is not covered above, the general approach is the same: get a hosted URL for your artifact first (your own site or Netlify), then look for an iframe embed, HTML embed, or Custom Code option inside your platform.

If you are stuck, ask the chat helper on thesharonmarie.com and we will help you sort it out.


Launch-Ready Checklist

Run through all five of these after you complete your platform steps. Five minutes here saves a lot of trouble later.

0 of 5 complete
  • Open the artifact in a fresh browser tab (not the editor preview)Always test in an actual browser, incognito if possible. Builder previews can hide rendering issues that show up for real visitors.
  • Complete the full user flow yourself, start to finishClick through every screen, submit any forms, and reach the final output or result. If anything breaks mid-flow, fix it before you share.
  • Check it on your actual phonePull up the published page on your mobile device. Text should be readable, buttons tappable, and nothing cut off or overflowing. Most of your audience is on mobile.
  • Verify every interactive element respondsButtons, dropdowns, form fields, copy-to-clipboard, any downloads. Click each one and confirm it does exactly what it should.
  • Send the link to one other person to testFresh eyes catch what you miss. Ask them to click through and tell you if anything feels confusing, broken, or unclear. This is the step most people skip and the one that matters most.

Common Issues

These are the situations that come up most often after publishing.

Blank white box where the artifact should be

Most likely cause

The iframe src URL is incorrect, the hosted file is not publicly accessible, or you are testing from a local file path instead of a live URL.

Fix it

Double-check the URL in your embed code for extra spaces or missing characters. Make sure the file is actually live and publicly accessible (open the URL in a new incognito tab to confirm). Never test from a file:// path. If the artifact calls any external APIs, it must be hosted on a real URL, not opened as a local file.

Styles from the artifact are changing the look of the rest of my website

Most likely cause

You added CSS inside a WordPress or Divi Code Module without scoping it to a parent class. Bare selectors like h2 or p inside a Code Module apply globally to the whole page.

Fix it

Wrap all your CSS in a scoped parent class. Instead of h2, write .your-tool-wrap h2. This way your artifact styles only apply inside the artifact container and cannot affect anything else on the page. Note: if the artifact itself is inside an iframe, its styles are already sandboxed and cannot bleed. CSS bleed only happens if you are adding styles to the host page's Code Module.

A form or button inside the artifact is not working

Most likely cause

If the artifact connects to an external service (like Airtable or the Anthropic API), that connection may be blocked inside the Claude.ai sandbox due to Content Security Policy restrictions. This is a sandbox limitation, not a code error.

Fix it

Host the artifact as a standalone HTML file on Netlify or your own website. Artifacts hosted on a real URL bypass the sandbox restriction and all external connections work as expected. This is the most common reason to move from sharing the Claude link to hosting the HTML file yourself.

Looks great on desktop but broken or tiny on mobile

Most likely cause

The iframe has a fixed pixel width, or the platform is adding unexpected padding around the embedded element on smaller screens. The artifact HTML file may also be missing a responsive viewport meta tag.

Fix it

Make sure your embed wrapper uses width: 100%, not a fixed pixel width. Try increasing the iframe height. If you are hosting the artifact HTML file yourself, confirm it includes a viewport meta tag in the head. On GHL and Wix, check and reduce the platform's built-in column or section padding.


Keep the Momentum Going

You built the tool. You published it. Here is one way to keep building from here.

Offer Optimizer Lab

Ready to Turn That Tool Into an Offer?

The Offer Optimizer Lab is a self-paced course for packaging what you built into an offer people can buy. We walk through creating it, pricing it, and launching it, one step at a time. Come see if it fits where you are.

See the Offer Optimizer Lab
💬
Stuck on something specific? Ask the chat helper on thesharonmarie.com and we will work through it together.

Artifact Embed Guide v4.0  |  Sharon Marie Co., LLC

Questions? Find Sharon at thesharonmarie.com

Section complete! Move on to the launch-ready checklist when you are ready.