> ## Documentation Index
> Fetch the complete documentation index at: https://stackone-hub-docs-confluence-api-token-update.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Lacework

> Follow these steps to connect Lacework with StackOne Hub successfully.

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

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

## Get Your Lacework Domain name

<Steps>
  <Step title="Log in to Lacework">
    Log in to your Lacework Dashboard. Your Domain name is found in the URL.

    Given the URL: `https://my-domain.lacework.net/ui/investigation/Dashboard`

    The Domain is `my-domain`
  </Step>
</Steps>

## Generating the API Key and Secret

<Steps>
  <Step title="Go to Settings">
    Click on the <Icon icon="gear" iconType="regular" /> Settings from left menu and then select `CONFIGURATION > API keys`.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Lacework settings" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/xv17FcN7H2RPwPLf/images/lacework/image1.png?fit=max&auto=format&n=xv17FcN7H2RPwPLf&q=85&s=1db4c8befa9f9444e470d9e9889ff588" width="442" height="835" data-path="images/lacework/image1.png" />
    </Frame>
  </Step>

  <Step title="Generate the API Key and Secret">
    To Generate the API Key and Secret, select `User API keys` tab and click on the <Icon icon="plus" iconType="regular" /> <b>Add New</b> button.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="User API Keys" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/xv17FcN7H2RPwPLf/images/lacework/image2.png?fit=max&auto=format&n=xv17FcN7H2RPwPLf&q=85&s=cba82665fdcb33c175ff1cc986352b66" width="1181" height="242" data-path="images/lacework/image2.png" />
    </Frame>
  </Step>

  <Step title="Fill the API Key Details">
    Enter the API Key Name and Description and click on the <b>Save</b> button.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="API Key Details" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/xv17FcN7H2RPwPLf/images/lacework/image3.png?fit=max&auto=format&n=xv17FcN7H2RPwPLf&q=85&s=cee90c54423b9ebaf1e1d7530e428391" width="1184" height="523" data-path="images/lacework/image3.png" />
    </Frame>
  </Step>

  <Step title="Get the API Key id and Secret">
    Your API Key will now be listed here. Via the three-dots menu in front of your API Key, click on `Download`. A JSON file with API Key id and Secret will be downloaded now. Store it to a safe place to be used in the next step.

    <Frame>
      <img className="rounded-md" style={{ width: '400px', margin: '0 auto', border: '1px solid #efefef' }} alt="User API Keys" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/xv17FcN7H2RPwPLf/images/lacework/image4.png?fit=max&auto=format&n=xv17FcN7H2RPwPLf&q=85&s=2653556c07277ede4b5378b1a133dceb" width="1673" height="813" data-path="images/lacework/image4.png" />
    </Frame>
  </Step>
</Steps>

## Connecting to StackOne

<Steps>
  <Step title="Enter Authentication Details">
    Upon reaching the Link Account page, enter the following authentication details from the previous steps:

    <ul>
      <li>Access Key Id</li>
      <li>Secret Access Key</li>
      <li>Domain</li>
    </ul>

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Link Account" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/xv17FcN7H2RPwPLf/images/lacework/image5.png?fit=max&auto=format&n=xv17FcN7H2RPwPLf&q=85&s=3f782bda91dd9f6be052e0c365a7cff9" width="489" height="669" data-path="images/lacework/image5.png" />
    </Frame>
  </Step>

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

<br />

Congratulations, you're all set! If you face any issues with the steps mentioned above,
please contact us by emailing [integrations@stackone.com](mailto:integrations@stackone.com). We're always here to assist you!

## 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>
</ul>

## Useful Links

<Card title="Lacework API 2.0 Documentation" icon="link" href="https://docs.lacework.net/api/v2/docs">
  [https://docs.lacework.net/api/v2/docs](https://docs.lacework.net/api/v2/docs)
</Card>

<Card title="API Keys" icon="link" href="https://docs.lacework.net/administrator-guide/api-access-keys#api-keys">
  [https://docs.lacework.net/administrator-guide/api-access-keys#api-keys](https://docs.lacework.net/administrator-guide/api-access-keys#api-keys)
</Card>
