How to build a website with Claude (step by step)
Connect Claude to NanoSite in five minutes, describe your business, and publish a real website on your own domain without leaving the chat.
On this page
Claude is good at writing code. Ask it for a landing page and you'll get a tidy block of HTML in a few seconds. Then you're left holding a file. You still need hosting, a domain, a contact form that actually sends email, and somewhere to put the products if you sell anything.
That gap is why searches for "Claude website builder" have gone up so fast this year. People don't want a code snippet. They want a site that is live on their own domain, and they want to keep talking to Claude while they build it.
This guide shows the setup we use: Claude does the talking, NanoSite does the building and hosting. It takes about five minutes.
What you need#
- A Claude account on a plan that allows custom connectors (claude.ai, Claude Desktop or Claude Code).
- A free NanoSite account. You don't need a project yet. Claude can create one for you.
NanoSite connects to Claude through MCP (Model Context Protocol), the open standard Anthropic created for letting Claude use outside tools. If you want the background, Anthropic's introduction to MCP is a short read.
Step 1: add NanoSite as a connector#
In Claude, open Settings → Connectors and click Add custom connector. Name it NanoSite and paste this URL:
https://nanosite.ai/api/mcp
Click Connect, log in to NanoSite and click Allow. That's the whole setup. There's nothing to install and no API key to copy.
If you use Claude Code instead, one command does the same thing:
claude mcp add --transport http nanosite https://nanosite.ai/api/mcp
Then run /mcp, pick nanosite and choose Authenticate.
The full list of supported apps (ChatGPT, Cursor, VS Code and others) is in our connector docs.
Step 2: describe the site you want#
Open a new chat, turn on NanoSite in the tools menu, and describe your business the way you'd describe it to a friend. Be specific about what visitors should do on the site.
A prompt that works well:
Create a website for my bakery in Austin. We sell sourdough, croissants and custom birthday cakes. I want a home page with our story, a menu page with prices, and a page where people can request a custom cake order. Warm colors, nothing fancy.
Claude creates the project in NanoSite, writes the pages and gives you a draft link. Open it on your phone too. Most of your visitors will.
Step 3: change things by asking#
This is where building with Claude feels different from a drag-and-drop editor. You don't hunt for the right panel. You say what's wrong:
- "The headline is too long, make it one line."
- "Add our opening hours to the footer: Tuesday to Sunday, 7am to 3pm."
- "Make an image of a sourdough loaf on a wooden board for the menu page."
Each change lands on the draft, and you can check it before anything goes public.
Step 4: add products (if you sell online)#
If you want to take orders, ask Claude to turn the site into a store and add your products: names, prices, photos and stock. Payments and checkout are built in, so there's no plugin to set up. You can also manage orders from the same chat later, for example "show me today's orders".
Step 5: publish on your own domain#
When the draft looks right, ask Claude to publish. NanoSite runs a build check first and only publishes if it passes. You can connect your own domain from your NanoSite account, and hosting and SSL are included.
What it costs#
You can build and preview for free, and every new account gets a 3-day trial with no credit card. To keep a site live after that you need a plan: the Website plan is $9 a month, and store plans start at $29 a month. Current prices are on the pricing page.
Things to know before you start#
- Claude doesn't see your password or card details. The connector signs in with OAuth, so you approve access on NanoSite's own page, and you can revoke it any time under Account settings → Connected apps.
- You can switch between chat and the editor. Everything Claude builds is a normal NanoSite project, so you can open it in the NanoSite AI builder whenever you prefer.
- ChatGPT works too. The same connector works in ChatGPT. We wrote about running a store from any AI app here.
If you want to see what the setup looks like before you try it, the Claude website builder page walks through it with a sample chat.