# How to сonnect LemonSqueezy Webhooks to Pocket Alert for sales notifications?

> A few simple steps to set up push notifications for sales in LemonSqueezy

*29.01.2025*

<!-- source: https://pocketalert.app/blog/how-to-integrate-lemonsqueezy-into-pocketalert -->

When selling digital products with LemonSqueezy, staying updated on new sales is important. Instead of checking emails or refreshing your dashboard, push notifications let you receive instant updates on your phone.

[//]: # '# How to сonnect LemonSqueezy Webhooks to Pocket Alert for sales notifications'

## Create a webhook or use an existing one

More information on creating a webhook can be found at [link](https://pocketalert.app/blog/create-your-first-webhook-url).

## Add the webhook to LemonSqueezy

![grafana add webhook](https://cdn.pocketalert.app/guides/ecommerce/lemonsqueezy-webhook.gif)

1. Go to Settings
2. Go to Webhooks
3. Click on the "+" button
4. In the "Callback URL" field, paste the link copied from Pocket Alert
5. In the "Signing secret" field specify any set of letters and symbols
6. Specify the events you want to track
7. Click on the "Save Webhook" button

## Final setup

For an example in the webhook settings, you can use the following code:
```json
Woohoo! You made a sale!

Order: %data.attributes.order_id%
Date: %data.attributes.created_at%
Name: %data.attributes.user_name%
Email: %data.attributes.user_email%

Product: %data.attributes.product_name%
Variant: %data.attributes.variant_name%

Total: %data.attributes.subtotal_formatted%

```

## Conclusion

In this tutorial, we showed how to integrate push sales alerts from LemonSqueezy into Pocket Alert. We demonstrated how to create a new webhook, add it to LemonSqueezy.

We hope this guide has been helpful. If you have any questions, feel free to ask. We are here to help you. Thank you for reading.
