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

# How to enable secure JavaScript calls

Some integrations in Partnero use JavaScript to interact with your site or app. The **“Secure JS calls”** feature lets you safely enable JavaScript-based actions, such as creating customers or recording transactions, without requiring a full API integration.

Enabling these options ensures that only authorized JS calls are accepted, keeping your data secure while allowing Partnero to perform key actions directly on your site.

* **Enable customer creation via JS calls** – Allows Partnero to create new customers directly using JavaScript.
* **Enable transaction creation via JS calls** – Allows transactions to be tracked or created via JavaScript if other integrations like Stripe or Paddle aren’t available.

To enable secure JavaScript calls:

1. Open your program and go to **Integration** > **Security** tab: <img src="https://mintcdn.com/partnero/CUmAE4DHfWqM1kwF/images/articles/how-to-enable-secure-javascript-calls/e92137d1.webp?fit=max&auto=format&n=CUmAE4DHfWqM1kwF&q=85&s=c8ec1fbb43a3fefdc267cf2ba49ffbd6" alt="" width="2866" height="1554" data-path="images/articles/how-to-enable-secure-javascript-calls/e92137d1.webp" />
2. Scroll down to **Secure JS calls**.
3. Toggle to enable customer or partner creation via JS calls: <img src="https://mintcdn.com/partnero/CUmAE4DHfWqM1kwF/images/articles/how-to-enable-secure-javascript-calls/e92b1658.webp?fit=max&auto=format&n=CUmAE4DHfWqM1kwF&q=85&s=bd0c021cfe341fd8fa9f8a422bafe72c" alt="" width="2862" height="1538" data-path="images/articles/how-to-enable-secure-javascript-calls/e92b1658.webp" />
4. Click **Update**.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.