# Skalin Destination

## Destination Info

* Accepts [Page](/docs/segment/connections/spec/page), [Identify](/docs/segment/connections/spec/identify), [Track](/docs/segment/connections/spec/track) calls.
* Refer to it as **Skalin** in the [Integrations object.](/docs/segment/guides/filtering-data/#filtering-with-the-integrations-object)
* This integration is **partner owned.** Please reach out to the partner's support for any issues.

[Skalin](https://skalin.io/?utm_source=segmentio\&utm_medium=docs\&utm_campaign=partners) calculates your customer health score and alerts you as needed. This allows you to be more proactive, save time, and generate more revenue.

This destination is maintained by Skalin. For any issues with the destination, [contact the Skalin Support team](mailto:contact@skalin.io).

## Getting Started

1. From the Destinations catalog page in the Segment App, click **Add Destination**.
2. Search for **Skalin** in the Destinations Catalog, and select the **Skalin** destination.
3. Choose which Source should send data to the Skalin destination.
4. Go to the [Segment integration page in the Skalin platform](https://app.skalin.io/#/integration/segment), and click **Connect** to create a configuration. Find and copy the **API Key** and and **Skalin Client ID** in the Segment connection section.
5. Enter the **API Key** and **ClientID** in the Skalin destination settings in Segment.

## Supported methods

Skalin supports the following methods, as specified in the [Segment Spec](/docs/segment/connections/spec).

### Page

Send [Page](/docs/segment/connections/spec/page) calls to Skalin. For example:

```js
analytics.page('myFeature')
```

Segment sends Page calls to Skalin as a `feature`.

### Screen

Send [Screen](/docs/segment/connections/spec/screen) calls to Skalin. For example:

```objc
[[SEGAnalytics sharedAnalytics] screen:@"Home"];
```

Segment sends Screen calls to Skalin as a `feature`.

### Identify

Send [Identify](/docs/segment/connections/spec/identify) calls to Skalin. For example:

```js
analytics.identify('userId123', {
  email: 'john.doe@example.com'
});
```

Optionally, you can provide your CustomerID:

```js
analytics.identify('userId123', {
  email: 'john.doe@example.com',
  trait: {
      groupId: 'myCustomerID'
  }
});
```

Segment sends Identify calls to Skalin as an `identity`.

### Track

Send [Track](/docs/segment/connections/spec/track) calls to Skalin. For example:

```js
analytics.track('myFeature')
```

Segment sends Track calls to Skalin as a `feature` event.

## Engage

You can send computed traits and audiences generated using [Engage](/docs/segment/engage) to this destination as a **user property**. To learn more about Engage, schedule a [demo](https://segment.com/contact/demo).

For user-property destinations, an [identify](/docs/segment/connections/spec/identify/) call is sent to the destination for each user being added and removed. The property name is the snake\_cased version of the audience name, with a true/false value to indicate membership. For example, when a user first completes an order in the last 30 days, Engage sends an Identify call with the property `order_completed_last_30days: true`. When the user no longer satisfies this condition (for example, it's been more than 30 days since their last order), Engage sets that value to `false`.

When you first create an audience, Engage sends an Identify call for every user in that audience. Later audience syncs only send updates for users whose membership has changed since the last sync.

> \[!NOTE]
>
> Real-time audience syncs to Skalin  may take six or more hours for the initial sync to complete. Upon completion, a sync frequency of two to three hours is expected.

## Settings

Segment lets you change these destination settings from the Segment app without having to touch any code.

| Field     | Description                                               | Required | Type   |
| --------- | --------------------------------------------------------- | -------- | ------ |
| API Key   | You can find API Key in Integrations > Segment.io section | Yes      | string |
| Client ID | Your Skalin's Client ID (in General settings)             | Yes      | string |
