> ## 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 Pushwoosh with API Token (Device) – StackOne Hub

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

> [!WARNING]
>
> StackOne cannot check the Device API token when you connect. Make sure you copy a valid token with token type `device` and grant it the projects you connect, otherwise device, user, event, email and inbox actions fail later.

## Generating a Device API token

A Device API token lets StackOne call the Pushwoosh Device API (devices, device tags, users, events, email subscribers and inbox) for the projects you grant it.

**1. Sign in to Pushwoosh**

Sign in to your [Pushwoosh account](https://app.pushwoosh.com) and open the project you want to connect.

<ul>
  <li>In the left sidebar, expand **Settings** and click **API Access**.</li>
</ul>

![The Pushwoosh project sidebar with Settings expanded and API Access highlighted](https://mintcdn.com/stackone-60/5wq_H8ROC1qYydBE/connectors/pushwoosh/images/device-token-config-api-access-menu.png?fit=max\&auto=format\&n=5wq_H8ROC1qYydBE\&q=85\&s=e99cb2ec76ecc1dcac7589375dbc313c)

**2. Open the token generator**

On the **API Access** page, click **Generate New Token**.

![The API Access page with the Generate New Token button highlighted](https://mintcdn.com/stackone-60/5wq_H8ROC1qYydBE/connectors/pushwoosh/images/device-token-config-generate-new-token.png?fit=max\&auto=format\&n=5wq_H8ROC1qYydBE\&q=85\&s=cd4ee138eae6f20d15971eefdeb34aed)

**3. Create a device token**

Fill in the **Generate New Token** form.

<ul>
  <li>**Token type**: `device`</li>
  <li>**Name**: `StackOne Integration`</li>
  <li>Click **Generate**.</li>
</ul>

![The Generate New Token form with Token type set to device, the Name field and the Generate button highlighted](https://mintcdn.com/stackone-60/5wq_H8ROC1qYydBE/connectors/pushwoosh/images/device-token-config-generate-device-token.png?fit=max\&auto=format\&n=5wq_H8ROC1qYydBE\&q=85\&s=8160ae3bf43404fbcdaab0eb9ea410fa)

## Granting project access

A new token has no project access until you assign it.

**1. Open the token settings**

In the token list, click the three-dot menu on the **StackOne Integration** row with token type `device` and select **Edit token…**.

![The device token row menu open with Edit token… highlighted](https://mintcdn.com/stackone-60/5wq_H8ROC1qYydBE/connectors/pushwoosh/images/device-token-config-edit-token-menu.png?fit=max\&auto=format\&n=5wq_H8ROC1qYydBE\&q=85\&s=548f92cc3d6d72e355626ae485412d27)

**2. Select projects and save**

On the **Edit API Token Permissions** page, tick every project StackOne should reach under **Applications**, then click **Save**.

<ul>
  <li>Use **Grant access to all projects…** in the row menu instead if StackOne should reach every project in the account.</li>
</ul>

![The Applications list with a project ticked and the Save button highlighted](https://mintcdn.com/stackone-60/5wq_H8ROC1qYydBE/connectors/pushwoosh/images/device-token-config-applications.png?fit=max\&auto=format\&n=5wq_H8ROC1qYydBE\&q=85\&s=795110a956a56b6738d80ac9f56fbacc)

## Copying the token

Return to **Settings** > **API Access** to copy the token value.

**1. Copy the Device API token**

Hover over the **StackOne Integration** row with token type `device` and click **Copy**.

<ul>
  <li>Paste it into the **Device API Token** field in StackOne Hub.</li>
  <li>Check that you copied the row with token type `device`, not the server token. StackOne cannot check this token when you connect.</li>
  <li>Treat the token like a password. Anyone who has it can call the Pushwoosh Device API for the selected projects, so store it securely for use later.</li>
</ul>

![The API Access token list with the StackOne Integration device token row and its Copy button highlighted](https://mintcdn.com/stackone-60/5wq_H8ROC1qYydBE/connectors/pushwoosh/images/device-token-config-copy-token.png?fit=max\&auto=format\&n=5wq_H8ROC1qYydBE\&q=85\&s=54fd4b4a4476ca42039d91eeb9e8cb76)

## Linking the Account from the Hub

**1. Navigate to the Hub**

Use one of the three [Linking Account Methods](https://docs.stackone.com/connect/managing-connectors/linking-accounts.md) to access the Hub.

**2. Fill out the fields**

Fill out the following fields using details from your provider:

<ul>
  <li>**Device API Token**</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 on your [Accounts](https://app.stackone.com/accounts) page.

## Next Steps

> [card] [Webhooks setup](https://docs.stackone.com/connectors/pushwoosh/guides/webhook-setup.md)
>
> Configure receiving Events for Pushwoosh into StackOne.


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