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

# Lacework

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

> [!WARNING]
>
> Ensure you have Admin privileges for your Lacework account.

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

**1. 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`

## Generating the API Key and Secret

**1. Go to Settings**

Click on the  Settings from left menu and then select `CONFIGURATION > API keys`.

![Lacework settings](https://mintcdn.com/stackone-hub/WMxmqS-isIyZCNQU/images/lacework/image1.png?fit=max\&auto=format\&n=WMxmqS-isIyZCNQU\&q=85\&s=a7a54e5f593dd83cf54dd57dfbcef43a)

**2. Generate the API Key and Secret**

To Generate the API Key and Secret, select `User API keys` tab and click on the  **Add New** button.

![User API Keys](https://mintcdn.com/stackone-hub/WMxmqS-isIyZCNQU/images/lacework/image2.png?fit=max\&auto=format\&n=WMxmqS-isIyZCNQU\&q=85\&s=141003bd30ee35949ac6b51e5914d67e)

**3. Fill the API Key Details**

Enter the API Key Name and Description and click on the **Save** button.

![API Key Details](https://mintcdn.com/stackone-hub/WMxmqS-isIyZCNQU/images/lacework/image3.png?fit=max\&auto=format\&n=WMxmqS-isIyZCNQU\&q=85\&s=cae4bae371e732fcaf2ae5750b8f9bd8)

**4. 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.

![User API Keys](https://mintcdn.com/stackone-hub/WMxmqS-isIyZCNQU/images/lacework/image4.png?fit=max\&auto=format\&n=WMxmqS-isIyZCNQU\&q=85\&s=4498db6172d1be87cd7acf77782f43bf)

## Connecting to StackOne

**1. 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>

![Link Account](https://mintcdn.com/stackone-hub/WMxmqS-isIyZCNQU/images/lacework/image5.png?fit=max\&auto=format\&n=WMxmqS-isIyZCNQU\&q=85\&s=6884468d8cdc6e5205a61a5e77e0fdae)

**2. Connect**

Proceed by clicking the Connect button.

## 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] [Lacework API 2.0 Documentation](https://docs.lacework.net/api/v2/docs)
>
> [https://docs.lacework.net/api/v2/docs](https://docs.lacework.net/api/v2/docs)

> [card] [API Keys](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)


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