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

# APIs & Credentials

## Accessing Your API Credentials

To use AQL's AI APIs in your applications, you'll need your Bot ID and API Key.

### Step 1: Navigate to APIs

1. Go to **Workspace Settings** from the left sidebar.
2. Click on **APIs**.
3. You'll see your **Bot ID** displayed.

<img src="https://mintcdn.com/widebot-3949db27/2ooUNxgNKcUHVIXP/images/api-before.png?fit=max&auto=format&n=2ooUNxgNKcUHVIXP&q=85&s=ae1d5bf16bf3cc7fec31d6d4fb5536d1" alt="APIs Page - Before Generating API Key" className="border-2 border-gray-300 dark:border-gray-600 rounded-lg shadow-lg" width="3420" height="1960" data-path="images/api-before.png" />

### Step 2: Generate or Modify API Key

1. Click on **Modify API** button.
2. You'll be taken to the **Account Settings** page.

<img src="https://mintcdn.com/widebot-3949db27/2ooUNxgNKcUHVIXP/images/account-before.png?fit=max&auto=format&n=2ooUNxgNKcUHVIXP&q=85&s=68a74443866b3637f5f8b386e2a5db53" alt="Account Settings - Before Generating API Key" className="border-2 border-gray-300 dark:border-gray-600 rounded-lg shadow-lg" width="3420" height="1960" data-path="images/account-before.png" />

3. Generate a new API key from the Account Settings.

<img src="https://mintcdn.com/widebot-3949db27/2ooUNxgNKcUHVIXP/images/account-after.png?fit=max&auto=format&n=2ooUNxgNKcUHVIXP&q=85&s=df4e45948e3656ea099a8e1f54db092f" alt="Account Settings - After Generating API Key" className="border-2 border-gray-300 dark:border-gray-600 rounded-lg shadow-lg" width="3420" height="1960" data-path="images/account-after.png" />

4. Return to **Workspace Settings → APIs** to see your API key displayed.

<img src="https://mintcdn.com/widebot-3949db27/2ooUNxgNKcUHVIXP/images/api-after.png?fit=max&auto=format&n=2ooUNxgNKcUHVIXP&q=85&s=1acae579f1def97671a7ab7c050b535c" alt="APIs Page - After Generating API Key" className="border-2 border-gray-300 dark:border-gray-600 rounded-lg shadow-lg" width="3420" height="1960" data-path="images/api-after.png" />

<Warning>
  Keep your API credentials secure. Never share them publicly or commit them to version control.
</Warning>

## Using Your Credentials

Once you have your Bot ID and API Key:

* Use them to authenticate API requests to AQL services.
* See the [API Reference](/api-reference/introduction) for integration details.
* Rotate your API key regularly for security.
