> ## 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 Admin By Request with API Key

> Link your Admin By Request account in the StackOne Hub with API Key, then use its actions in StackOne.

> [!WARNING]
>
> API keys are managed in Tenant Settings, which needs a portal administrator.

## Generating an API key

An API key reads all data in your Admin By Request tenant. Your data center comes from the same page.

**1. Create the API key**

Sign in to the [Admin By Request portal](https://www.adminbyrequest.com/Login) and open **Settings** > **Tenant Settings**.

<ul>
  <li>Click **Data**.</li>
  <li>Open the **API Keys** tab.</li>
  <li>Click **Add New**.</li>
  <li>On the new key, click **Edit description**.</li>
  <li>Enter `StackOne Integration`.</li>
  <li>Click the save icon beside it.</li>
</ul>

![Admin By Request API Keys tab with the Add New button highlighted](https://mintcdn.com/stackone-60/v1XsPhsuviGJ_fR7/connectors/adminbyrequest/images/custom-config-add-new-key.png?fit=max\&auto=format\&n=v1XsPhsuviGJ_fR7\&q=85\&s=1ffd74083be91b3003e133ab182a26bc)

**2. Copy and save the API key**

The new key shows its value and **Press SAVE to save this new key**.

<ul>
  <li>Click **Copy to clipboard**.</li>
  <li>Copy the **API Key** across.</li>
  <li>Click **Save**.</li>
</ul>

![New StackOne Integration API key with Copy to clipboard and Save highlighted and the key value hidden](https://mintcdn.com/stackone-60/v1XsPhsuviGJ_fR7/connectors/adminbyrequest/images/custom-config-copy-key.png?fit=max\&auto=format\&n=v1XsPhsuviGJ_fR7\&q=85\&s=e07bb2526c32acb813b4ed9d46f112ad)

**3. Choose the data center**

Under **About API Keys**, the page shows **Your API prefix is** followed by your API address. For **Data Center**, choose the option that ends in the `dc` value from that address.

<ul>
  <li>Format: `https://{data center}api.adminbyrequest.com`</li>
  <li>Example: if your API prefix is `https://dc4api.adminbyrequest.com`, choose **Europe - Germany (dc4)**</li>
</ul>

![About API Keys panel with the API prefix highlighted](https://mintcdn.com/stackone-60/v1XsPhsuviGJ_fR7/connectors/adminbyrequest/images/custom-config-api-prefix.png?fit=max\&auto=format\&n=v1XsPhsuviGJ_fR7\&q=85\&s=34ddf58bfef235aa7e4b1e12c6c0b0d5)

## 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/adminbyrequest/guides/webhook-setup.md)
>
> Configure receiving Events for Admin By Request into StackOne.


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