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

# Connecting LastPass to Neo

> Save a client's LastPass account number and provisioning hash in Neo and turn LastPass on per agent

You connect LastPass once for each client that uses it. Neo calls LastPass's Enterprise API, which LastPass Business accounts have, with the client's account number and its provisioning hash.

## 1. Copy the account number and provisioning hash

**1. Open the Admin Console**

Sign in to the client's [LastPass Admin Console](https://admin.lastpass.com) as an admin.

**2. Open Advanced > Enterprise API**

The page shows the **account number** (CID) and the **provisioning hash**. Copy both.

> [!WARNING]
>
> **Reset your provisioning hash** makes a new hash and ends the old one everywhere it is used, such as a directory sync tool. Reset it only if no other tool uses it, or update those tools too. If the page has no reset option, the hash is managed in the LastPass AD Connector settings.

## 2. Add the account in Neo

**1. Open Integrations**

In the Neo Dashboard, open [**Integrations** → **LastPass**](https://dashboard.neoagent.io/integrations?open=lastpass), under Access Management.

**2. Pick the client**

In **Customer**, choose the client this LastPass account belongs to. The client must be on your **Companies** tab. For a second client, click **Add customer**.

**3. Save**

Choose the **Data centre**: **US** if the client's vault opens at lastpass.com, **EU** if it opens at lastpass.eu. Enter the **Account number** and the **Provisioning hash**, then click **Save settings**. Neo reads one user from LastPass before saving, so a wrong number, hash or data centre is rejected straight away.

## 3. Turn LastPass on per agent

Open the agent, go to its **Tools & Settings** tab, click **Access Management**, and expand the **LastPass** block. Pick a preset, or set each area yourself:

| Area | Access levels | Covers |
| - | - | - |
| **Users** | Disabled, Read Only, Read / Write | Users with their status, groups and last login; adding a user (which takes a licence), changing their name or email, enabling, disabling, reinviting, removing and deleting a user |
| **Groups & Shared Folders** | Disabled, Read Only, Read / Write | Shared folders with the users who reach them; adding users to groups and removing them |
| **Sign-in, MFA & Events** | Disabled, Read Only, Read / Write | The event report; password reset emails, a required master password change, signing a user out everywhere, turning off multifactor sign-in |

| Preset | What it does |
| - | - |
| **Read Only** | Reads everything and changes nothing |
| **Helpdesk** | Reads everything; every change asks a technician first |
| **IT Admin** | Adds, changes and offboards users and sends sign-in emails on its own; group changes, a new user's groups included, ask a technician first |
| **Full Automation** | Every change with no approval, apart from the ones below |

These always ask a technician, whatever the preset: deleting a user's account with its vault, turning off a user's multifactor sign-in, and adding a user with a master password set. Neo adds a new user with no password, so LastPass emails them an invitation to choose their own.

> [!NOTE]
>
> An onboarding agent needs **Users** on Read / Write, and **Groups & Shared Folders** on Read / Write if it puts new users in groups. LastPass has no API that reports free licences: when the account has none, LastPass does not add the user, and the agent tells the technician on the ticket.

See [LastPass API](https://docs.neoagent.io/agents/tools/security/lastpass-api.md) for what the agent can do.


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