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

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

## Register an application on Stack Apps

The Stack Exchange API requires a free application key for public read access. Register\
an application on Stack Apps to obtain the key.

**1. Sign in to Stack Apps**

Sign in to your [Stack Exchange account](https://stackapps.com/users/login).

<ul>
  <li>Go to the [Stack Apps application registration page](https://stackapps.com/apps/oauth/register).</li>
</ul>

**2. Register an application**

On the **Your Apps** page, click **Register an application**.

![The Your Apps page with the Register an application button highlighted](https://mintcdn.com/stackone-60/Nbo36vGugLdmYuLd/connectors/stackoverflow/images/apikey-config-register-application.png?fit=max\&auto=format\&n=Nbo36vGugLdmYuLd\&q=85\&s=9e7d08800b8117c83ce414dab2c11a77)

**3. Enter the application details**

Complete the **Register your application** form.

<ul>
  <li>Application name: `StackOne Integration`</li>
  <li>Application description: `Integration with StackOne`</li>
  <li>Application URL: `https://www.stackone.com`</li>
</ul>

![The registration form with the Application name, Application description, and Application URL fields highlighted](https://mintcdn.com/stackone-60/Nbo36vGugLdmYuLd/connectors/stackoverflow/images/apikey-config-application-details.png?fit=max\&auto=format\&n=Nbo36vGugLdmYuLd\&q=85\&s=047a035be1b3b4ce37d813747cf6cb50)

**4. Accept the terms and register**

Select **I agree to the terms and conditions**, then click **Register application**.

![The registration form with the terms checkbox and Register application button highlighted](https://mintcdn.com/stackone-60/Nbo36vGugLdmYuLd/connectors/stackoverflow/images/apikey-config-accept-terms.png?fit=max\&auto=format\&n=Nbo36vGugLdmYuLd\&q=85\&s=6e9f831a90c65cfa92dfc0e65c76dd5e)

## Generate and copy your app key

Generate an API key for your registered application and paste it into StackOne Hub.

**1. Generate a new API key**

On your app dashboard, in the **API keys** section, click **Generate new API Key**.

![The app dashboard with the Generate new API Key button highlighted](https://mintcdn.com/stackone-60/Nbo36vGugLdmYuLd/connectors/stackoverflow/images/apikey-config-generate-api-key.png?fit=max\&auto=format\&n=Nbo36vGugLdmYuLd\&q=85\&s=e3589bfcc333dcf7ce05c706efe48b1d)

**2. Name the key and generate it**

Enter a **Name**, choose **Never** under **Expires in**, then click **Generate**.

<ul>
  <li>Name: `StackOne`</li>
</ul>

![The Generate new API key dialog with the Name field, Expires in dropdown, and Generate button highlighted](https://mintcdn.com/stackone-60/Nbo36vGugLdmYuLd/connectors/stackoverflow/images/apikey-config-name-api-key.png?fit=max\&auto=format\&n=Nbo36vGugLdmYuLd\&q=85\&s=8ba438045acc33fe3e601bddd05e3ff2)

**3. Copy the app key**

Copy the generated key with the copy button and paste it into the **App Key** field\
in StackOne Hub.

<ul>
  <li>The API key is only displayed once and cannot be retrieved later.</li>
  <li>Store it securely for use later.</li>
</ul>

![The API key confirmation dialog with the value hidden and the copy button highlighted](https://mintcdn.com/stackone-60/Nbo36vGugLdmYuLd/connectors/stackoverflow/images/apikey-config-api-key.png?fit=max\&auto=format\&n=Nbo36vGugLdmYuLd\&q=85\&s=ace9e9d13268ac14670f88e98dcb6fe3)

## Linking the Account from the Hub

**1. Navigate to the Hub**

Use one of the three [Linking Account Methods](/connect/managing-connectors/linking-accounts) to access the Hub.

**2. Fill out the fields**

Fill out the following fields using details from your provider:

<ul>
  <li>**App Key**</li>
</ul>

**3. 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>

If the account linking is successful, you will see the newly linked account in your [Accounts](/gateway/concepts/linked-accounts) page.


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