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

# LastPass

> Follow these steps to connect LastPass via the StackOne Hub successfully.

<Warning>
  Ensure you have Admin privileges for your LastPass Enterprise account.
</Warning>

If you've been directed to StackOne to integrate with LastPass, the following steps will help you understand the process and any necessary actions to configure successful integration.

## Get your LastPass CID (Account Number)

<Steps>
  <Step title="Log in to LastPass Admin Console">
    Log in to your LastPass Admin Console at [https://admin.lastpass.com](https://admin.lastpass.com)
  </Step>

  <Step title="Access Security Dashboard">
    On the left, click Security dashboard.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Security Dashboard" src="https://mintcdn.com/stackone-hub/WMxmqS-isIyZCNQU/images/lastpass/image1.png?fit=max&auto=format&n=WMxmqS-isIyZCNQU&q=85&s=0fa8dc1107fe9c11e1998328df1c0723" width="1920" height="599" data-path="images/lastpass/image1.png" />
    </Frame>
  </Step>

  <Step title="Locate CID">
    In the Security Dashboard, your CID is located next to "Account number". Store this safely.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="CID Location" src="https://mintcdn.com/stackone-hub/WMxmqS-isIyZCNQU/images/lastpass/image2.png?fit=max&auto=format&n=WMxmqS-isIyZCNQU&q=85&s=64389ba59503c6c7f5b6dffad517b4e5" width="1042" height="340" data-path="images/lastpass/image2.png" />
    </Frame>
  </Step>
</Steps>

## Get your LastPass Provisioning Hash

This token is required for accessing the LastPass Enterprise API.

<Steps>
  <Step title="Access Enterprise API">
    Within the Admin Console, click Advanced in the top navigation.
  </Step>

  <Step title="Navigate to Enterprise API">
    On the left, click Enterprise API.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Enterprise API" src="https://mintcdn.com/stackone-hub/WMxmqS-isIyZCNQU/images/lastpass/image3.png?fit=max&auto=format&n=WMxmqS-isIyZCNQU&q=85&s=87f16b14c7b9758cd66ea293b02bd8fd" width="1206" height="535" data-path="images/lastpass/image3.png" />
    </Frame>
  </Step>

  <Step title="Create Provisioning Hash">
    Click the Create your provisioning hash button. If this hash has already been generated but is lost, click the Reset your provisioning hash button.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Create Provisioning Hash" src="https://mintcdn.com/stackone-hub/WMxmqS-isIyZCNQU/images/lastpass/image4.png?fit=max&auto=format&n=WMxmqS-isIyZCNQU&q=85&s=24a29dbdfcbab45bad9b480f1ae12342" width="1913" height="535" data-path="images/lastpass/image4.png" />
    </Frame>
  </Step>

  <Step title="Handle Hash Reset Warning">
    If resetting the hash, a warning message will appear. Click Ok to proceed.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Reset Hash Warning" src="https://mintcdn.com/stackone-hub/WMxmqS-isIyZCNQU/images/lastpass/image5.png?fit=max&auto=format&n=WMxmqS-isIyZCNQU&q=85&s=3cbccb5f6b9429b011f507aaeec2f64e" width="768" height="417" data-path="images/lastpass/image5.png" />
    </Frame>
  </Step>

  <Step title="Copy Provisioning Hash">
    Your new provisioning hash will be displayed only once. Copy and store it safely.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Provisioning Hash" src="https://mintcdn.com/stackone-hub/7ld9431D4vubUUqN/images/lastpass/image6.png?fit=max&auto=format&n=7ld9431D4vubUUqN&q=85&s=8f8a89641a34c475d1b4ec03001604fe" width="1917" height="588" data-path="images/lastpass/image6.png" />
    </Frame>
  </Step>
</Steps>

## Connecting to StackOne

<Steps>
  <Step title="Enter Credentials">
    Upon reaching the Link Account page, enter your CID (Account Number) and Provisioning Hash from the previous steps.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Link Account" src="https://mintcdn.com/stackone-hub/7ld9431D4vubUUqN/images/lastpass/image7.png?fit=max&auto=format&n=7ld9431D4vubUUqN&q=85&s=5f06df5b71fd885cdfdd270ed7c78c87" width="484" height="482" data-path="images/lastpass/image7.png" />
    </Frame>
  </Step>

  <Step title="Connect">
    Proceed by clicking the Connect button.
  </Step>
</Steps>

## Available data

This integration has the following [IAM Resources](https://docs.stackone.com/reference/iam_list_users) available from the provider:

<ul>
  <li>Users</li>
  <li>Roles</li>
  <li>Groups</li>
  <li>Policies</li>
</ul>

## Useful Links

<Card title="API Reference" icon="link" href="https://support.lastpass.com/s/document-item?language=en_US&bundleId=lastpass&topicId=LastPass/use-provisioning-api.html&_LANG=enus">
  [https://support.lastpass.com/s/document-item?language=en\_US\&bundleId=lastpass\&topicId=LastPass/use-provisioning-api.html&\_LANG=enus](https://support.lastpass.com/s/document-item?language=en_US\&bundleId=lastpass\&topicId=LastPass/use-provisioning-api.html&_LANG=enus)
</Card>
