> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect AD Manager with Authtoken – StackOne Hub

> Link a AD Manager account in the StackOne Hub using Authtoken. End-user guide to authorize the integration and start using AD Manager actions.

> [!WARNING]
>
> The authtoken acts with the permissions of the technician it belongs to, so generate it as a technician who is delegated the Active Directory actions you plan to run.

## Generating an authtoken

You are not asked for the Server URL. Your administrator has already set it on the connector profile. An authtoken lets StackOne call the ADManager Plus REST API on behalf of a technician. It is the API key for this connection, so in StackOne Hub it goes in the **Authtoken** field. The **Native Webhook URL** field is filled in by StackOne and is only needed if you send webhook events from ADManager Plus.

**1. Open My Account**

ADManager Plus is self-hosted, so there is no shared sign-in page. Sign in to your company's ADManager Plus web console, then click the profile icon in the top-right corner and select **My Account**.

![The ADManager Plus profile menu with the profile icon and the My Account option highlighted](https://mintcdn.com/stackone-60/jERJ9_eViqdCgKDW/connectors/admanager/images/custom-config-my-account-menu.png?fit=max\&auto=format\&n=jERJ9_eViqdCgKDW\&q=85\&s=2ad59beef8e7c9f57501ebb2df29acf8)

**2. Open Active Authtokens**

In the **My Account** window, open the **Active Authtokens** tab and click **Generate Authtoken**.

![The Active Authtokens tab of My Account with the Generate Authtoken button highlighted](https://mintcdn.com/stackone-60/jERJ9_eViqdCgKDW/connectors/admanager/images/custom-config-active-authtokens.png?fit=max\&auto=format\&n=jERJ9_eViqdCgKDW\&q=85\&s=ca8c48d4e52442a281b435db3fe80c0d)

**3. Choose the scope**

Leave **Scope** set to **All actions** so the authtoken covers every action StackOne uses. The list groups actions by object, for example **All user management actions** with **Read user action**, **Create user action**, **Modify user action** and **Delete user action**, and the same for computers, groups, OUs, contacts, orchestration templates and admin settings.

<ul>
  <li>To limit access, untick the groups or individual actions StackOne should not perform. Calls for any action outside the selected scope fail.</li>
  <li>If you limit user access to read-only, also keep **Modify user action** selected. ADManager Plus checks this scope, not **Read user action**, when listing users.</li>
</ul>

![The Scope list open with the All actions option highlighted](https://mintcdn.com/stackone-60/jERJ9_eViqdCgKDW/connectors/admanager/images/custom-config-scope-options.png?fit=max\&auto=format\&n=jERJ9_eViqdCgKDW\&q=85\&s=c084b6ac4118fe3d82a78309bd68807b)

**4. Fill in the authtoken details**

Complete the **Generate New Authtoken** form.

<ul>
  <li>**Authtoken Name**: `StackOne Integration` (or any name you prefer)</li>
  <li>**Scope**: **All actions**, as described in the previous step</li>
  <li>**Expiration Time**: how long StackOne should keep access. When the authtoken expires, StackOne can no longer connect until you generate a new one.</li>
  <li>Click **Generate Authtoken**.</li>
</ul>

![The Generate New Authtoken form with the Authtoken Name, Scope, Expiration Time fields and the Generate Authtoken button highlighted](https://mintcdn.com/stackone-60/jERJ9_eViqdCgKDW/connectors/admanager/images/custom-config-generate-authtoken-form.png?fit=max\&auto=format\&n=jERJ9_eViqdCgKDW\&q=85\&s=a7d0d2ffcf5671c4396757a18efb3478)

**5. Copy the authtoken**

Click **Copy to Clipboard** and paste the value into the **Authtoken** field in StackOne Hub.

<ul>
  <li>The authtoken value is only displayed on this screen and cannot be retrieved later; the **Active Authtokens** list shows only its name. Store it securely for use later.</li>
  <li>Authtokens can be used for impersonating a help desk technician and should therefore be kept confidential.</li>
</ul>

![The generated authtoken with its value hidden and the Copy to Clipboard button highlighted](https://mintcdn.com/stackone-60/jERJ9_eViqdCgKDW/connectors/admanager/images/custom-config-copy-authtoken.png?fit=max\&auto=format\&n=jERJ9_eViqdCgKDW\&q=85\&s=0f33a174e4edd69b85915234b36a8eae)

**6. Generate it as the built-in admin**

If you are signed in as the built-in admin, you can generate an authtoken for any help desk technician from **Delegation** > **Configuration** > **Technician Authtokens**: choose the technician in **Select Help Desk Technicians**, then click **Generate Authtoken** and complete the same form.

<ul>
  <li>ADManager Plus shows this note on the page: "Once your trial period ends, this feature will be disabled unless you purchase the 'Help Desk Technician' pack for your licensed copy."</li>
</ul>

![The Delegation tab with Technician Authtokens selected, and the Select Help Desk Technicians field and Generate Authtoken button highlighted](https://mintcdn.com/stackone-60/jERJ9_eViqdCgKDW/connectors/admanager/images/custom-config-technician-authtokens.png?fit=max\&auto=format\&n=jERJ9_eViqdCgKDW\&q=85\&s=173d9f69bf5f9484a09a74544c7ae3b2)

## Link the Account

**1. Connect**

<ul>
  <li>Click **Connect**.</li>
  <li>If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider's authorization flow.</li>
  <li>Once authorization is successful, you will see a confirmation popup.</li>
</ul>

**2. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).

## Next Steps

> [card] [Webhooks setup](https://docs.stackone.com/connectors/admanager/guides/webhook-setup.md)
>
> Configure receiving Events for AD Manager into StackOne.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.