> ## Documentation Index
> Fetch the complete documentation index at: https://moengage.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Web device mode

# Setup MoEngage

To setup MoEngage, do the following :

1. Navigate to MoEngage Dashboard > Settings > General.
2. Copy the Workspace ID (earlier AppID).
3. Go to **Twilio Segment dashboard** , go to **Integrations** and select **MoEngage**.
4. Enable MoEngage Integration.
5. Go to MoEngage Settings and enter the MoEngage Workspace ID (earlier App ID), obtained in **Step1**.
6. Save the changes.

<img src="https://mintcdn.com/moengage/Bd87UYpsGgaHFmzr/images/partner_27905390990100.png?fit=max&auto=format&n=Bd87UYpsGgaHFmzr&q=85&s=880fc81c3cccd196b57c8afccbbc2cef" alt="e518833-segmentSetup.png" width="2806" height="1562" data-path="images/partner_27905390990100.png" />

# Using additional configurations

### Data Center

To set the data center apart from the default (dc-01), you need to add this in your localstorage

`moe_Twiliosegment_cluster: dc_X` (where X can be a number based on the dashboard host)

Use this helper code to set it: `localStorage.setItem('moe_Twiliosegment_cluster', {dataCenter})` replace {dataCenter} with its proper value.

Follow this table to get the value of your data center:

| Dashboard host            | Data Center |
| ------------------------- | ----------- |
| dashboard-01.moengage.com | DC\_1       |
| dashboard-02.moengage.com | DC\_2       |
| dashboard-03.moengage.com | DC\_3       |
| dashboard-04.moengage.com | DC\_4       |
| dashboard-06.moengage.com | DC\_6       |

# SDK Integration & Data Tracking

To install Twilio Segment on your website, kindly refer to [Install SDK](https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/quickstart/#step-2-copy-the-segment-snippet).

To track user properties, kindly refer to [Track User Properties](https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/#identify).

To track user behaviour, kindly refer to [Track User Behaviour](https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/#track).

# Push Integration

To integrate push notifications on your website, kindly refer to [Setting up web push](https://www.moengage.com/docs/developer-guide/web-sdk/web-push/configure-and-integrate-web-push)
