Guide
How to start a website with Claude
Claude Code is an AI agent that can read the files of a website, change them and run the commands needed to build it. You tell it what you want in plain language. This guide covers what you need, how to get going and how to keep the result under your control.

What you need before you start
- A paid Claude plan. Claude Code is not included in the free plan. It comes with Pro, Max and the team plans.
- A project folder. This is the folder that holds your website's files. If you bought one of our Astro templates, it is the folder you downloaded from GitHub.
- Somewhere to run it. The easiest for a beginner is the Claude desktop app.

The simplest way in: the desktop app
- Install the Claude desktop app and sign in.
- Open the Code tab.
- Choose Local, then Open folder, and pick your project folder.
- Type what you want.
You do not need to install anything else to use the Code tab. Claude Code also runs in a terminal, in code editors such as VS Code, and on the web at claude.ai/code, where it works on a copy of your project stored on GitHub. They all work the same way, so start with whichever feels least intimidating.
Tell it about your project once
Claude reads a file called CLAUDE.md at the start of every session. It is a plain text file in your project folder where you write what it should always know: what the site is for, which fonts and colours to use, what not to touch.

You can ask Claude to write a first version by typing /init. Keep it short. Anthropic suggests staying under 200 lines.
Understand what it is allowed to do
Claude Code has modes that decide how much it does without asking.
- In the most careful mode it asks before it edits a file or runs a command.
- In Plan mode it reads your project and proposes what it would do, and changes nothing until you approve.
- Other modes let it work with fewer interruptions.
If you are new, start in Plan mode for anything larger than a small fix. Read the plan, then let it go ahead.

Habits that make the work go well
These come from Anthropic's own guidance.
- Be specific. "Make the pricing page heading match the home page heading" works better than "fix the pricing page".
- Show it the design. Paste a screenshot, or connect your Figma file so it can read the real colours and sizes.
- Give it a way to check its work. Ask it to open the page and confirm the change is there.
- Watch the first minute. If it starts in the wrong direction, press Esc to stop it and say what you meant.
- Start fresh between unrelated tasks. Type
/clearso the last job does not confuse the next one. - Review before you keep. Look at what changed before you save it to your project's history.
If something goes wrong you can type /rewind to step back. It is a safety net, not a replacement for saving versions of your project properly.
Connecting your other tools
Claude Code can connect to other software through MCP, a standard for linking AI tools to other products. Figma, Webflow and Sanity all offer one. Anthropic's advice is to connect only servers you trust, because a connected tool can act on your behalf.
Why a template helps
An AI agent starting from an empty folder has to decide everything: fonts, colours, spacing, page structure. It decides slightly differently each time you ask. Starting from a finished template gives it a design to follow, so your tenth request looks like it belongs with your first.



