> For the complete documentation index, see [llms.txt](https://developer.musehub.com/muse-partners-help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.musehub.com/muse-partners-help/getting-started/generate-api-keys.md).

# Generate API Keys

Generate Muse API keys for use within your products

Paid apps and plugins distributed via MuseHub are protected with Muse DRM or integrate the Muse SDK. Both need a user-specific API key for the `musedrm` tool. Free products need neither.&#x20;

Click your profile icon in the Partner Portal, and then click "Settings".&#x20;

Click "Add API Key" to generate a new API key. You can set an optional expiry date, if you require.

You can revoke API keys at any point by clicking the trash can icon next to a key.

{% hint style="info" %}
**Note:** API keys are private and can only be downloaded once. After downloading the key, store it in a safe place. Remember to revoke a key immediately if it becomes lost or compromised.
{% endhint %}
