# Finding service connector credentials for Emarsys (FTP)

## Required credentials

To [add a Patchworks connector](/product-documentation/patchworks-services/service-connectors/adding-a-service-connector.md) for **Emarsys**, 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="#username-and-secret">Username</a></td><td>true</td><td>Generated when a <a href="#username-and-secret">new API is added to the Emarsys dashboard</a>.</td></tr><tr><td><a href="#username-and-secret">Secret</a></td><td>true</td><td>Generated when a <a href="#username-and-secret">new API is added to the Emarsys dashboard</a>.</td></tr><tr><td><a href="#ftp-details">FTP Host</a></td><td>true</td><td>-</td></tr><tr><td><a href="#ftp-details">FTP Port</a></td><td>true</td><td>-</td></tr><tr><td><a href="#ftp-details">FTP Username</a></td><td>true</td><td></td></tr><tr><td><a href="#ftp-details">FTP Password</a></td><td>true</td><td>-</td></tr><tr><td><a href="#ftp-details">FTP Mode</a></td><td>true</td><td>-</td></tr></tbody></table>

{% hint style="info" %}
Emarsys is both an API and FTP connector. Some data is uploaded to an S3 bucket (via FTP) for Emarsys to retrieve, but all other aspects are handled via the API.
{% endhint %}

## Obtaining credentials

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

### Username & Secret

**Step 1**\
In your browser, open the URL that you use to access the **Emarsys** dashboard.

**Step 2**\
Select **management** from the left-hand navigation menu, then select **user management**:\
\
![](/files/hGXYvhsZyzgoxchdLQq0)<br>

**Step 3**\
Select **API** from the left-hand navigation menu, then click the **create API user** button:

<figure><img src="/files/QuTXTzCWTmcMuGHuk191" alt=""><figcaption></figcaption></figure>

**Step 4**\
When prompted, confirm that you wish to proceed:\
\
![](/files/ci3NDgxuG14DWMRStPyL)

**Step 5**\
A new API user is created - the username and secret are displayed:

<figure><img src="/files/I4rScj9OW1xKq69q7rf1" alt=""><figcaption></figcaption></figure>

**Step 6**\
Add this information to your password manager - these details can't be retrieved once this window is closed, so make sure they're safe.

### FTP details

Please contact Patchworks support for advice on the required FTP setup.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.wearepatchworks.com/product-documentation/patchworks-services/service-systems/supported-service-systems/emarsys-service-connector/finding-service-connector-credentials-for-emarsys-ftp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
