Examples

Custom Domains

Learn how to add a custom domain to a deployed service with Ink.

Create an Ink account and connect Ink

Make sure you have an Ink account and have set up Ink for your agent. Use the CLI, the Ink Skill, or MCP. For MCP auth, choose:

See Quick Start for full setup instructions.

Verify the connection

Once Ink is connected, confirm your agent can reach it by asking it to check.

Prompt

Do you have Ink 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.

Prompt

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 deployink.com/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.

Prompt

List my delegated DNS zones

Tool Call
(
)

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.

Prompt

Assign the domain www.example.com to my landing-page service

Tool Call
(
  : ,
  : 
)

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.

On this page