# Castle

[Castle](https://castle.io) helps you monitor the user journey to isolate and fight fraud.

{% hint style="warning" %}
Client-side only integrations cannot be used in HIPAA mode.
{% endhint %}

## Destination Info

* Accepts [track](https://documentation.freshpaint.io/sources/precision-tracking) and [identify](https://documentation.freshpaint.io/readme/setting-up-identify) calls.
* Connection Modes:

<table><thead><tr><th align="right"> </th><th data-type="checkbox">Client-side</th><th data-type="checkbox">Server-side</th></tr></thead><tbody><tr><td align="right">Web</td><td>true</td><td>false</td></tr><tr><td align="right">Mobile</td><td>false</td><td>false</td></tr><tr><td align="right">Server</td><td>false</td><td>false</td></tr></tbody></table>

## What You'll Nee

## Getting Started

1. Navigate to the Castle destination configuration and click "Details".

<figure><img src="/files/Pb2Z42lDCXsG371dfFnp" alt=""><figcaption></figcaption></figure>

2. Configure your publishable Castle API key. You can find this in your settings page.

<figure><img src="/files/pXVKInTBa2gLgno1x90G" alt=""><figcaption></figcaption></figure>

3\. That's it! You should now see the [enabled status](https://documentation.freshpaint.io/readme/setting-up-your-destinations/enabling-and-disabling-a-destination) next to Castle.

## Identify

Once your integration is set up correctly, you should [set up identify calls.](https://documentation.freshpaint.io/readme/setting-up-identify)

## Events

#### Seeing Freshpaint Events in Castle

Once the Castle integration is enabled, you can now set it as an event destination


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.freshpaint.io/integrations/destinations/apps/castle.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
