# 🎟️ LICENSE KEY • How to generate a license key automatically for a digital product?

> **✅ Success**
>
> When you attach a file (by going to the Digital Products tab), there is a checkbox to generate a unique and random license key for each purchase. **Just make sure you follow the guide below to properly tag and assign license keys**

[→ How to configure and sell license keys?](https://digitaldownloadapp.orka.help/a/how-to-configure-and-sell-license-keys.md)

![](https://orka-chat.fra1.cdn.digitaloceanspaces.com/prod/help/671a5f2a5d077ea954b2cdfd/import/1791910849605-spaces-6E2RYbkHaFzNulwI9D72-uploads-wjVgbDFwpn6fMK51QT9M-image.webp)
