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

# App Integration

> Technical guides for adding ParityDeals to your frontend.

## Integrate into your app

Adding ParityDeals to your app is simple. You can:

* Show a banner based on the user’s location
* Directly update the price

We support both plain JavaScript and React. Pick what fits your stack:

* [JavaScript Integration Guide](/frontend-integration/js-promotions-ui)
* [React Integration Guide](/frontend-integration/react-promotions-ui)

***

## Managing Promotions

You can edit a promotion at any time after it has been created.

1. Navigate to the **Promotions** list page.
2. Click the **three-dot menu** on the promotion you wish to edit and select the **"Edit"** option from the dropdown. (Alternatively, you can navigate to the promotion's detail page and find an "Edit" option there).
   <Frame>
     <img height="200" src="https://mintcdn.com/paritydeals/HOeRK5S-K-dPEGnP/images/promo-hub-edit-promotion-three-dot-menu.png?fit=max&auto=format&n=HOeRK5S-K-dPEGnP&q=85&s=c5b17fa9f533909837ffaf41ae4507d1" alt="Edit promotion three-dot menu" data-path="images/promo-hub-edit-promotion-three-dot-menu.png" />
   </Frame>
3. This action takes you back into the promotion editing flow where you update the details.
4. Click **"Update promo"** (or a similar button) to save your changes. Your updates will be reflected live for your users.

***

## Best Practices

* Always test your promotion setup on a staging environment before going live.
* Use clear, descriptive names for each promotion and discount rule.
* Regularly review and update your discount percentages to match market conditions.
* Use country overrides sparingly and only when necessary.
* Never expose secret identifiers in public code.

***

## Troubleshooting

**Discount not applied?**

* Check your product selection and country rules.
* Ensure the user is eligible for a discount based on your rules.
* For integrated platforms, verify your payment provider connection is active.

**Banner not showing?**

* Ensure your domain is whitelisted in the promotion settings.
* Make sure your API integration uses the correct identifier and parameters.

***
