docs/embedding/configure-embedding.mdx
Before you provision users and generate signing keys, complete the embed onboarding in Platform Settings → Security → Embedding.
On Cloud, all four steps below are required. On self-hosted Enterprise, only steps 3 and 4 apply — your instance already runs on your own domain.
<Steps> <Step title="Step 1: Enter the embed URL (Cloud only)"> Pick the subdomain you'll embed in your website (e.g. `flows.acme.com`). This URL will be visible inside workflows and is the origin the iframe loads from.
<Tip>
Use a subdomain you control. You'll need access to its DNS provider in the next step.
</Tip>

<Warning>
If you see **two `_acme-challenge` TXT records** with different values, both must be in place for SSL to issue. If your DNS provider supports multiple records with the same name, add both at once. If it only allows a single record per name, add one first — once it verifies and disappears from the dashboard, add the second.
</Warning>
Once all records are detected, the domain status switches to **Active** and you can move on.

<Tip>
You can also pre-seed origins via the `AP_ALLOWED_EMBED_ORIGINS` environment variable on self-hosted instances. Origins set this way are merged with the ones configured in the UI.
</Tip>