> 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](https://3003066501-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI8SarcXOcHBb2UKH3o8b%2Fuploads%2F18QX3ehzaHOfUN9YnNIe%2Fcreate-api-key.jpg?alt=media\&token=3eb19e0e-639a-43a2-b10c-c0175b7986fa)

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](https://3003066501-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI8SarcXOcHBb2UKH3o8b%2Fuploads%2FkKi5IjNjyM9JVNbzyB0a%2Fcopy-api-key.jpg?alt=media\&token=eb30e83c-d61d-48ee-8bd2-a772eaf79207)

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