Custom Domains
Learn how to add a custom domain to a deployed service with Ink MCP.
Create an Ink account and connect MCP
Make sure you have an Ink account and have connected Ink MCP to your agent. There are two ways to connect:
- OAuth — authenticate through a browser flow, no keys to manage
- Token — create an API key at ml.ink/account/api-keys
See Quick Start for full setup instructions.
Verify the connection
Once the MCP server is connected, confirm your agent can reach it by asking it to check.
Do you have Ink MCP connected?
Deploy a service
You need a running service to attach a custom domain to. If you already have a deployed service, skip to the next step.
See any of the framework examples to deploy an app first.
Deploy my app with Ink
Delegate your DNS zone
Before adding a custom domain, you need to delegate your DNS zone to Ink. Go to ml.ink/account/dns and follow the instructions to set up delegation for your domain.
This is one of the few steps that requires human involvement — DNS zone delegation is tied to domain registrar accounts that only you can access. Once the zone status is active, your agent can handle the rest.
List my delegated DNS zones
list_delegations(
)Add a custom domain
Tell your agent to attach a custom domain to your service. Ink creates the DNS record and provisions a TLS certificate automatically.
Assign the domain www.example.com to my landing-page service
add_custom_domain(
"name": "landing-page",
"domain": "www.example.com"
)Verify your domain
Visit your custom domain in the browser to confirm it resolves to your service with a valid TLS certificate.
That's it — your service is now accessible at your custom domain with automatic TLS. From here you can manage DNS records, set up environment variables, or explore more examples.