# Rudderstack

RudderStack is an open-source, customer data platform that helps companies collect, manage, and route customer data from multiple sources to various destinations. It provides a unified platform for event tracking, user segmentation, and data activation.

Lemnisk is integrated with RudderStack as a destination to reduce the burden for engineers by streaming the event pipelines to Lemnisk directly. Now the customers who are using Rudderstack as a CDP can send events back to Lemnisk and use it to create segments and run marketing automation use cases.&#x20;

## **Connection Modes**

<table><thead><tr><th>Connection</th><th width="160">Web</th><th width="188">Mobile</th><th>Server</th></tr></thead><tbody><tr><td><strong>Device Mode</strong></td><td>​✅</td><td>🚫</td><td>NA</td></tr><tr><td><strong>Cloud Mode</strong></td><td>​✅</td><td>​✅</td><td>✅</td></tr><tr><td></td><td></td><td></td><td></td></tr></tbody></table>

### **Setting up Rudderstack as a Destination**

**Step 1:** Create an account at [rudderstack.com](http://rudderstack.com/) (it's free)&#x20;

**Step 2:** Once logged in, Go to **Connect > Destinations** and click on **New Destination**.&#x20;

**Step 3:** Search for **Lemnisk Marketing Automation** and configure the destination.

**Step 4:** To configure Lemnisk, you have to choose between Web Cloud Mode and Server-side Cloud Mode.

**Step 5: Web Cloud Mode** - You can send events from the App and Web via cloud mode to Lemnisk. To do so, you need the Write Key and Region URL\
**Server-Side Cloud Mode** - You can send events via HTTP API. For that, you need  X-API-Key, X-API-Passkey, and Region URL

**Step 6:** Once the destination is configured, you can activate it and the events coming to Rudderstack should stream to Lemnisk. You can verify it in the **Live Events** section for that particular source in Lemnisk.

<figure><img src="https://1782533751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FazJDZwzHkmWIbkYOetQH%2Fuploads%2FdT8KLmwfCOeC2ManRupD%2Frudder%20stack.gif?alt=media&#x26;token=74a94fe9-8006-49b9-a52f-fa84bd482f1d" alt=""><figcaption><p><em>Gif: Setting up Rudderstack as destination</em></p></figcaption></figure>
