# The website builder for Gemini

Connect PageHub to Gemini and ask for the site you want. Gemini builds
it, you check it, and it goes live on your own domain. You or your client
can keep editing it in a visual editor, no AI needed.

If you searched for a **Gemini website builder**, you probably already
know Gemini can write a website. PageHub is a **website builder for
Gemini**: the part that hosts it, puts it on your domain, and lets people
edit it later. Here's how to **build a website with Gemini** and publish
it.

## Sites built this way

Real client sites built on PageHub and live today. These two were built
with Claude. Gemini connects to the same server and uses the same tools.

- **[Goalposts](https://goalposts.ai)** — went from nothing to published
  in 25 minutes.
- **[DMV Exteriors](https://dmvrestorations.com)** — a roofing and siding
  contractor's site. Sam, the owner, now adds to it himself.

## Can Gemini build a website on its own?

Yes. Gemini can write the code for a whole website. What it doesn't do
on its own is run the site after that: the domain, the hosting, the
forms, and the edits next month.

**Gemini chat and Canvas** can write a full page of HTML, CSS, and
JavaScript from a description, preview it in Canvas, and share it as a
link. It leaves to you:

- Putting it on your own domain. You copy the code out and find a host
- Saving form submissions or SEO settings
- Letting someone else change it without going back to Gemini

**Antigravity** can build a complete code project, run it, test it, fix
it, and commit it to a git repository. It leaves to you:

- Hosting. You pick a host, connect the repo, and set up DNS yourself
- A way for a non-developer to edit it. Changes mean code, or asking an
  AI again

That's fine for a prototype. For a business site, you also need an
address people can find, a form that reaches you, and a way to fix a
typo without starting a new chat.

## What PageHub adds

PageHub is a website builder with an MCP server. Gemini uses it the way
you'd use the editor: it creates the site, adds pages, and publishes, one
tool call at a time.

- **A site, not a single file.** Pages, sections, and a theme you can
  change in one place. Multi-page sites, navigation, and a 404 page.
- **Your own domain.** Gemini attaches the domain and gives you the DNS
  records to add at your registrar. SSL certificates are issued for you.
  On the free plan you can connect 1 domain you own.
- **An editor anyone can use.** Every site opens in a visual editor.
  Gemini sees your edits the next time you ask it for changes.
- **Nothing goes live until you publish.** Everything Gemini writes
  lands in a draft.
- **Forms, collections, and Stripe.** Contact forms that save
  submissions, collections you can fill from a CSV, and a Stripe checkout.
- **Checks before it ships.** Gemini can screenshot any page at phone
  width and run SEO and accessibility audits.

## Connect PageHub to Gemini

The hosted server is `https://pagehub.dev/api/mcp`. It works on every
PageHub plan, including free, and sends Gemini its build rules when it
connects.

**Gemini on the web**

Custom apps in Gemini need a personal Google account in the US, age 18
or over, with Keep Activity on. You add the app on the web, then use it
on the web or in the mobile app.

1. Go to gemini.google.com and open Settings → Connected Apps.
2. Under Custom apps, click Add a custom app and paste the URL below.
3. Click Next, then sign in to PageHub in the window that opens.

MCP server URL: `https://pagehub.dev/api/mcp`

**Antigravity, or any coding app**

Paste the setup prompt from https://pagehub.dev/developers/mcp into
Antigravity. It adds PageHub to its own MCP settings, then gives you a
link to sign in to PageHub. For every step, see
pagehub.dev/build-website-with-antigravity.

## From one prompt to a live site

An example prompt:

```
Use PageHub to build a site for my dog grooming shop, Suds & Paws, in Portland.
3 pages: home, services with prices, and contact with a booking request form.
Warm colors, stock photos that fit, friendly copy.
Show me a phone screenshot before you publish.
When I say go, put it on sudsandpaws.com.
```

What Gemini does with it:

1. **Starts the site** (`list_templates`, `create_site`).
2. **Sets the look** (`suggest_palettes`, `set_theme`). It can show 3
   palette options in the chat first.
3. **Builds the pages** (`add_page`, `apply_kit_block`, `find_image`).
4. **Checks its own work** (`screenshot_site`, `audit_seo`,
   `audit_accessibility`) at phone width, and fixes what it finds.
5. **You review the draft.** Nothing is live yet. Ask for changes, or
   open the editor.
6. **Connects the domain** (`set_domain`, `get_domain_status`) and hands
   you the exact DNS records to add at your registrar.
7. **Publishes** (`publish_site`) when you say go. The SSL certificate
   can take a few minutes to arrive.

## Ways to ship a site you built with Gemini

These are categories, not specific products.

| | Gemini Canvas | Antigravity + git + a host | Paste-HTML hosts | AI app builders | Gemini + PageHub |
|---|---|---|---|---|---|
| Built by the Gemini you already use | Yes | Yes | Gemini writes it, you paste it | Some connect to Gemini | Yes, over MCP |
| On your own domain | No, a share link | Yes, once you set up hosting and DNS | Depends on the host | Depends on the plan | Yes, 1 on the free plan |
| What you end up with | Code in a chat | A code project | An HTML file | An app codebase | A multi-page site in a visual editor |
| Someone can edit it without AI | Only by editing the code | Only if they can edit code | Only by editing the HTML | Mostly through prompts or code | Yes, in the visual editor |
| Forms that save submissions | No | You build or add one | Depends on the host | Often, with a database | Yes, built in |
| Setup | None | Repo, host, build settings, DNS | Copy and paste | An account with the builder | Add a custom app and sign in |

If you want full control of the code and you're happy running the
hosting, Antigravity with a host is a good fit. If the site needs to
live on a real domain and be edited by people who don't write code,
that's what PageHub is for.

## Built for handing sites to clients

- **Your client edits it without Gemini.** The same visual editor, no
  AI account needed.
- **Invite them to the site.** On Pro and up, add clients as editors, as
  many as you need, with no per-seat charge.
- **Every version is kept.** Restore the whole site or a single page.
- **You can take it with you.** Export the site as static HTML on every
  plan.

## What it costs

Connecting Gemini to PageHub is free.

- **Free, $0:** 1 published site on your own domain with SSL, 20 pages
  per site, unlimited drafts, no PageHub branding, no credit card.
- **Pro, $7 per site a month** ($5 when you pay yearly): 300 pages per
  site. Each Pro site adds another published site and domain. Cancel any
  time and sites go back to drafts. Nothing is deleted.

Compare all plans: https://pagehub.dev/pricing

## Questions

### Can Gemini build a website?

Yes. Gemini can write the code for a whole site and preview it in
Canvas, and Antigravity can build a full project. On its own, though, it
doesn't host the site, connect your domain, or give anyone a way to edit
it without AI. With PageHub connected, Gemini builds the site inside a
website builder, so those parts are handled.

### Can I edit a website Gemini built?

Yes. Every site Gemini builds on PageHub opens in the visual editor.
Drag sections around, change colors, swap fonts, and rewrite copy
yourself. Gemini sees your edits the next time you ask it for changes.

### Do I need a paid Gemini plan?

Google doesn't list a paid plan as a requirement for custom apps. You
need a personal Google account (not work or school), to be in the US and
18 or over, and to have Keep Activity on. Outside those limits,
Antigravity is another way to connect.

### Is PageHub free?

The MCP connection works on every plan, including free. The free plan
gives you 1 published site on your own domain, 20 pages per site,
unlimited drafts, and no PageHub branding on the live site. Pro is $7 per
site a month, or $5 when you pay yearly.

### Does it work with my own domain?

Yes. Gemini attaches the domain and gives you the DNS records to add at
your registrar. Once they're in place, SSL is issued automatically, which
can take a few minutes. On the free plan you can connect 1 domain you
own. Each site has one domain.

### Is it safe to connect Gemini to my site?

You sign in through your browser, so you don't paste a password or key
into Gemini. Everything Gemini writes lands in a draft, and the live
site doesn't change until someone publishes. Site history keeps past
versions, so you can restore a page or the whole site.

### Are sites Gemini builds on PageHub good for SEO?

Pages render to HTML on the server, and a site on a custom domain gets
its own sitemap.xml and robots.txt. Gemini can set page titles and
descriptions and run an SEO audit that flags missing titles, headings,
and alt text, then fix them.

### Does it work with AI apps other than Gemini?

Yes. Claude, ChatGPT, Cursor, VS Code's built-in agent, and any agent
that speaks MCP can use the same server. A site one agent started,
another can keep editing.

---

Gemini and Google Antigravity are trademarks of Google LLC. PageHub
isn't affiliated with or endorsed by Google.
