TL;DR
- Yes, Claude can deploy a website by itself once it has a connector that hosts apps. On Naive it checks a domain, buys it after you approve, deploys the site and points the domain at it.
- Checking whether a domain is free and what it costs is free. The price is shown before anything is bought, and buying a domain always asks a person first by default.
- A hosted app is $0.01 a day. A full-stack app with its own Postgres database, storage and server routes adds $0.33 a day ($9.90 per 30 days). Each deploy is $0.10.
- A domain bought through Naive needs no registrar step: connecting it to the app publishes the records for you. The same domain can carry an inbox, so the agent sends mail from hello@yourdomain.
- Hosting, buying domains and sending to other people need a first $10 top-up. New keys come with $1 of free credit, no card, which covers checks and setup but not hosting.
Tools used in this post
Yes, Claude can deploy a website to your own domain, as long as it has a connector that can host apps and buy domains. Naive is an API and MCP server that gives AI agents hosted apps, domains, inboxes and approvals, billed from one prepaid balance. With Naive connected, Claude checks whether a domain is free and what it costs, buys it after you approve, deploys a static site or a full-stack app with its own Postgres database, and points the domain at it. Hosting starts at $0.01 a day, each deploy is $0.10, and the domain is billed at its registration price, shown before you buy. You need a first $10 top-up before the agent can host or buy; the $1 of free credit on a new key covers checks and setup.
Most hosting connectors for Claude only attach a domain you already own. Naive lets the agent buy the domain, host the app with its own database, and send email from the same domain, with a person approving the money.
Definitions: an app is a hosted web application at its own URL; frontend_only is a static or client-rendered site, fullstack adds a managed Postgres database, file storage and server routes. A domain is a name your workspace owns, either bought through Naive or connected from your registrar. An approval is a call held until a person says yes.
This guide walks the whole path in the order an agent runs it: check and buy a domain, create and deploy the app, add a database, connect the domain, and send email from it. Then the costs, the limits, and when you should host somewhere else.
Can Claude deploy a website by itself?
Claude is good at writing a site. What it lacks out of the box is a place to put it. The answer depends on which Claude you use:
| Where you use Claude | Can it put a site online? | Your own domain? |
|---|---|---|
| Chat, with artifacts | Yes, as a shareable page on Claude's domain | No |
| Claude Design | Yes, by publishing to a hosting partner | Only one you already own, through DNS |
| Claude Code | Yes, through any host's CLI it has credentials for | Only one you already own, through DNS |
| Chat or Claude Code with a static-host MCP server | Yes, static files | Only one you already own, through DNS or a CNAME |
| Chat or Claude Code with Naive | Yes, static or full-stack with Postgres | Yes: it can buy one after you approve, or connect yours |
Claude cannot register a domain, run a database or send mail from your domain on its own.
Connect Naive's MCP server and that changes. In Claude, add a custom connector with the URL https://mcp.usenaive.ai/v1/mcp and sign in. ChatGPT takes the same URL in its connector settings. Then one message is enough:
Check whether shipfromclaude.com is free. If it costs under $15, buy it. Build a one-page site for my product, deploy it there, and email me from hello@ when it is live.
Claude runs the same calls you would make from code: a free domain check, a purchase, an app, a deploy, a domain connection and an inbox. Who confirms what depends on where the call comes from:
| Step | What the agent calls | In Claude (MCP) | From your code (SDK, CLI, HTTP) | Cost |
|---|---|---|---|---|
| Check the domain | domains.quote | No confirmation | No | Free |
| Buy the domain | domains.purchase | You confirm in Claude, then approve in the Naive console | Held for approval by default | The quoted price |
| Create the app | apps.create | No confirmation | No | $0.01 a day (+$0.33 with a database) |
| Deploy | apps.deploy | You confirm each deploy | No | $0.10 per deploy |
| Connect the domain | apps.connectDomain | You confirm | No | Free |
| Send email | emails.send | You confirm every send | Your rule decides | $0.0008 per email |
In Claude, every call that spends money, publishes or sends asks you each time, and you can never allow one for the whole chat. Running SQL and setting secrets ask too. The purchase is approved twice: once in Claude, and once by the Buy a domain rule in the Naive console, which holds it for any caller until an owner or admin says yes.
How does the agent check and buy a domain?
Checking is free and read-only. The Domain search tool and the quote route both return whether the name is available, its tier, its first-year price and its renewal price.
We ran three checks against production on 2026-11-26 with a developer key:
| Name checked | Result | First year | Renewal | Round trip | Cost |
|---|---|---|---|---|---|
| acmelabs.dev | Taken | — | — | 0.70 s | $0.00 |
| agentlaunchpad.dev | Available | $8.20 | $12.20 | 0.53 s | $0.00 |
| shipfromclaude.com | Available | $11.17 | $11.17 | 0.73 s | $0.00 |
Note the second row: some names cost less in the first year than at renewal. The quote shows both, so the agent can tell you before it buys.
Set up once before running the code below:
npm i @usenaive-sdk/naive # the TypeScript SDK
export NAIVE_API_KEY=nv_... # createNaive() throws without it
npm i -g @usenaive-sdk/cli && naive auth login # for the CLI
naive credits topup --usd 10 # the first top-up that unlocks hosting and domainsWith the TypeScript SDK:
import { createNaive } from "@usenaive-sdk/naive";
// "wait" holds a call that needs approval until a person decides, then returns the result.
const naive = createNaive({ approvals: "wait" });
const taken = await naive.domains.quote("acmelabs.dev");
console.log(taken.available, taken.reason); // false "domain_unavailable"
const quote = await naive.domains.quote("shipfromclaude.com");
if (!quote.available || quote.registration_price_micro_usd === null) throw new Error("not for sale");
console.log(`$${quote.registration_price_micro_usd / 1e6} for the first year`);
const domain = await naive.domains.purchase({
name: quote.name,
max_price_micro_usd: quote.registration_price_micro_usd, // never pays above this
});With the CLI:
naive domain quote shipfromclaude.com
naive domain purchase shipfromclaude.com --max-price-micro-usd 11170000Three safeguards sit on the purchase:
- It asks first. The Buy a domain rule (
domain.buy) defaults to always ask, for a key and for Claude alike. The call is held until an owner or admin approves it under Approvals in the developer console. Withoutapprovals: "wait"the SDK throws anApprovalRequiredErrorcarrying the pending approval, so your code can show it instead of blocking. See How to add human approval to an AI agent. - It has a ceiling. The live price is checked again right before the purchase. A premium name, or a price that rose above
max_price_micro_usd, is refused. - It is paid from your balance. No card is accepted or sent anywhere. Automatic renewal is off, so nothing renews behind your back.
How does the agent create and deploy the app?
An app is a workspace resource, like a domain: no single agent owns it, and it outlives any session. Create one, then ship its files in a single call. Text files go as UTF-8; images go as base64.
const site = await naive.apps.create({ name: "landing", type: "frontend_only" });
let deployment = await naive.apps.deploy(site.id, {
"index.html": {
content: "<!doctype html><title>Ship from Claude</title><h1>We are live</h1>",
encoding: "utf8",
},
});
// The build runs after the reply: poll until it is ready.
while (deployment.status === "queued" || deployment.status === "building") {
await new Promise((r) => setTimeout(r, 3000));
deployment = (await naive.apps.deployments(site.id, { limit: 1 })).data[0]!;
}
console.log(deployment.status, deployment.url);naive app create landing --type frontend_only
naive app deploy app_... ./site
naive app deployments app_...The CLI's deploy reads a whole folder and sends a content hash with it, so an unchanged site can be skipped next time. Every deploy, a redeploy of an earlier version included, is $0.10. The platform keeps each deployment's files, so naive.apps.redeploy(site.id, "apd_...") rolls back without uploading anything.
App names are lowercase DNS labels (letters, digits and hyphens), unique in the workspace, and create is idempotent on the name: asking twice returns the same app. Until a domain is connected, the app answers on a platform hostname in its url.
How do I add a database?
Pick fullstack instead and the app gets its own managed Postgres database, file storage and server routes. The connection string is pushed into the app's environment as soon as the database is ready, so the agent never handles it.
const app = await naive.apps.create({ name: "waitlist", type: "fullstack" });
// status is "provisioning" until the database is up; poll naive.apps.get(app.id).
await naive.apps.query(app.id, `
create table if not exists signups (
id serial primary key,
email text unique not null,
created_at timestamptz default now()
)`);naive db query "select count(*) from signups" --app waitlistSecrets go in with naive.apps.setSecret(app.id, { name: "MY_TOKEN", value }). They are write-only: the value reaches the app's environment and never comes back on any read. The platform manages the database variables itself, so an agent cannot overwrite them by mistake. More in the apps docs and on the Database primitive.
How do I use a custom domain for an AI app?
Connecting points a domain your workspace already has at the app. It never registers one. Connecting and setting secrets are done through the SDK, MCP or HTTP; the CLI only lists an app's domains and secrets, it does not change them.
await naive.apps.connectDomain(site.id, domain.id);
const links = await naive.apps.domains(site.id);
console.log(links.data.map((d) => `${d.domain}: ${d.status}`)); // pending, then connectednaive app domains app_...What happens next depends on where the domain came from:
| Domain kind | Who publishes the hosting records | What you do |
|---|---|---|
Bought through Naive (purchased) | Naive, on connect | Nothing. Poll until connected. |
Yours at another registrar (external) | You | Add the records Naive returns at your registrar, then verify. |
To bring a domain you already own, connect it with naive.domains.create({ name: "yourcompany.com", kind: "external" }), add the returned records at your registrar, and run naive.domains.verify(id) until it passes. The domain docs list every record and state.
Once it is connected, check it from the agent with the Developer utilities: ssl-check and dns-lookup are $0.032 a call, uptime-check is $0.022.
Can the agent send email from the same domain?
Yes. A domain has two separate readiness tracks: one for serving the app over HTTP and one for mail. Being connected to the app says nothing about mail, so verify the domain for email before creating an inbox.
const hello = await naive.identities.create({ name: "hello" });
await naive.domains.verify(domain.id); // re-runnable; sending needs dns_status "provisioned"
const inbox = await naive.emails.create(hello.id, { address: "hello@shipfromclaude.com" });
await naive.emails.send(hello.id, inbox.id, {
to: ["you@example.com"],
subject: "We are live",
text: "https://shipfromclaude.com is up.",
});For a purchased domain, verify publishes the mail records for you, the same way connecting published the hosting ones. A send before the records are live comes back as a retryable job_not_ready, never a lost message. Each email is $0.0008. The full inbox walk-through, including reading replies, is in How to give Claude or ChatGPT its own email inbox, and the identity the inbox belongs to is explained in Give your AI agent its own identity.
Where can I host an app Claude built?
Anywhere that takes its files. If you already have a host and a deploy pipeline, have Claude or Claude Code use it. Host it on Naive when you want the agent to do the whole path itself: buy the domain, create the app with a database, deploy, connect the domain and send mail from it, with a person approving the money. Static sites, client-rendered apps and full-stack apps with Postgres all run as a Naive app.
What does it cost?
Every price is debited from your prepaid Naive balance:
| Item | Price |
|---|---|
| Domain check | Free |
| Domain | Its registration price, shown before you buy |
| App, any type | $0.01 per day |
Database, storage and server routes (fullstack) | $0.33 per day, about $9.90 per 30 days |
| Each deploy or redeploy | $0.10 |
| Secrets, SQL, storage calls, connecting a domain | Free |
| Email sent from the domain | $0.0008 each |
A worked month, using the real quote above: shipfromclaude.com for $11.17, a static site for 30 days ($0.30) and ten deploys ($1.00) comes to $12.47, with the domain paid for the year. Make it a full-stack app and the 30 days of hosting become $0.30 + $9.90 = $10.20, so $22.37 in total.
The first day of an app is charged when it is created, then each day after. If the balance runs out later, the app keeps running, but new creates and deploys are refused with insufficient_credits.
What are the limits?
- Funding. Creating apps, deploying and buying domains need a funded workspace: a first top-up of $10 or more. The $1 free credit covers domain checks (which are free anyway), data tools and identities.
- App counts. 10 apps per workspace, 3 of them
fullstack. 20 app creates and 50 deploys in any 24 hours. - Deploy size. 5,000 files, 4 MiB per file, 100 MiB per deploy.
- Domains. Premium names are refused. Automatic renewal is off, so renew deliberately. A registered domain cannot be deleted through the API.
- Payments. Store checkout is not available to developer workspaces.
When not to use Naive
- You already have a deploy pipeline you like. If your team ships from CI to an existing host, keep it. The value here is an agent doing the whole path, domain and approvals included, without you wiring anything.
- You need a large or long-running backend.
fullstackapps are sized for sites, dashboards and small products: three per workspace, one managed database each. A service with heavy compute or many databases belongs on infrastructure you run. - You need a premium domain or a registrar's extra services. Premium names are refused and auto-renew is off by design.
- You only want a page to share for a day. A shareable page from your chat tool is free and faster; buying a domain for it is overkill.
Ship a site from Claude
Every action and price for hosted apps is on the App resource page, next to the Domain and Inbox resources and the Apps and Domains primitives. For the whole developer platform, see Naive for developers.
- Get a key with $1 free credit, no card: developers.usenaive.ai/signup. The $1 covers domain checks and setup. Top up $10 in the console, or run
naive credits topup --usd 10, before the agent hosts a site or buys a domain. - Hand your agent:
set up https://usenaive.ai/developers/skill.md
Then ask Claude to ship your site.
FAQ
- Can Claude deploy a website by itself?
- Claude writes the code, but it needs somewhere to host it. Chat artifacts are shared on a Claude URL, and Claude Code deploys only to a host you have already set up. Connect Naive's MCP server (https://mcp.usenaive.ai/v1/mcp) in Claude and it can create a hosted app, deploy files to it, buy a domain after you approve, and connect the domain to the app, all in one conversation. Claude asks you to confirm each deploy, purchase and email.
- Can I put a Claude artifact on a custom domain?
- Not directly. A published artifact lives on Claude's own domain. To serve the same page on your domain, have Claude deploy the code as a hosted app on Naive and connect a domain you bought through Naive or already own.
- Can Claude Code deploy a website?
- Yes. Claude Code can run any deploy command it has credentials for. With the naive CLI or the TypeScript SDK it can also buy the domain, add a Postgres database and set up an inbox from the same terminal.
- Where can I host an app Claude built for free?
- Claude's own shareable pages are free but stay on Claude's domain. On Naive a hosted app is $0.01 a day, so a static site costs about $0.30 a month plus $0.10 per deploy, after a first $10 top-up.
- Can an AI agent buy a domain name?
- Yes. The agent checks availability and the one-year price for free, then buys with a maximum price it will not pay above. The purchase is paid from your Naive balance, never a card, and by default it waits for a person to approve it. Automatic renewal is off.
- How much does it cost to host an app Claude built?
- A hosted app is $0.01 per day it exists. A full-stack app with its own Postgres database, file storage and server routes adds $0.33 per day, about $9.90 per 30 days. Each deployment is $0.10. Secrets, SQL, storage calls and connecting a domain are free.
- Can I use a domain I already own?
- Yes. Connect it as an external domain, add the DNS records Naive returns at your registrar, then verify. A domain bought through Naive skips that step, because Naive manages its records.
- Can the agent send email from the same domain?
- Yes. Create an identity, verify the domain, and create an inbox such as hello@yourdomain on it. Sending waits until the domain's mail records are live and costs $0.0008 per email.
- Does this work with ChatGPT or my own agent framework?
- Yes. Add the same MCP URL in ChatGPT's connector settings, or call the same endpoints from the TypeScript SDK (@usenaive-sdk/naive), the naive CLI or plain HTTP in any framework.