Domain Management

Domains control which websites can access your squad's chat widget. Before deploying a squad, you must create and verify a domain, then assign it to the squad. This ensures only your authorized websites can use your chat functionality and prevents unauthorized access.

Domain Verification

Domain verification proves you own the domain, preventing others from using your squad on unauthorized websites. You can verify via DNS by adding a TXT record with your verification token, or by uploading a verification file to your website. Once verified, the domain status changes to "Verified" and can be assigned to squads.

Assigning Domains to Squads

To deploy a squad on your website, first create a domain entry for your website (e.g., example.com), then verify domain ownership. Once verified, assign the domain to your squad. Squads cannot be accessed from domains that haven't been assigned to them - requests from unassigned domains will be rejected.

Domain Matching

PrimePilot uses flexible domain matching to balance security and usability. When you verify a root domain like example.com, all subdomains are automatically allowed - so www.example.com, app.example.com, and any other subdomain will work. This is the simplest approach for most users who own the root domain.

Alternatively, you can verify specific subdomains like www.example.com, which only allows that exact subdomain and blocks others. Use this when you need granular control or are using a subdomain service.