> ## 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 Teamwork with API Token (Multiple Companies) – StackOne Hub

> Link a Teamwork account in the StackOne Hub using API Token (Multiple Companies). End-user guide to authorize the integration and start using Teamwork actions.

## Generating an API token

Your API token authenticates requests to Teamwork.

**1. Open your profile details**

Sign in to your [Teamwork account](https://www.teamwork.com/launchpad/login).

<ul>
  <li>Click your **profile avatar** in the top right corner of the header.</li>
  <li>Select **Edit my details** from the menu.</li>
</ul>

![The profile menu open in the top right corner with Edit my details highlighted](https://mintcdn.com/stackone-60/CLPWFoZxduFngLk2/connectors/teamwork/images/custom-config-edit-my-details.png?fit=max\&auto=format\&n=CLPWFoZxduFngLk2\&q=85\&s=f2a213f5735df86589219e41f2b67b80)

**2. Generate the API token**

In the dialog that opens, select the **API & Mobile** tab.

<ul>
  <li>Click **Show your Token** under **Your API Token** to reveal the token.</li>
  <li>Copy the **API Token** across with the copy button beside it.</li>
  <li>**Hide your Token** hides the value again, and **Turn OFF the API for my account** disables API access entirely.</li>
</ul>

![The API and Mobile tab of the profile dialog with the tab and the revealed API token field highlighted](https://mintcdn.com/stackone-60/CLPWFoZxduFngLk2/connectors/teamwork/images/custom-config-api-token.png?fit=max\&auto=format\&n=CLPWFoZxduFngLk2\&q=85\&s=0609e19f85004883b7dd7cfc7cc32577)

## Find your site name

Your site name is the subdomain in your Teamwork URL.

<ul>
  <li>Check your browser address bar when signed in to Teamwork.</li>
  <li>Format: `{sitename}.teamwork.com` or `{sitename}.eu.teamwork.com` (EU accounts)</li>
  <li>Example: if your URL is `https://acme.teamwork.com`, your site name is `acme`</li>
  <li>Example: if your URL is `https://acme.eu.teamwork.com`, your site name is `acme.eu`</li>
</ul>

## 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/teamwork/guides/webhook-setup.md)
>
> Configure receiving Events for Teamwork into StackOne.


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