# Finding service connector credentials for Mirakl

## Required credentials

To [add a Patchworks connector](https://doc.wearepatchworks.com/product-documentation/patchworks-services/service-connectors/adding-a-service-connector) for **Mirakl**, the following details are required for authentication:

<table><thead><tr><th>Credential</th><th data-type="checkbox">Required</th><th>Note</th></tr></thead><tbody><tr><td><a href="#store-name">Store Name</a></td><td>true</td><td>The <a href="#store-name">URL</a> that you use to log into your Mirakl portal. <br><br>Note that <strong>only the store name is required</strong>. For example: <br><code>patchworks-dev.mirakl.net</code> would be entered as:<br><code>patchworks-dev</code><br>Do not enter an <code>https://</code> prefix.</td></tr><tr><td><a href="#api-key">API Key</a></td><td>true</td><td>Obtained from <a href="#api-key">API Key settings in your Mirakl console</a>. </td></tr></tbody></table>

## Obtaining credentials

The credentials listed above are needed so that Patchworks can access the required data in **Mirakl**. To obtain these details, follow the steps below.

### Store name

This is the URL that you use to log into your **Mirakl** portal - for example:

```
patchworks-dev
```

{% hint style="info" %}
Note that **only the store name is required**. For example: `patchworks-dev.mirakl.net` would be entered as: `patchworks-dev.`
{% endhint %}

### API Key

**Step 1**\
Log into your **Mirakl console**.

**Step 2** \
Navigate to **my user settings** and then select the **API Key** tab:

<figure><img src="https://content.gitbook.com/content/5mpqoXPMbUuPa8JpCLWe/blobs/v6YxdlTuUmNeADmOyhlV/image.png" alt=""><figcaption></figcaption></figure>

**Step 3** \
Click the **Generate a new key** button and copy the resulting key to the clipboard.

**Step 4** \
Add this key to your password manager, ready for use in your Patchworks setup.
