export const sendOwlWebhookImg = '/docs/images/integrations/sendowl-webhook.webp'
export const headerBackground = '/docs/images/headers/header_background.webp'
export const bentoLogoImg = '/docs/images/logos/bento-text-logo.svg'
export const LogoImg = '/docs/images/logos/send_owl.svg'


# Bento SendOwl Integration

<p />


## Overview

The Bento sendOwl Integration offers two core functionalities:
- **Event Tracking**: Automatically track key SendOwl events for your subscribers
- **Data Management**: Update user data and record lifetime value (LTV) metrics


## Requirements

1. An approved Bento account
2. A [SendOwl](https://www.sendowl.com/) account
3. The Bento tracking script - for user tracking on the website
4. Webhook endpoint - Syncs purchase events to Bento

## Tracking Script Installation


  
**1. In sendowl**

  Head to the `tracking script area` from the SendOwl menu.

  
**2. Copy the Tracking Script**

  Copy the Tracking Script. If it asks you to replace the `site_uuid` with your site uuid, do so from the Bento Teams screen.

  
**3. Paste the Tracking Script**

  In the Global Header text field paste in the tracking code. Double check that it looks the same as what you copied from Bento. 

  
**4. Save the Header**

  Click `save` and you are done.


<hr />

## Webhook Setup


  
**1. In Sendowl**

  In the SendOwl menu select `Settings`

  
**2. On the Settings screen**

  In the top tabs click `webhooks`, and click `Create Webhook` button to create a new webhook.

  
**3. Create the webhook**

  Give the webhook a name, like `Bento` or something similar.

  
**4. Set the state of the webhook**

  Make sure the state is set to `enabled`

  
**5. Set the Webhook URL**

  In the Webhook URL field, paste the Bento Webhook URL, be sure to substitute the `site_uuid` with the correct site you want to send events to from your account teams screen if it's not already there.

  
**6. Define the Event type**

  In the `events` drop down, select `order new`

  
**7. Save the Webhook**

  Save your new connection


<hr />

## How the connection works
When a user browses SendOwl site, you will see `$page` data appear in Bento. Once that user authenticates that data
will be attributed to the correct subscriber in Bento. When the user makes a purchase we will sync the data via the
webhook you configured to appear as a purchase event in Bento. This interaction allows you to track LTV, start
automations and flows based on purchase events and more.