# Razorpay

Log in to your Razorpay developer account at the Razorpay Developer Portal.

- Log in to your Razorpay developer account at the [Razorpay Developer Portal](https://dashboard.razorpay.com/app/dashboard).
- Navigate to [Websites & API Keys](https://dashboard.razorpay.com/app/website-app-settings/business-website-details).
- Create your **API Keys**.
- Copy the `API Key` and `API Secret Key`, then add them in the admin panel under `Settings > Payments > Processors > Razorpay`.
- To set up your webhooks, navigate to [Webhooks](https://dashboard.razorpay.com/app/website-app-settings/webhooks).
- Click **Add New Webhook**.
- Copy your `Webhook URL` from the admin panel and paste it into the **Webhook URL** field.
- Generate a webhook secret, and enter the same value in both the **Secret** field on the Razorpay dashboard and in the admin panel under `Settings > Payments > Processors > Razorpay`.
- Set an **Alert Email** based on your preference.
- Under **Active Events**, enable all events under: `Payment Events`, `Refund Events`, and `Payment_Link Events`.
- Click **Create Webhook**.
