> For the complete documentation index, see [llms.txt](https://docs.swingsoftware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.swingsoftware.com/seascape-for-notes/seascape-flex/connecting-flex-to-active-directory.md).

# Connecting Flex to Active Directory

To connect Seascape Flex to your Active directory follow these steps:

1\. Log into Seascape Flex as an Administrator and click the gear icon in the top-right corner:

![](https://1039028294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkmLDl5OXrWVfn2nv57%2Fuploads%2F0sHB53Pa6AxP2IZjVBcM%2Fimage.png?alt=media\&token=20591238-27a6-43d3-9334-3d2cf59ac821)

2\. Click **Import AD Group** and log in with your AD administrator credentials:

![](https://1039028294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkmLDl5OXrWVfn2nv57%2Fuploads%2FxZVNb2keFUQY9BLUtiYo%2Fimage.png?alt=media\&token=004d12cd-d1c3-425b-ada4-a06c1a2fd10f)

3\. Next, search for the appropriate AD group and select it:

![](https://1039028294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkmLDl5OXrWVfn2nv57%2Fuploads%2FOe8CFkFCK3fgG6dBiQLJ%2Fimage.png?alt=media\&token=ae2a780a-e164-474c-b8f7-63d36a93f4bb)

4\. Select the appropriate role for the selected group and click OK:

![](https://1039028294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkmLDl5OXrWVfn2nv57%2Fuploads%2FLj3OefC5ay2Sq9qZIfsS%2Fimage.png?alt=media\&token=118c9721-9ad3-437f-a1ed-23001e1c1706)

5\. Your AD group has now been added to the systems and the user from the selected group can begin to log into Seascape Flex using their AD credentials:

![](https://1039028294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkmLDl5OXrWVfn2nv57%2Fuploads%2Fpe8x6HIxvfPVRUHn0CN1%2Fimage.png?alt=media\&token=b7723810-19fd-464d-91e6-caeacc1cd0d6)

{% hint style="info" %}
When you import an AD group into Seascape Flex no user licenses will be consumed. It is only when a user belonging to an imported group logs into Seascape Flex for the first time that one user license will be consumed.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.swingsoftware.com/seascape-for-notes/seascape-flex/connecting-flex-to-active-directory.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
