> ## 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 Docling with API Key – StackOne Hub

> Link a Docling account in the StackOne Hub using API Key. End-user guide to authorize the integration and start using Docling actions.

## Find your Docling for IBM watsonx credentials

Both values come from the Workbench, the web application for your Docling for IBM watsonx instance. If you don't have an instance yet, sign up at [Docling for IBM watsonx](https://www.ibm.com/products/docling), where a free trial is available.

**1. Copy the Service URL**

Sign in to the [IBM SaaS Console](https://aws.console.saas.ibm.com/landing), then open your instance's Workbench.

<ul>
  <li>Under **SaaS accounts**, click your account.</li>
  <li>On **Subscriptions**, find **Docling for IBM watsonx** and click **View instances**.</li>
  <li>On the **Instances** tab, click **Open** next to your instance.</li>
  <li>In the Workbench menu, click **API examples**.</li>
  <li>Click the **Service URL** value to copy it, then copy it across.</li>
</ul>

![Workbench API examples page with the Service URL value highlighted.](https://mintcdn.com/stackone-60/x2Jv46pvxMdWqrRz/connectors/docling/images/ibm_watsonx-config-service-url.png?fit=max\&auto=format\&n=x2Jv46pvxMdWqrRz\&q=85\&s=745c9e27d9724a7cb47584dd8ea45ece)

**2. Generate an API key**

In the Workbench menu, click **API keys**. Existing keys show only their name, so generate a new one for this connection.

<ul>
  <li>Click **Generate key**.</li>
  <li>**API key name**: `StackOne-Integration`</li>
  <li>The name can only contain alphanumeric characters, dashes and underscores.</li>
  <li>**Expiration date**: pre-filled with a date about a month ahead. The key stops working on that date, so pick a later date if you need it longer</li>
  <li>Click **Generate key**.</li>
</ul>

![Generate an API key dialog with the API key name field and the Generate key button highlighted.](https://mintcdn.com/stackone-60/x2Jv46pvxMdWqrRz/connectors/docling/images/ibm_watsonx-config-generate-key.png?fit=max\&auto=format\&n=x2Jv46pvxMdWqrRz\&q=85\&s=8e295e02801d9bffffb118749f6ea3c0)

**3. Copy the API key**

The **API key successfully created** dialog shows the new key.

<ul>
  <li>Click **Copy to clipboard**.</li>
  <li>Copy the key across.</li>
  <li>The API key is shown only once and cannot be retrieved later. If you lose it, generate a new one.</li>
</ul>

![API key successfully created dialog with the Copy to clipboard button highlighted and the key value hidden.](https://mintcdn.com/stackone-60/x2Jv46pvxMdWqrRz/connectors/docling/images/ibm_watsonx-config-copy-key.png?fit=max\&auto=format\&n=x2Jv46pvxMdWqrRz\&q=85\&s=1886ac7adaef7236c5cfc9841008f073)

## 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).


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