Build a Website with Claude Code in 7 Steps: Prompts and Deploy (2026)

PromoSaver may earn a commission when you sign up or buy through links on this page. It never changes your price.
To build a website with Claude Code, download the free Claude desktop app from claude.com/download, sign in with a paid plan (Pro costs $20 a month, or $17 a month billed yearly) and open the Code tab. No terminal or Node.js needed. Write a one-page brief describing your business, let Claude plan and build the site, then connect Hostinger so you can publish it with one sentence. Below: the brief template, prompts that adapt it to any industry, design sources that keep the site from looking AI-made, and the Hostinger setup.
What do you need before you start?
You need three things: a Claude subscription that includes Claude Code, the Claude desktop app on your computer, and a web host for the finished site. You don’t need any coding experience or a terminal. You do need to read the plan Claude proposes and check the result before it goes live.
| Item | What we found on December 4, 2026 | Notes |
|---|---|---|
| Claude plan | Pro: $17/month billed yearly ($200 up front) or $20 billed monthly. Max: $100/month. | The free Claude plan does not include Claude Code. |
| Claude desktop app | Free download for Windows (x64 and ARM64), macOS, and Linux (beta, Ubuntu and Debian) | Claude Code is built in, so you don’t install Node.js or the command-line tool. |
| Hosting | Hostinger Premium Web Hosting: $1.99/month on a 48-month term ($95.52 up front, Cyber Week price), renews at $10.99/month | Includes 3 websites, 20 GB storage and a free domain for the first year. |
| Hostinger Connector | Free with any Hostinger plan | This is what lets Claude Code deploy for you. |
| Time | About 1 to 3 hours for a first one-page site | Most of that time goes into the brief and the review, not the build. |
Renewal prices matter more than the first-term price on any host. Our Hostinger renewal price breakdown shows what you pay after the promo term ends.
Step 1: How do you install Claude Code?
Download the Claude desktop app from claude.com/download, install it and sign in. Claude Code is built into the app’s Code tab, so there is nothing else to install. On Windows, pick the standard installer for most PCs, the ARM64 build for Snapdragon laptops, or the Microsoft Store version.

- Run the installer, then open Claude from the Start menu (Windows) or the Applications folder (Mac).
- Sign in with the Claude account that has your Pro or Max plan. On the free plan, the Code tab asks you to upgrade.
- Create an empty folder for your website, for example
Documents\my-bakery-site. - Click the Code tab at the top of the sidebar. If the tabs show only icons, hover over them to see the names.
- In the row under the prompt box, set the environment to Local (your computer), click the folder control, choose Open folder… and pick your website folder.
- Pick a model from the model picker at the right of the same row. The default is fine for a first site.
The row under the prompt box holds the settings that matter: the environment, the folder, the permission mode and the model. The permission mode decides how much Claude does without asking. Manual asks before every edit, Accept edits applies file changes on its own, Plan only proposes, and Auto runs low-risk steps and blocks risky ones.
Prefer a terminal? The same Claude Code runs as a command-line tool. On Windows PowerShell run irm https://claude.ai/install.ps1 | iex; on macOS or Linux run curl -fsSL https://claude.ai/install.sh | bash; then type claude inside your project folder. Every prompt in this guide works in both.
Step 2: Why does a written brief matter more than the prompt?
Claude Code builds from what you tell it, and a one-line request leaves almost everything to guesswork: the city, the goal, the colors, the sections, even the address. To show the difference, we ran Claude Code twice on December 4, 2026, for the same made-up bakery. The first run got one sentence. The second got the brief template from the next section. Both screenshots are unedited.

The one-line version isn’t ugly. Current models produce tidy pages by default. But it guessed everything: it put the bakery in “Harbor Town, ST 00000”, picked navy as the main color, spread the page over seven sections and made the order form open the visitor’s email app. The brief version used the bakery’s real city, its four brand colors and the one goal that matters (pre-orders), and it set the prices like a printed menu.
| What changed | One-line prompt | Detailed brief |
|---|---|---|
| Location and details | Invented placeholders (“Harbor Town, ST 00000”) | Portland, Maine, with real-looking hours shown in the hero |
| Main goal | Spread over 7 sections | Every button leads to the pre-order steps |
| Colors and fonts | Chosen by the model | The 4 hex codes and 2 Google Fonts from the brief |
| Layout | Standard landing-page blocks | Menu-style price list with dotted leaders, thin rules between sections |

The website brief template you can copy
Copy this into a file called brief.md inside your project folder and replace everything in square brackets. Keep the section headings: they map to the decisions a designer would otherwise have to guess.
You are building a marketing website for a small business.
Read the whole brief before writing any code.
BUSINESS
- Name: [business name]
- What we do: [one sentence, specific: product, method, place]
- Audience: [who visits, age range, what they want when they arrive]
- Main goal of the site: [ONE action: book a call, pre-order, request a quote, buy]
- Tone: [3-5 words, e.g. warm, plain-spoken, dry humor]. No hype words.
SECTIONS (one page unless stated)
1. Header: [logo type, nav links, main button label]
2. Hero: [promise in one line, supporting line, one primary button]
3. [Offer / services / menu]: [how many items, what each shows]
4. [Proof]: [real reviews, certifications, numbers you can back up]
5. [How it works / process]: [number of steps]
6. [Contact / visit]: [address, hours, map, form fields]
7. Footer: [contact details, social links, legal links]
DESIGN DIRECTION
- The feel: [a physical reference, e.g. "a printed bakery menu", "a law
firm's letterhead", "a surf shop's hand-painted sign"]
- Reference sites I like: [2-3 URLs, and what to borrow from each]
- Colors: background [hex], text [hex], accent [hex], secondary [hex]
- Fonts (Google Fonts or Fontshare): headings [font], body [font]
- Layout: [e.g. left-aligned, asymmetric grid, generous white space]
- Avoid: purple or blue gradients, glassmorphism, emoji icons, centering
everything, "Welcome to..." headings, dark-overlay stock-photo heroes,
three identical feature cards with icons
TECH
- Plain HTML and CSS, minimal JavaScript only if needed
- Mobile-first, works at 360px wide, accessible (AA contrast, alt text,
visible focus states)
- Write real copy from this brief, no lorem ipsum
- Images: [use files in /images, or labeled placeholders for now]
Two lines in this template do most of the work. “Main goal” gives every section a job, so Claude stops adding filler sections. “The feel” gives the design a physical reference point instead of the default look of a software startup’s landing page.
How do you adapt the brief to any industry with AI?
Let an AI interview you, then have it fill in the template. This works for any field because the interview pulls out facts only you know: your prices, your customers’ questions, your hours. Paste this into Claude (the chat app is fine) together with the template above:
I want to build a website for my business. Below is a brief template.
Interview me to fill it in. Rules:
- Ask one question at a time, 12 questions maximum.
- Start with my business, my customers and the ONE action I want
visitors to take.
- When I answer vaguely, ask a follow-up for a specific detail
(a number, a name, a place, a price).
- Suggest a design "feel" based on a physical object from my industry,
and 3 colors with hex codes that fit it. Explain each choice in a line.
- Never invent facts about my business. Mark anything I haven't
confirmed as [TO CONFIRM].
- At the end, output the completed brief in the same format.
[paste the template here]
If you’d rather start from an example, these industry starting points work as the “Main goal” and “The feel” lines. Change them to match your business.
| Industry | Main goal | Sections that earn their place | “The feel” to try |
|---|---|---|---|
| Dental clinic | Book an appointment | Treatments with prices or ranges, insurance accepted, dentist profiles, booking | A calm, well-lit waiting room: soft neutrals, rounded shapes, lots of space |
| Law firm | Request a consultation | Practice areas, case results you’re allowed to publish, attorney bios, intake form | Engraved letterhead: serif headings, ink and cream, strict grid |
| Restaurant | Reserve a table | Menu with prices, hours, location, private events | The restaurant’s printed menu and signage |
| Yoga or fitness studio | Book a first class | Class schedule, intro offer, teachers, what to bring | A class timetable pinned on a studio wall |
| Real estate agent | Request a home valuation | Recent sales, neighborhoods, valuation form, reviews | A glossy property brochure with big photos and thin type |
| SaaS or app | Start a free trial | One-line value, product screenshots, pricing, FAQ | The product’s own interface, shown large and real |
| Photographer | Request a quote | Portfolio by category, packages, process, contact | A gallery wall: photos first, text small and quiet |
Step 3: How do you get Claude Code to plan before it builds?
Switch the permission mode to Plan, then ask for a plan that names the sections, type scale and color roles before any code is written. The mode selector is in the row under the prompt box. In Plan mode, Claude reads your files and proposes an approach, but it doesn’t edit anything until you approve.
Read brief.md and build the one-page website it describes. Before writing
any code, show me your plan: sections, type scale, how each color is used,
and anything in the brief you think is unclear.

The last request, “anything in the brief you think is unclear”, is the most useful line in the prompt. In our runs, Claude listed the gaps with a proposed default for each: where pre-orders actually go, which facts were missing, a duplicate “Pre-order” link, and the fact that two of the brand colors fail contrast rules when used as text.

Answer those points in plain words, then approve the plan. Switch the mode to Manual for your first project so Claude asks before each edit and you see a diff of every change. Once it finishes, a counter such as +120 -0 appears; click it to review the changes file by file.
To see the result, click index.html in the chat: the desktop app opens it in its built-in Browser pane, next to the conversation. To point at a problem, drag a screenshot into the prompt box (or attach it with the + button) and describe what’s wrong.
Step 4: How do you keep the site from looking AI-made?
Give Claude real design references and a list of patterns to avoid. Most “AI look” comes from defaults that appear when nobody made a choice: a purple-to-blue gradient hero, one sans-serif font everywhere, three identical cards with icons, emoji used as icons, everything centered, and copy that starts with “Welcome to” or “Unlock”. The brief’s “Avoid” line removes those. References replace them with choices a human designer made.
Where to find design references
These galleries collect sites made by human designers and studios. Browse by industry or layout, save 2 or 3 pages you like, and write down what you like about each one: the grid, the type, the spacing, the photo style.

| Source | Best for |
|---|---|
| Godly (godly.website) | Bold, experimental sites; motion and type ideas |
| Land-book (land-book.com) | Landing pages filtered by type, plus separate collections of sections and mobile views |
| Siteinspire (siteinspire.com) | Restrained, typographic sites from agencies and studios, with filters by subject and style |
| Minimal Gallery (minimal.gallery) | Clean portfolio, studio and e-commerce sites |
| One Page Love (onepagelove.com) | One-page sites, which is what most small businesses need first |
| Lapa Ninja (lapa.ninja) | A large library of landing pages, searchable by category |
| Awwwards (awwwards.com) | Award-winning sites, scored by a jury, with filters by category |
| Refero (refero.design) | Screens and user flows from real products, useful for SaaS and apps |
Fonts and colors that don’t come from a default

- Fontshare (fontshare.com): free fonts from the Indian Type Foundry that are far less common than the usual Google Fonts picks.
- Typewolf (typewolf.com): shows which fonts real sites use and which pairs work together, with examples.
- Google Fonts (fonts.google.com): the easiest fonts to load. Pick one with character for headings and a plain one for body text.
- Realtime Colors (realtimecolors.com): try a palette on a sample website before you commit to it.
- Coolors (coolors.co): generate and save palettes, then paste the hex codes into your brief.
The reference prompt: borrow principles, not pages
Save a screenshot of a site you like into your project folder (or drag it into the prompt box). Ask it to extract the design system, not to copy the page. Copying someone’s layout, text or images can break their copyright, and a copied page looks wrong for your business anyway.
Look at refs/reference-1.png. Describe its design system as a list:
grid and column widths, type scale, font roles, spacing rhythm, how color
is used, photo style, and the one detail that makes it feel distinctive.
Then apply those principles to my site. Do not copy its text, images,
logo or exact layout. Tell me what you changed and why.
A self-review prompt for the final pass
Act as a senior web designer reviewing this site for a client. List the
10 things that make it look template-made or AI-generated, most obvious
first, with the file and line for each. Then fix the top 5 and show me
what you changed.
Real photos do more than any prompt. A phone photo of your actual storefront, team or product looks more trustworthy than a stock image. Put them in an images folder and tell Claude to use them and to compress them to WebP.
Step 5: Which prompts finish the site before launch?
Run these one at a time after the first build. Each one asks Claude to list problems before fixing them, so you can see what changes.
- Mobile: “Check every section at 360px, 768px and 1280px wide. List layout problems first, then fix them.”
- Accessibility: “Check color contrast against WCAG AA, alt text on every image, heading order and keyboard focus. Fix what fails.”
- SEO basics: “Add a unique title and meta description, one H1, Open Graph tags, a favicon, robots.txt and sitemap.xml. Add LocalBusiness schema in JSON-LD using only the details in brief.md, and mark anything missing as TODO.”
- Speed: “Convert images to WebP at the size they’re shown, lazy-load images below the fold and remove unused CSS and JavaScript.”
- Contact form: “Make the contact form work on Hostinger shared hosting with a small PHP script that emails me, a honeypot field against spam and a thank-you message.”
- Placeholders: “List every placeholder, invented fact and TODO left in the site.”
Run the placeholder prompt last, and read its answer carefully. In both of our test builds Claude invented an address, a phone number and a story detail where the brief had none, and said so in its summary. That’s useful while drafting, but none of it should reach a live site.
Step 6: How do you connect Hostinger to Claude Code?
Install Hostinger’s official plugin with one command, then sign in to Hostinger once in your browser. No API key and no Node.js are needed. Hostinger publishes it in Anthropic’s official plugin marketplace, and hPanel shows the exact command under API → Connect your tools → Claude Code.

- In hPanel, open API in the sidebar (under Dev tools), choose Claude Code and copy the command from the Manual setup tab. It is:
/plugin install hostinger@claude-plugins-official - Paste it into the Claude Code prompt box (in the desktop app’s Code tab or in the terminal) and press Enter.
- Start a new session (or reload Claude Code) so the plugin loads.
- Ask: “List my Hostinger websites.” On first use your browser opens Hostinger’s sign-in page. Log in and approve the connection once.

The plugin connects Claude to Hostinger’s hosted server at https://mcp.hostinger.com and adds seven deploy skills: static sites, Node.js apps, WordPress sites, plugins and themes, plus static and PHP sites on the Agency plan. According to Hostinger’s documentation the server exposes 372 tools across websites, domains, DNS, VPS, mailboxes, e-commerce and WordPress.

Other ways to connect, if the plugin doesn’t suit you:
- Custom connector: in the Claude app, open Customize (or Plugins) → Connectors → + Add → Add custom connector, and enter
https://mcp.hostinger.com. - Terminal command:
claude mcp add --transport http --scope user hostinger https://mcp.hostinger.com, then type/mcpand sign in. - API token (for scripts and CI): hPanel → API → API tokens tab → generate a token and set it as
HOSTINGER_API_TOKEN. Treat it like a password: never paste it into a chat or commit it to a repository.
Use one method, not several. You can see and revoke connected assistants in hPanel under API → Connected agents.
Using a code editor instead? Hostinger also publishes a “Hostinger Connector” extension for VS Code, Cursor, Windsurf and Antigravity.
Step 7: How do you publish the site with one command?
Ask Claude Code in plain English to deploy the folder to your domain. Hostinger’s deploy tool detects what the project is (static HTML, PHP, Node.js or WordPress) and handles the upload itself. A plain HTML site like the one in this guide is live as soon as the command finishes.
Deploy this folder to Hostinger as a static HTML site on [yourdomain.com].
Show me the target website and domain and wait for my OK before uploading.
After it's live, check that SSL is active and that HTTP redirects to HTTPS.
A deploy overwrites the website’s current files and can’t be undone. Hostinger’s own tool description says so and tells the assistant to confirm the domain first. If the domain already has a site, back it up in hPanel before you deploy, or test on the free temporary subdomain Hostinger gives new websites.
Other requests that work once you’re connected:
| You want to | Ask Claude Code |
|---|---|
| Create a new site on your plan | “Set up a new empty website on my Hostinger plan using a free temporary subdomain.” |
| Check a domain name | “Check if [name].com is available. Don’t buy anything.” (Make purchases yourself in hPanel.) |
| Update content | “Change Saturday hours to 8 am to 1 pm, then redeploy to [yourdomain.com].” |
| Fix HTTPS | “Check the SSL status for [yourdomain.com] and install a certificate if it’s missing.” |
| Clear the cache after a change | “Clear the Hostinger cache for [yourdomain.com].” |
| Deploy on every Git push | “Deploy my GitHub repository [user/repo] to [yourdomain.com] as a static site.” (GitHub must be connected once in hPanel.) |
Keep permission prompts on for anything that touches your live site or your billing. You can revoke the Connector’s access at any time from your Hostinger account.
Who should not build a site this way?
This method suits one-page and small multi-page sites: local businesses, portfolios, landing pages, event pages. It’s a poor fit in three cases:
- Someone else will update the content every week. A blog or news site edited by people who won’t use Claude Code is easier to run on WordPress, which Hostinger also installs.
- You need a full online store. Payments, stock and taxes are better handled by a store platform than by hand-written code.
- You won’t review what it builds. Claude Code’s own security notes say Claude can make mistakes and that you’re responsible for its actions. Read the plan, check the placeholders and test the form before you share the link.
For everyone else, the order that works is: brief, plan, build, review, deploy. The brief is the step that decides whether the site looks like your business or like everyone else’s. If you’re also comparing hosts for a bigger project, our Hostinger review covers plans and limits, and the n8n on a Hostinger VPS guide shows what a VPS adds when a shared plan isn’t enough.
Frequently asked questions
Do I need to know how to code to build a website with Claude Code?
No. You describe the site in plain English in the Claude desktop app and Claude Code writes the HTML and CSS. You don't need a terminal. You do need to read the plan Claude proposes and check the result before you publish.
Is Claude Code free?
No. Claude Code needs a Pro, Max, Ultra, Team or Enterprise plan, or a Console (API) account. On December 4, 2026, Pro cost $20 a month, or $17 a month billed yearly. The free Claude plan does not include Claude Code.
Does the Hostinger plugin for Claude Code cost extra?
No. Hostinger's plugin and Connector are free and work with the services already in your Hostinger account. You only pay for the hosting plan itself.
Will Google rank a website built with AI lower?
Google's published guidance rewards helpful, original content no matter how it was produced, and treats content made mainly to manipulate rankings as spam. Real business details, your own photos and accurate information matter more than the tool you used.
Can I move the site to another host later?
Yes. A site built this way is a folder of plain HTML, CSS and image files, so you can upload it to any web host. Only the deploy step and the PHP contact form, if you added one, depend on the host.
Can Claude Code build a WordPress site instead?
It can, and Hostinger's Connector can install WordPress, plugins and themes. If other people will edit the content every week without using a terminal, WordPress is usually the easier choice to maintain.
Sources
- Claude: Download the desktop app
- Claude Code Docs: Get started with the desktop app
- Claude Code Docs: Desktop application
- Claude Help Center: Custom connectors using remote MCP
- Claude Code Docs: Advanced setup (system requirements and install)
- Claude Code Docs: Quickstart
- Claude Code Docs: Connect Claude Code to tools via MCP
- Claude: Plans and pricing
- Hostinger plugin for Claude Code (GitHub)
- Hostinger Connector
- Hostinger Documentation: Hostinger Connector overview
- Hostinger API MCP server README (GitHub)
- Hostinger: Web hosting plans
- Google Search Central: Guidance about AI-generated content
Checked December 4, 2026.



