---
title: Add Tokens
slug: add-tokens
docTags: 
createdAt: 2023-03-24T19:03:37.000Z
---

You can create a token from the **Admin Console&#x20;**> **Tokens** pane.&#x20;

:::hint{type="warning"}
**Important**: After a token has been created, it can be viewed but no longer be modified.
:::

# Step 1: Create Token

**To create a new token:**

1. From the navigation menu click **Admin Console**.
2. Navigate to **Tokens**.
3. Click the **Add New Token&#x20;**&#x69;con.

![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/vbc8e7GnuMR9rVHFDiAbU_image.png "Add new token icon")

# Step 2: Enter Token Details

Enter the token name and select the expiration date for the token.&#x20;

![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/72Vm84_mBcFi9eEZgyKyn_image.png "Token Details")

# Step 3: Define Token Scope

You will need to define the administrator permissions for the token. Select the checkbox to give the token instance administrator permissions.&#x20;

![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/kxbLNlOKTGtvdmvxjPHFf_image.png "Administrator permissions")

# Step 4: Edge API Bridge Option

:::hint{type="info"}
**Note**: This option is available for Manufacturing Connect version 2.15.0 and later.&#x20;
:::

Select this option to integrate all applicable Manufacturing Connect Edge APIs through a single Manufacturing Connect endpoint.&#x20;

![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/uS4Z4_VaEy9SlEHC1mFSv_image.png "Edge API Bridge option")

The token has access to Manufacturing Connect Edge APIs through the path given on the page.&#x20;

To get the edge device ID, in Manufacturing Connect, navigate to **Edge Devices** and click the device name you want to give access to. In the browser address bar, copy the string after *device*.&#x20;

![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/sNGezBM1d9cA1DX7Yyny-_image.png)

# Step 5: Catalogs and Scope Option

:::hint{type="info"}
**Note**: This option is available for Manufacturing Connect version 2.22.0 and later.&#x20;
:::

Manufacturing Connect admin authorizes third-party applications to access the Marketplace Catalog's API using tokens. The token has access to all Marketplace catalogs.

You can specify which Marketplace catalogs the token can access and set permissions for them.

![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/MfyTtqad4FXjK2FGlLSHr_image.png "Catalogs and Scope Option")

# Step 6: Save Token



After saving the token, make sure to copy it before closing the dialog.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/Czs2UE5zudsaPyKuPGg-r_new-token-created.png" size="60" width="552" height="299" position="center" caption="New token created [blurred token]" showCaption="true"}

# Use Token

When accessing the API, you must use the custom field `X-AuthToken` in the HTTP header.&#x20;

For example:&#x20;

`X-AuthToken: zZA82pIo70xzsrwmSl1f0P6DSfvuZgo1`





