# How do I connect Keygen to my store?

Keygen issues a software licence key for every paid order: the buyer sees the key on the order page, and it is suspended if the order is cancelled or refunded.

## Steps

1. In the Keygen dashboard, copy your account ID from **Settings**, then create an admin token (or a product token for one product).
2. In Dropify, go to **Apps › Discover**, open **Keygen** and click **Install**.
3. On the app page, fill in **Account ID** and **Admin or product token** and click **Connect**.
4. Under **Products**, click **Map a product**, choose your Dropify product, the **Type** (Licence policy) and the Keygen item, then click **Save mapping**. Keep **Make the buyer the licence owner** on to make the buyer the licence owner in Keygen.
5. Under **Delivery**, choose **Deliver when**: **The order is paid** (recommended for cash on delivery: the buyer gets it once the cash is collected or the order is paid online) or **The order is confirmed** (before the cash is collected, at your own risk). Keep **Text the buyer a link** on to send the buyer a link to the order page.
6. Test it: open an order with the product and click **Manually mark this order as paid**. The delivery appears in **Latest deliveries** on the app page and in the **Digital delivery apps** card of the order; the buyer sees the code or access on the order page.

## Common problems

- "Keygen refused these credentials (or your plan has no API access)" → copy them again from your Keygen account.
- "Not delivered: the order is not paid yet" → mark the order paid or delivered, or choose **The order is confirmed**.
- A delivery shows Failed → read the reason, fix it, then click **Retry**: nothing is bought twice.
- "Keygen does not know this account" → copy the account ID again from **Settings** in Keygen.

## Related
- [How do I connect Reloadly to my store?](https://help.dropify.shop/en/products_import/reloadly/)
- [How do I connect SendOwl to my store?](https://help.dropify.shop/en/products_import/sendowl/)
- [How do I connect Thinkific to my store?](https://help.dropify.shop/en/products_import/thinkific/)
