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

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

> [!WARNING]
>
> Only an Organization Admin can create a service key with Full Organization access. LangSmith lists every member's workspace roles only to a key whose organization role can manage members, such as Organization Admin.

## Create the service key

Create the key in the LangSmith organization you want to read.

**1. Create the key**

Sign in to LangSmith at the address for your region: [GCP US](https://smith.langchain.com), [GCP EU](https://eu.smith.langchain.com), [GCP APAC](https://apac.smith.langchain.com), [AWS US](https://aws.smith.langchain.com) or [Azure US](https://azure.smith.langchain.com).

<ul>
  <li>Go to **Settings** > **API Keys**.</li>
  <li>**Key type**: a service key with **Full Organization** access</li>
  <li>**Organization role**: **Organization Admin**</li>
  <li>**Expiration**: how long the key lasts</li>
  <li>Select **Create API Key**.</li>
</ul>

**2. Copy the key**

LangSmith displays the API key only once.

<ul>
  <li>Copy the **API Key** across.</li>
</ul>

## Find the organization ID and region

Each LangSmith Cloud region has its own sign-in address and API host.

**1. Copy the organization ID**

In LangSmith, the address in your browser's address bar has **/o/** followed by the organization ID, a UUID.

<ul>
  <li>Copy the ID that follows **/o/** across to **Organization ID**.</li>
  <li>Format: a UUID, 36 characters of hex digits in five groups separated by hyphens.</li>
  <li>Example: in smith.langchain.com/o/`<organization-id>`/projects, copy `<organization-id>`.</li>
</ul>

**2. Choose the region**

Match the address in your browser's address bar.

<ul>
  <li>smith.langchain.com: **GCP US**</li>
  <li>eu.smith.langchain.com: **GCP EU**</li>
  <li>apac.smith.langchain.com: **GCP APAC**</li>
  <li>aws.smith.langchain.com: **AWS US**</li>
  <li>azure.smith.langchain.com: **Azure US**</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).


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