# Emarsys (prebuilt connector)

## Description

**Emarsys** is a customer engagement platform that helps marketers in a range of industries deliver personalised experiences.

## API documentation

API documentation for Emarsys (used to build this connector) can be found via the link below:

{% embed url="<https://dev.emarsys.com/docs/emarsys-api/0947127867701-what-s-new>" %}

## Authentication&#x20;

When adding connector instances for **Emarsys**, the following authentication methods are supported:

* [Token authentication](#token-authentication)

### Token authentication

When a user chooses to [add a connector instance](/product-documentation/connectors-and-instances/working-with-instances/adding-an-instance.md) using **token** authentication, the credentials below are prompted:

<table><thead><tr><th width="239">Credential</th><th width="148" data-type="checkbox">Required?</th><th>Note</th></tr></thead><tbody><tr><td>Username</td><td>true</td><td>The username associated with your Emarsys account.</td></tr><tr><td>Password</td><td>true</td><td>The password associated with your Emarsys account.</td></tr><tr><td>Token</td><td>false</td><td>No changes are required for this field - a token is auto-generated by a <a href="/pages/zYUQOG9fkSePyt6a4rat">pre-request script</a>.</td></tr></tbody></table>

## Required Additional setup

Having installed the Emarsys connector, some additional setup is required before it can be used. You need to [create a pre-request script and apply this to the connector](/product-documentation/connectors-and-instances/patchworks-connectors/emarsys-prebuilt-connector/emarsys-pre-request-script.md).

Having completed this setup, the Emarsys connector is ready to use. &#x20;


---

# 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/connectors-and-instances/patchworks-connectors/emarsys-prebuilt-connector.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.
