> ## 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.

# Mend

> Instructions to create a service user and authenticate with Mend API 3.0

## Supported Data Models

* [Vulnerability Findings](/integrations/vulnerability-findings-v2)
  * type: `code`
  * type: `dependency`
  * type: `container`

* Resources
  * type: `branch`
  * type: `container`

## Required Parameters

These parameters are mandatory for the connector to authenticate and function properly.

| Variable            | Description                                                                                                                                                               |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `MEND_ORG_UUID`     | Your Mend Organization UUID (From Administration → General Configuration)                                                                                                 |
| `MEND_USER_EMAIL`   | Email address of the Mend user or service user                                                                                                                            |
| `MEND_USER_KEY`     | API key generated for the Mend user or service user                                                                                                                       |
| `MEND_API_BASE_URL` | Base URL for Mend API. Identify your base URLs according to your Mend environment to use for Mend API 3.0: `https://api-<your-instance>` e.g.: `https://api-saas.mend.io` |

## Onboarding Mend

Follow the steps below to onboard your environment to our Mend integration.

<Steps>
  <Step title="Access Mend Platform Administration">
    1. Go to the Mend Platform dashboard.
    2. Click the **Settings** (gear icon) and select **Administration**.
    3. On the **General Configuration** screen, copy the **Organization UUID** and save it.

           <img src="https://mintcdn.com/leen/vQ2Rhs44KY1LGMJC/images/mend/get-organization-uuid.png?fit=max&auto=format&n=vQ2Rhs44KY1LGMJC&q=85&s=41434f13bd781030f4586de6fd925a22" alt="Get Org UUID" width="2403" height="873" data-path="images/mend/get-organization-uuid.png" />
  </Step>

  <Step title="Create a Service User">
    1. Navigate to the **Users** tab and click **Add Service User**.
    2. Fill in the **User Name**.
    3. The **Email Address** will be auto-generated — leave it as is.

    <Warning>
      Email notifications are disabled for service users; this address is for reporting purposes only.
    </Warning>

    4. Click **OK** to create the service user.

           <img src="https://mintcdn.com/leen/vQ2Rhs44KY1LGMJC/images/mend/create-service-user.png?fit=max&auto=format&n=vQ2Rhs44KY1LGMJC&q=85&s=89c000bd8f318d69fde198290aa7c381" alt="Create Service User" width="2398" height="1003" data-path="images/mend/create-service-user.png" />
  </Step>

  <Step title="Retrieve User Key">
    1. In the **Users** table, find the newly created user.
    2. Click the three dots next to it and select **Copy User Key**.
    3. Save the following details securely:
       * `ORG_UUID`
       * `USER_EMAIL` (auto-generated)
       * `USER_KEY` (authentication token)
  </Step>
</Steps>
