# 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: 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.swingsoftware.com/seascape-for-notes/seascape-flex/connecting-flex-to-active-directory.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.
