# Setup Guide

This guide will help you set up Lemnisk as a destination in the RudderStack dashboard. It also lists the configuration settings required to correctly send data from the supported sources to Lemnisk.

## Connection compatibility

{{< destination-config >}}

## Get started

Once you have confirmed that the source platform supports sending events to Lemnisk, follow these steps:

1. From your [RudderStack dashboard](https://app.rudderstack.com/), add the source. Then, from the list of destinations, select **Lemnisk Marketing Automation**.
2. Assign a name to your destination and click **Continue**.

## Connection settings

To send events to Lemnisk via [cloud mode]({{< ref "/destinations/rudderstack-connection-modes.md#cloud-mode" >}}), you need to configure the following settings:

- **Cloud Mode**: Select one of the below options from the dropdown and enter the relevant details:

#### Web Cloud Mode

- **Write Key**: Enter the unique write key of your Lemnisk data source.
- **Region URL**: Enter the Lemnisk region URL.

#### Server-side Cloud Mode

- **X-API-Key**: Enter the Lemnisk X-API-Key.
- **X-API-PassKey**: Enter the Lemnisk X-API-PassKey.
- **Write Key**: Enter the unique write key of your Lemnisk data source.
- **Source ID**: Enter the Lemnisk Source ID.
- **Region URL**: Enter the Lemnisk region URL.

{{< info >}}
Contact your Lemnisk Customer Success Manager to obtain any of the above details.
{{< /info >}}

#### None of the above (Select this if you want to use device mode only)

- **Client-side Events Filtering**: This setting lets you specify which events should be blocked or allowed to flow through to Lemnisk. For more information on this setting, refer to the [Client-side Events Filtering]({{< ref "sources/event-streams/sdks/event-filtering.md" >}}) guide.
- **Consent management settings**: Configure the consent management settings for the specified source by choosing the **Consent management provider** from the dropdown and entering the relevant consent category IDs. See [Consent Management in RudderStack]({{< ref "data-governance/consent-management/overview.md" >}}) for more information on this feature.

The below settings are visible only when a JavaScript source is connected to Lemnisk:

- **Client ID**: Enter the unique ID generated for your Lemnisk account. Contact your Lemnisk Customer Success Manager to obtain the client ID.
- **Use device mode to send events:** Make sure this option is enabled if you want to send events using the [device mode]({{< ref "/destinations/rudderstack-connection-modes.md#device-mode" >}}).
- **Write Key**: Enter the unique write key of your Lemnisk data source.


## FAQ 

#### How do I verify if the events are passing to Lemnisk correctly?

You can verify the events coming via Rudderstack in the [Live Events]({{< ref "monitor/live-events.md" >}}) tab. In Lemnisk, go to **Sources** and click on a particular source. If the integration is successful, you can see the events under the **Live Events** section. Make sure that the event payload is correct.
