> ## Documentation Index
> Fetch the complete documentation index at: https://docs.leen.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Arnica Instructions

> Instructions on how to generate credentials for Arnica.

For Leen to authenticate with Arnica, we require the following:

1. **Access Token**: Arnica API Key used to authenticate requests to Arnica.

Leen requires this access token to have the scope **risks:read**. In the following section, we will cover how to create an Arnica API Key with the minimum required permissions.

## Setup and Permissions

**1. Create a new API key**

From your Arnica Console, open up the sidebar menu and navigate to the **API** page.

![](https://mintcdn.com/leen/vQ2Rhs44KY1LGMJC/images/arnica/api-page.png?fit=max\&auto=format\&n=vQ2Rhs44KY1LGMJC\&q=85\&s=230a10044b8d8ac8748d5a2dfd279853)

Here, you can see a list of existing API Keys. If you already have an API key with the required permissions, you can use that. Otherwise, click on the **Create API key** button to create a new one.

![](https://mintcdn.com/leen/vQ2Rhs44KY1LGMJC/images/arnica/create-api-key.png?fit=max\&auto=format\&n=vQ2Rhs44KY1LGMJC\&q=85\&s=b6f6ebd95e50b2ca906539f6c28e3f9f)

**2. Select Permissions**

To create a new API Key, give it a name and select only the **risks:read** permissions.

![](https://mintcdn.com/leen/vQ2Rhs44KY1LGMJC/images/arnica/api-permissions.png?fit=max\&auto=format\&n=vQ2Rhs44KY1LGMJC\&q=85\&s=d998e908006719d5ddcef362a6e18035)

**3. Copy API Key**

Once you have selected the permissions and created the API key, copy the key and use it to create a new connection in Leen.

![](https://mintcdn.com/leen/vQ2Rhs44KY1LGMJC/images/arnica/api-key.png?fit=max\&auto=format\&n=vQ2Rhs44KY1LGMJC\&q=85\&s=78e998a62535a04b1fef5372209dfa1c)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.