How to create a website with AI, in practice, is a design-first walk: you pick a finished look, give an AI coding tool the prompt written from that look, put your own content in, adjust the details, then deploy the project to a live URL. This walkthrough follows one real template, DJ Zak, all the way through. For an overview of approaches, rather than this single path, see how to use AI to build a website.
What you need
- An AI coding tool you already use: Claude, Codex or Cursor are enough for this walkthrough.
- A free uberdesigner account if you want to copy the DJ Zak prompt (personal use; see license). The Vite + React project and the Figma file for this template come with a monthly or yearly plan.
- Node.js on your machine, so you can run the Vite project locally once it exists.
- Your own words and images: the artist's name, a short bio, track or project titles, and photos you're allowed to use.
- A host for a static Vite site. Vite's own static deploy guide lists official steps for several hosts, including GitHub Pages, Netlify and Vercel. Check that host's current terms before you publish.
You don't need to design the layout from scratch, and you don't need this particular template. DJ Zak is a useful first project because it's a free, multi-section site with a clear visual idea: a dark page, one orange family, and a hero photo that ripples under the cursor.
How to create a website with AI, from a template to a live URL
The five steps below follow DJ Zak from a finished design to a URL you can open. You can swap in another template at step 1 and keep the same order.
Step 1: Pick a design
Open the DJ Zak page and watch the preview before you copy anything. Notice the decisions already made: Mona Sans and Geist, black with oranges #FF630F, #EA4F16 and #F6AF60, a name that rises letter by letter, a rippling portrait, then the later sections (the record, the dates, the close).
If this isn't the right kind of site, pick another finished design first and stay with it for the rest of the steps. Starting from a designed reference, rather than a one-line description, is the difference this walkthrough is built on. When a template is the right starting point, and when it isn't, is in should you use a template to build a website.
Step 2: Open it in your AI tool
On the template page, copy the prompt (a free account can copy prompts from up to three different free templates in any 24 hours, for personal use). Paste it into a new Claude, Codex or Cursor session and let the tool build the project from that prompt.
If you have the Vite + React project from a monthly or yearly plan, download it and open that folder in the same tool instead. The project is the site from the preview, which is useful when you want to edit a working tree rather than rebuild it. The project on a monthly or yearly plan is a Vite + React project; more on that stack is in React + Vite website templates.
Run the local dev server when the files are in place, and compare what you see with the template preview. If a section is clearly off, fix that section before you change any content.
Step 3: Replace the content
Swap the template's words and images for yours, one section at a time:
- The artist or site name, the hero line and the main button.
- The biography or about copy.
- Titles, dates and any list of work.
- Photographs and stills, using your own files and the same placements.
Ask the tool to change only the content in the section you're looking at. Leave type, colour and motion alone in this step. A request that rewrites the look and the words together is how a specific design drifts back toward the average.
Step 4: Adjust the design
Now change only what should be yours. Examples that stay scoped:
- Swap a photograph and ask the tool to recrop it to the same frame.
- Nudge a type size or a spacing value, then check the page.
- Turn down or remove a motion if it gets in the way of the content.
If you have the Figma file (on a monthly or yearly plan for this template), use it as the reference for these tweaks so the code has something exact to match. Don't ask for a new "more premium" look. If you want a different design, go back to step 1 and pick a different template.
For a wider note on what happens when people design in the prompt instead of from a reference, see how to vibe code a website that doesn't look vibe coded.
Step 5: Deploy
Build the static site with Vite's production build, then follow the official steps for your host in the Vite static deploy guide. Typical last checks, before the URL goes out:
- Titles, meta descriptions and a social image
- The homepage and one inner section on a phone
- Forms, links and any analytics you actually use
- Motion with reduced-motion enabled
- Image sizes and the fact that your own assets, not the template's, are the ones in the build
When the host gives you a URL, open it in a private window and walk the same path a stranger would. That URL is the end of this walkthrough.
What AI still can't do for you
It won't decide what the site is for, or whether the design you picked is the right one. It won't know if a photo is yours to use, if a claim is true, or if the text colour passes contrast on the background you chose. It also won't tell you when the page is finished; if the same request has been made three times and still isn't right, change the file yourself or go back to a clearer reference.
The tool is there to rebuild a design and to apply scoped edits. The choices, the content and the last look at the live URL stay with you.
A free account lets you copy prompts from up to three different free templates in any 24 hours, for personal projects. Commercial and client work needs a monthly or yearly plan, and prices depend on the country you pay from (pricing). DJ Zak is one starting point; the rest of the library is organised the same way: a prompt, and, on a monthly or yearly plan, the Vite + React project and a Figma file where the template page offers one.
FAQ
How do I create a website with AI if I can't design?
Pick a finished design, give your AI coding tool the prompt written from it, then replace the content and deploy the project. You still choose the design and the words; you don't have to invent the layout.
Do I need to know how to code?
No, not to get a first rebuild running. Knowing how to read the files helps when something breaks, and you'll need a host and a local run of the Vite project to follow this walkthrough to a live URL.
Can I use a free template for a client or a business site?
Not on a free account. A free account is for personal use only, which doesn't include work that promotes a business or is made for someone else (license). Commercial and client work needs a monthly or yearly plan.
How long does this walkthrough take?
It depends on how much content you already have and how many design tweaks you make. The build is usually the short part; writing, sourcing images and checking the live URL take longer. We don't quote a fixed time.