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

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

> [!WARNING]
>
> Your API tokens need to be treated as securely as any other password. Tokens can be set to expire (maximum 1 year) and can be revoked at any time.

## Generate an API token

Create a new API token for authenticating with the Jira REST API.

**1. Open the API tokens page**

Go to the [Atlassian API tokens page](https://id.atlassian.com/manage-profile/security/api-tokens) and click **Create API token**.

<ul>
  <li>Atlassian may ask you to verify your identity with a code sent to your email before showing this page.</li>
</ul>

![Atlassian account API Tokens page with the Create API token button highlighted](https://mintcdn.com/stackone-60/CpbiH7dzg8oo-jeB/connectors/jiraservicemanagement/images/custom-config-api-tokens.png?fit=max\&auto=format\&n=CpbiH7dzg8oo-jeB\&q=85\&s=f3d251f6f1094cf70dc56068157cb4e9)

**2. Create the token**

Fill in the **Create an API token** dialog.

<ul>
  <li>Enter a **Name** that describes the integration (e.g., "StackOne JSM Integration").</li>
  <li>Set **Expires on** — for your security, tokens can last no longer than a year.</li>
  <li>Click **Create**.</li>
</ul>

![Create an API token dialog with the Name field, Expires on date and Create button highlighted](https://mintcdn.com/stackone-60/CpbiH7dzg8oo-jeB/connectors/jiraservicemanagement/images/custom-config-create-token.png?fit=max\&auto=format\&n=CpbiH7dzg8oo-jeB\&q=85\&s=07ca183ea77cf272a1bbe7c9b1b0424b)

**3. Copy the token**

In the **Copy your API token** dialog, click **Copy**, save the value somewhere safe, then click **Done**.

<ul>
  <li>The token is shown once and cannot be retrieved after you close this dialog.</li>
  <li>New tokens may take up to a minute to work after they have been created.</li>
  <li>Paste the token into the **API Token** field in StackOne Hub.</li>
</ul>

![Copy your API token dialog with the masked API token field and Copy button highlighted](https://mintcdn.com/stackone-60/CpbiH7dzg8oo-jeB/connectors/jiraservicemanagement/images/custom-config-copy-token.png?fit=max\&auto=format\&n=CpbiH7dzg8oo-jeB\&q=85\&s=6e2f79a15264bbb9d2646ffb75a45de0)

## Find your email and domain

Along with the token, StackOne needs the email and domain of the Jira account the token belongs to.

**1. Find your email**

**Email** is the address you use to sign in to Jira. You can check it in your [Atlassian profile email settings](https://id.atlassian.com/manage-profile/email). Enter it in the **Email** field in StackOne Hub.

**2. Find your domain**

**Domain** is the part of your Jira URL before `.atlassian.net`. Check your browser address bar when signed in to Jira Service Management and enter just that part in the **Domain** field in StackOne Hub.

<ul>
  <li>Format: `https://{domain}.atlassian.net`</li>
  <li>Example: if your URL is `https://acme.atlassian.net`, your Domain is `acme`</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/jiraservicemanagement/guides/webhook-setup.md)
>
> Configure receiving Events for Jira Service Management into StackOne.


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