# Stok.ly (prebuilt connector)

## Description

**Stok.ly** provides seamless, multi-channel and multi-location order and warehouse management for retailers and wholesalers.&#x20;

## Authentication&#x20;

When adding connector instances for **Stok.ly**, the following authentication methods are supported:

* [OAuth 2 (client credentials)](#oauth-2-authorisation-code)

### OAuth 2 (client credentials)

When a user chooses to [add a connector instance](https://doc.wearepatchworks.com/product-documentation/connectors-and-instances/working-with-instances/adding-an-instance) using **OAuth 2 (client credentials)** authentication, the credentials below are prompted:

<table><thead><tr><th>Credential</th><th data-type="checkbox">Required?</th><th>Notes</th></tr></thead><tbody><tr><td><code>company id</code></td><td>true</td><td>Enter the id that you use to <a href="https://app.stok.ly/passport/signin">log into Stok.ly</a>.</td></tr><tr><td><code>scope</code></td><td>true</td><td></td></tr><tr><td><code>grant type</code></td><td>true</td><td>Leave set to <code>client_credentials</code></td></tr><tr><td><code>email</code></td><td>true</td><td>Enter the email address that you use to <a href="https://app.stok.ly/passport/signin">log into Stok.ly</a>.</td></tr><tr><td><code>password</code></td><td>true</td><td>Enter the password that you use to <a href="https://app.stok.ly/passport/signin">log into Stok.ly</a>.</td></tr><tr><td><code>response authentication token key</code></td><td>true</td><td>Leave set to <code>data.accessToken.value</code></td></tr></tbody></table>
