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

# Tenderly

> Connect Tenderly to Clarion to receive smart contract monitoring alerts for AI-powered triage and response.

This guide walks you through connecting your Tenderly account to Clarion. By the end, Clarion will receive Tenderly alerts via webhooks and have API access to your Tenderly project for monitoring smart contracts and transactions.

***

## Prerequisites

* A Tenderly account with access to the project you want to monitor.
* Access to the Clarion dashboard.

***

## Step 1 - Generate a Tenderly Access Token

1. Open Tenderly and go to **Settings**.
2. Under settings, find the **Integrations** section and click **Generate Access Token**.
3. Give the token a descriptive name (e.g. `Clarion`).
4. Copy the access token immediately - it is only displayed once.

> Store this token somewhere safe temporarily. You'll need it in the next step and won't be able to view it again.

<Frame>
  <img src="https://mintcdn.com/cantina/kifdoYV8P1riBBH7/assets/clarion/tenderly/settings-integrations.png?fit=max&auto=format&n=kifdoYV8P1riBBH7&q=85&s=21a62d7b63cb7b31b967115dd51be445" alt="Settings Integrations" width="3050" height="1738" data-path="assets/clarion/tenderly/settings-integrations.png" />
</Frame>

<Frame>
  <img src="https://mintcdn.com/cantina/kifdoYV8P1riBBH7/assets/clarion/tenderly/generate-token.png?fit=max&auto=format&n=kifdoYV8P1riBBH7&q=85&s=dbe2f0cc859439654f9adec3d5f10f9b" alt="Generate Token" width="1326" height="630" data-path="assets/clarion/tenderly/generate-token.png" />
</Frame>

***

## Step 2 - Connect Tenderly to Clarion

1. In Clarion, navigate to **Integrations** and find the **Tenderly** integration.
2. Paste the access token you copied in Step 1 and click **Connect**.
3. Once connected, click **Configure** on the integration page.

<Frame>
  <img src="https://mintcdn.com/cantina/kifdoYV8P1riBBH7/assets/clarion/tenderly/clarion-connect.png?fit=max&auto=format&n=kifdoYV8P1riBBH7&q=85&s=712876049294104f2bffddac4d803a91" alt="Clarion Connect" width="2606" height="902" data-path="assets/clarion/tenderly/clarion-connect.png" />
</Frame>

***

## Step 3 - Create a Monitor in Clarion

1. Switch to the **Monitor** tab and click **Add New Monitor**.
2. Go back to Tenderly **Settings** and copy your **Account Slug** and **Project Slug**.
3. Paste both slugs into the corresponding fields in Clarion.
4. Leave the **Webhook Secret** field empty for now - you'll fill it in after setting up the webhook in Tenderly.
5. Click **Create Monitor**. Clarion will generate a webhook URL that you'll need in the next step.

> Copy the generated webhook URL - you'll use it to set up the destination in Tenderly.

<Frame>
  <img src="https://mintcdn.com/cantina/kifdoYV8P1riBBH7/assets/clarion/tenderly/add-monitor.png?fit=max&auto=format&n=kifdoYV8P1riBBH7&q=85&s=efe1a394951a7653e6f8043b73e7b16b" alt="Add Monitor" width="2182" height="1332" data-path="assets/clarion/tenderly/add-monitor.png" />
</Frame>

<Frame>
  <img src="https://mintcdn.com/cantina/kifdoYV8P1riBBH7/assets/clarion/tenderly/tenderly-slugs.png?fit=max&auto=format&n=kifdoYV8P1riBBH7&q=85&s=a60cea2bbadd57c069063f7990cbef93" alt="Tenderly Slugs" width="2128" height="1318" data-path="assets/clarion/tenderly/tenderly-slugs.png" />
</Frame>

<Frame>
  <img src="https://mintcdn.com/cantina/kifdoYV8P1riBBH7/assets/clarion/tenderly/monitor-config.png?fit=max&auto=format&n=kifdoYV8P1riBBH7&q=85&s=43c0ceac73382d220ed9bc1529063645" alt="Monitor Config" width="2344" height="1356" data-path="assets/clarion/tenderly/monitor-config.png" />
</Frame>

<Frame>
  <img src="https://mintcdn.com/cantina/kifdoYV8P1riBBH7/assets/clarion/tenderly/webhook-url-generated.png?fit=max&auto=format&n=kifdoYV8P1riBBH7&q=85&s=bd543d88e39048cadf4b08821f7ed52f" alt="Webhook URL Generated" width="1922" height="1098" data-path="assets/clarion/tenderly/webhook-url-generated.png" />
</Frame>

***

## Step 4 - Set Up the Webhook Destination in Tenderly

1. In Tenderly, go to **Alerts** and switch to the **Destinations** tab.
2. Select **Webhook** as the type under **Add Destination**.
3. Paste the webhook URL generated by Clarion in Step 3.
4. Save the destination. Once created, Tenderly will display a **Signing Secret** for this webhook.
5. Copy the **Signing Secret**.

<Frame>
  <img src="https://mintcdn.com/cantina/kifdoYV8P1riBBH7/assets/clarion/tenderly/destinations-tab.png?fit=max&auto=format&n=kifdoYV8P1riBBH7&q=85&s=64f269a15ebcbb5ef78f354dde795785" alt="Destinations Tab" width="3070" height="1522" data-path="assets/clarion/tenderly/destinations-tab.png" />
</Frame>

<Frame>
  <img src="https://mintcdn.com/cantina/kifdoYV8P1riBBH7/assets/clarion/tenderly/signing-secret.png?fit=max&auto=format&n=kifdoYV8P1riBBH7&q=85&s=0ffd7fc8e8c2d741884b588a12ec49bd" alt="Signing Secret" width="1840" height="740" data-path="assets/clarion/tenderly/signing-secret.png" />
</Frame>

***

## Step 5 - Add the Signing Secret to Clarion

1. Go back to Clarion and open the monitor you created in Step 3.
2. Click on the monitor.
3. Paste the **Signing Secret** from Tenderly into the **Webhook Signing Secret** field.
4. Save the monitor.

> Your Tenderly monitor is now fully configured and secured with the signing secret.

<Frame>
  <img src="https://mintcdn.com/cantina/kifdoYV8P1riBBH7/assets/clarion/tenderly/paste-signing-secret.png?fit=max&auto=format&n=kifdoYV8P1riBBH7&q=85&s=d6c3754815e2c50bc49873f766127de9" alt="Paste Signing Secret" width="1856" height="1788" data-path="assets/clarion/tenderly/paste-signing-secret.png" />
</Frame>

***

## Step 6 - Attach the Webhook to Your Alerts

1. In Tenderly, go to **Alerts** and review each alert rule that is defined.
2. For every alert you want Clarion to receive, edit the rule and ensure the Clarion webhook is set as a destination.

<Frame>
  <img src="https://mintcdn.com/cantina/kifdoYV8P1riBBH7/assets/clarion/tenderly/alert-destination.png?fit=max&auto=format&n=kifdoYV8P1riBBH7&q=85&s=2b1c0c076ce93169fbdbb01cd7380c22" alt="Alert Destination" width="3088" height="1812" data-path="assets/clarion/tenderly/alert-destination.png" />
</Frame>

***

> You're done! Clarion is now connected to Tenderly and will receive alerts for all configured monitors.
