# Workspace domain detection

### Enabling Workspace Domain Detection

Each workspace can choose whether or not their workspace is automatically detected by accounts sharing the same domain. The domain is taken from the first account that created the workspace, and cannot be changed. By default any new accounts are given the `owner` role for the workspace.

*This feature is automatically enabled for all new workspaces, for any workspaces made before Dec 7, 2022 this feature must be manually enabled.*

<figure><img src="/files/kqWSZP2efb352J35X85s" alt=""><figcaption></figcaption></figure>

### New accounts

If the setting is enabled for your domain, any new accounts with the shared domain will be shown the option of joining the existing workspaces associated with the domain.

<figure><img src="/files/z6SNSKNauznuW4P2cWux" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.formsort.com/workspace-management/workspace-domain-detection.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
