# Xendit

Log in to your Xendit dashboard and open your API or developer settings.

- Log in to your [Xendit dashboard](https://dashboard.xendit.co/home) and open your API or developer settings.
- Copy your `Secret key`.
- When generating the secret key, grant `Write` permission for Xendit's money-in / payment features. Avoid granting broader permissions than necessary for this integration.
- Add it into the admin panel under `Settings > Payments > Processors > Xendit`.
- In your Xendit dashboard, configure the webhook / callback URL and generate or copy the matching callback token.
- Copy the webhook token into `Settings > Payments > Processors > Xendit > Webhook token`.
