# Rupt (Actions) Destination

[Rupt](https://rupt.dev?utm_source=segment.com\&utm_medium=docs\&utm_campaign=partners) helps customers monitor and monetize account sharing.

## Benefits of Rupt (Actions)

Rupt (Actions) provides the following benefits:

* **Account sharing detection**. Find out exactly which accounts are being shared and how many people are sharing them.
* **Convert & monetize account sharers**. Prebuilt UI to convert account sharers into paying customers.
* **Track account sharing revenue**. Track revenue from account sharing conversions.

## Getting started

1. From the Segment web app, click **Catalog**, then click **Destinations**.
2. Search for *Rupt (Actions)* and select it.
3. Click **Configure Rupt (Actions)**.
4. Select an existing Source to connect to Rupt (Actions).
5. Copy your **API key Client ID** from the [Rupt dashboard](https://dashboard.rupt.dev?utm_source=segment.com\&utm_medium=docs\&utm_campaign=partners).
6. Add your API key to the Rupt (Actions) settings in Segment.

## Destination Settings

| Field           | Description                                                                                        | Required | Type   |
| --------------- | -------------------------------------------------------------------------------------------------- | -------- | ------ |
| Client ID       | The API client id of your Rupt project.                                                            | Yes      | string |
| Logout URL      | A URL to redirect the user to if they choose to logout or if they are removed by a verified owner. | No       | string |
| New Account URL | A URL to redirect the user to if they want to stop account sharing and create a new account.       | Yes      | string |
| Success URL     | A URL to redirect the user to if they are successfully verified and are within the device limit.   | No       | string |
| Suspended URL   | A URL to redirect the user to if they are suspended.                                               | No       | string |

## Available Presets

Rupt has the following presets

| Preset Name   | Trigger             | Default Action |
| ------------- | ------------------- | -------------- |
| Attach Device | Event type = 'page' | Attach Device  |

## Available Actions

Build your own Mappings. Combine supported [triggers](/docs/segment/connections/destinations/actions/#components-of-a-destination-action) with the following Rupt-supported actions:

> \[!NOTE]
>
> Individual destination instances have support a maximum of 50 mappings.

* [Attach Device](#attach-device)

### Attach Device

Attach a device to an account.

Attach Device is a **Web** action. The default Trigger is `type = "page"`

| Field        | Description                                             | Required | Type    |
| ------------ | ------------------------------------------------------- | -------- | ------- |
| Account      | The account to attach the device to.                    | Yes      | STRING  |
| Email        | The email of the user to attach the device to.          | No       | STRING  |
| Phone        | The phone number of the user to attach the device to.   | No       | STRING  |
| Metadata     | Metadata to attach to the device.                       | No       | OBJECT  |
| Include Page | Whether to include the page (url) in the attach request | No       | BOOLEAN |

To learn more about how Rupt works, see: [How account sharing prevention works](https://www.rupt.dev/docs/how-account-sharing-prevention-works?utm_source=segment.com\&utm_medium=docs\&utm_campaign=partners).
