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.
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
- Open the conversation in Claude.ai where your artifact was built.
- Find the artifact panel on the right side of the screen.
- 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.
- Select Copy to copy the full HTML code to your clipboard, or choose Download as HTML to save the file directly.
- 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
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.
- 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.
- 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.
- 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.
- 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
- 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
- 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
- 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
- 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.
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.
- 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