# Introduction

> Let your users connect a domain they already own.

Source: https://docs.customdomain.ai/docs

CustomDomain™ lets your users connect a domain they already own. It finds the DNS
provider, writes or shows the records, checks them and issues HTTPS.

Add it with a drop-in widget, the REST API or the MCP server. Or connect a domain
of your own in the console, with no code.

## Get started

- [Quickstart](/docs/getting-started/quickstart): Connect a first domain in test mode. No real domain and no card.

- [Widget](/docs/getting-started/widget): Let your customers connect domains inside your product.

- [API](/docs/getting-started/api): Provision custom domains from your server.

- [MCP](/docs/getting-started/mcp): Let an AI agent connect and check domains.

## How it works

### Detect the provider

You enter a domain in the widget, the console, the API or an agent.
`POST /v1/domains:check` finds where its DNS is hosted and which
[ways to connect](/docs/concepts/glossary#ways-to-connect) can run there.
They are a sign-in with the provider, the provider's one-click setup, a secure
sign-in, a scoped API key, the records added by hand, or DNS hosting.

### Write the records

The best way in that can finish for this domain writes the records. Where the
provider offers none, you see the exact rows with that provider's own steps.
[DNS providers](/docs/dns/providers) shows how each provider connects.

### Check the records

The connection goes `live` once every record resolves to its expected value.
Records written for you usually check out within seconds. There is no separate
ownership TXT record. The way the records were written proves control, or the
records appearing in the domain's own DNS do
([setup types](/docs/concepts/ownership-and-setup-types#control-is-proven-by-the-rail)).

### Issue HTTPS

Once the domain is live, the CustomDomain™ edge issues its certificate on the
first request and renews it on its own. On the Growth plan and up it also proxies
the domain to your origin. You can also point domains at your own servers and
serve HTTPS there ([Where domains point](/docs/connect-flow/routing)).

## Pick your path

- [SaaS platform](/docs/use-cases/saas-platforms): Embed the widget so your users connect their own domains.

- [Agency](/docs/use-cases/agencies): Manage client domains in one workspace.

- [Your own domain](/docs/use-cases/your-own-domain): Point a domain you own at something you run.

- [AI agent](/docs/use-cases/ai-agents): Let an agent connect and check domains.

## Build with

- [Widget](/docs/widget-sdk/overview): The connect modal, in your branding.

- [REST API](/docs/api-reference): Every /v1 endpoint, its parameters and errors.

- [Webhooks](/docs/webhooks/overview): Signed events when a domain goes live or fails.

- [MCP server](/docs/mcp/overview): Tools for agents, with scoped access you can revoke.

## When something is stuck

[Troubleshooting](/docs/troubleshooting) covers domains waiting for their records,
DNS mistakes and certificate issues. The [FAQ](/docs/faq) answers common
questions. To see how the pieces fit, start at
[Connections](/docs/concepts/connections) and [Architecture](/docs/concepts/architecture).

## For AI agents

A machine-readable index of these docs is at [`/docs/llms.txt`](/docs/llms.txt).
It lists every page with its title, URL and description, so an agent can fetch
exactly the page it needs. A copy is served at the site root,
[`/llms.txt`](https://docs.customdomain.ai/llms.txt). Every page is also served as
Markdown at its own URL plus `.md`. This one is [`/docs.md`](/docs.md), and each
page links to its copy with `<link rel="alternate" type="text/markdown">`.

Agents can also drive the product through the hosted
[MCP server](/docs/mcp/overview) at `https://mcp.customdomain.ai/mcp`. A person can
give an agent scoped access they can revoke, through OAuth
([Agent access](/docs/agents/overview)). An installable
[agent skill](/docs/agents/skills) teaches an agent to use the tools safely.
