Docs
Get started
Sign in, choose the plan, then create an app on your dashboard. An app holds the DNS records your customers get, how the window looks, your webhook and your keys. You get a public key (pk_, safe in your page) and a secret key (sk_, server only, shown once).
One script tag
Add the script once, then put data-myow-connect on any button. The window opens over your page; your customer types their domain and MYOW Connect does the rest.
<script src="https://myowconnect.com/connect.js" data-app="pk_your_app"></script>
<button data-myow-connect data-user="CUSTOMER_ID">Connect your domain</button>
<script>
document.addEventListener("myow:connected", (e) => console.log(e.detail.domain));
// or open it yourself:
MYOWConnect.open({ user: "CUSTOMER_ID", domain: "optional.com", onConnected: (d) => {} });
</script>No-code link
Send this link in an email or put it behind a button. Add ?user= to know who connected. Set where people go afterwards on your dashboard.
https://myowconnect.com/link/pk_your_app?user=CUSTOMER_IDServer API
Authenticate with your secret key in the Authorization header.
# A no-code link for one customer
curl https://myowconnect.com/api/connect/v1/links \
-H "Authorization: Bearer sk_..." \
-d '{"user":"CUSTOMER_ID","domain":"optional.com"}'
# Where one connection stands (status, records, power_status, secure_status)
curl https://myowconnect.com/api/connect/v1/sessions/cs_... -H "Authorization: Bearer sk_..."Records
List the records your customers need on your dashboard: A, AAAA, CNAME, TXT or MX, with @ for the domain itself or a name like www. MYOW Connect merges SPF instead of replacing it, keeps records that are already right, and stops before replacing anything that would break the customer's site or email.
DNS providers
MYOW Connect reads the domain's nameservers and recognizes 98 DNS providers. Where the provider supports one click, the customer approves the records there. Everywhere else they get steps written for their provider, a copy button on each record, a live check, and a setup link they can send to whoever runs their DNS.
Power
Serve your customers' domains from your app with SSL handled for you. Set your app's address on the dashboard. Customers point www at cname.myowconnect.com; Cloudflare issues and renews the certificate; every request reaches your app with the customer's domain in the X-Forwarded-Host and X-MYOW-Connect-Domain headers. Redirects back to your own address are rewritten to the customer's domain.
Secure
Turn on Secure to give the domain itself (theirbrand.com) a certificate too. It goes to www over https. Status shows on the dashboard, in the API as secure_status, and in webhooks.
Buy a domain
Customers without a domain can search and buy one inside the window. It is registered in their name, paid by card, and connected the moment it's registered. You get domain.purchased, then domain.connected.
Webhooks
Set a webhook address on your dashboard. Every webhook is signed in the MYOW-Connect-Signature header: t=<unix seconds>,v1=<HMAC SHA-256 of "t.body" with your signing secret>. Resend any of them from the dashboard.
| Event | When |
|---|---|
domain.connected | Every record is in place. |
domain.purchased | A customer bought a domain in the window. |
domain.secured | Power or Secure: the certificate is live (power_status or secure_status success). |
domain.secure_failed | The certificate could not be issued. The problem is included. |
domain.disconnected | Monitor: a record broke. The failing records are included. |
domain.restored | Monitor: it works again. |
Monitor
The Monitor add-on checks every connected domain daily and sends domain.disconnected the moment a record breaks, then domain.restored when it's fixed.