> 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:

![](/files/ZEolEJYTugfEiAkpdIUZ)

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

![](/files/VBDs58EmFbALSRqKxBn2)

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

![](/files/DwuHXYwaUOs0za426bFA)

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

![](/files/9eHPHQfgMPR2LkSmMD2D)

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:

![](/files/ilRlqYq34JjsV1sylWaf)

{% 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 dynamically by asking a question.

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

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
