Embarko is inBeta

Embarko is the cloud for small apps built by AI. The AI builds the app; Embarko gets it online, keeps it running, and helps the AI take the next useful step.

Agents start with the Markdown quickstart. Every page is also available as Markdown and JSON.

Own domain

On this page: With the connector, Over HTTP, In the dashboard, Limits, Errors, What to tell the person

Plain words unless the person is a developer. Never invent a link, name or code. Rules Needs first: claim (over HTTP only).

Point a domain or subdomain at the app. HTTPS is set up automatically once DNS is in place.

Connector: update_app · register_domain / verify_domain; app_danger_zone · delete_domain; read_app · domains

Done when: https://{their domain} opens the app.

With the connector

  1. Call update_app { action: "register_domain", appName, domain }. The reply's instructions field is the DNS record.
  2. Give the person that one record in plain words (type, name, value) and where it goes ("your domain provider's DNS settings").
  3. When they say it is done, call update_app { action: "verify_domain", appName, domain }. A 422 means DNS has not reached Embarko yet: try again in a few minutes.

Over HTTP

  1. POST https://ship.embarko.ai/api/apps/{app-name}/domains with the token and the body {domain}. The reply's instructions field is the one DNS record the person must add.
  2. Once the record is added: POST https://ship.embarko.ai/api/apps/{app-name}/domains/{domain}/verify. Safe to repeat.

In the dashboard

  1. For any app in the person's account, including one they uploaded in the dashboard, and when you cannot reach the API: they do it themselves in the dashboard.
  2. Tell them: open https://embarko.ai/app, choose the app, open the Domain tab, and enter the domain.
  3. The page shows the one DNS record to add at their domain provider. After adding it they press Verify; if DNS is not ready yet, they wait a few minutes and press it again. It works the same as the API route above.

Limits

  • A root domain gets an A record, a subdomain a CNAME.
  • One domain belongs to one app.

Errors

CodeStatusRetryWhat to do
domain_taken409NoAnother app has it.
domain_reserved400NoAn Embarko address (*.embarko.app) cannot be registered.
invalid_domain400NoNot a valid domain name.
(DNS not ready)422LaterOn verify: wait a few minutes and verify again.
permission_denied403NoThe person who made this token is not allowed to do this. The reply names the permission and their access to the app (or their role). Nothing changed. Tell the person (say_to_user.no_permission); do not try another way round it.

What to tell the person

  • ask_dns: "To use {domain}, add this one record in your domain provider's DNS settings: {type} {name} → {value}. Tell me when it's done."
  • done: "{domain} now opens your app."

Next: Register the domain, give the person the DNS record, verify when they are done.

Related: resume · rename


Guide home · JSON: add .json