# Ninetailed Cloud Mode Integration

{{< info >}}
RudderStack recommends sending events to Ninetailed in device mode over the cloud mode.
{{< /info >}}

After you have successfully instrumented Ninetailed as a destination in RudderStack, follow this guide to correctly send your events to Ninetailed in [cloud mode]({{< ref "/destinations/rudderstack-connection-modes.md#cloud-mode" >}}).

Find the open source transformer code for this destination in the [GitHub repository](https://github.com/rudderlabs/rudder-transformer/tree/main/src/cdk/v2/destinations/ninetailed).

{{< info >}}
RudderStack leverages the Ninetailed [Experience API](https://docs.ninetailed.io/for-developers/experience-api) for sending the events.
{{< /info >}}

## Identify

You can use the [`identify`]({{< ref "event-spec/standard-events/identify.md" >}}) call to create or update a user profile in Ninetailed.

A sample `identify` call is as shown:

```javascript
rudderanalytics.identify("12345", {
  firstname: "Alex",
  city: "New Orleans",
  country: "USA",
  phone: "8005550100",
  email: "alex@example.com"
})
```

## Track

You can use the [`track`]({{< ref "event-spec/standard-events/track.md" >}}) API to record user events and the associated properties.

A sample `track` call is as shown:

```javascript
rudderanalytics.track("Product Reviewed", {
  review_id: "86ac1cd43",
  product_id: "9578257311",
  rating: 3.0,
  review_body: "Good product."
});
```

<br />

