> For the complete documentation index, see [llms.txt](https://docs.mattermix.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mattermix.com/api/create-api-key.md).

# Create API key

Creating an API key is necessary for using the Mattermix API. To create one, head to the *API* tab in your *Account* and click on the *Create key* button to create a new API key.

![Create a new API key for Mattermix](/files/DkZKDwzrUzMxb6RsuAxl)

Once the new API key is created, a modal will open with the new key. For added security, this is the only time you can view the key, so copy the value and keep it in a secure place. **Treat your API key like a password and do not expose or share it with anyone**.

{% hint style="warning" %}
**Warning:** Delete your API key and create a new one if it is accidentally shared or exposed to the public.
{% endhint %}

![Copy your new API key for Mattermix](/files/8DN6FvzAZva51cGln8lA)

You can now use your API key to [authenticate API requests](/api/authentication.md).
