Find your account subdomain
Your account subdomain is the unique identifier in your Lacework FortiCNAPP URL and determines the API host.
- Check your browser address bar when signed in to the Lacework FortiCNAPP Console.
- Example: if your URL is
https://acme.lacework.net, your account subdomain isacme. - Enter only the subdomain — no
https://, no.lacework.net, and no trailing slash. - It is also available as the
accountvalue in the downloaded API key file (e.g.acme.lacework.net).
Create an API access key
Create an API access key in the Lacework FortiCNAPP Console, then download the key file — it contains the Key ID and Secret used to connect.
Sign in to Lacework FortiCNAPP
Sign in to your Lacework FortiCNAPP account (e.g., https://<your-subdomain>.lacework.net) with administrator privileges.
- Navigate to Settings > Configuration > API keys.
Create the key and download the file
Create a new API key in the API keys page, then download and store the key file securely. Each user can have up to 20 API keys.
- Create a new API key.
- Download the key file after creating the key, and store it securely.
- API Key ID: the
keyIdvalue from the downloaded key file. - API Secret: the
secretvalue from the downloaded key file.
Linking the Account from the Hub
Navigate to the Hub
Fill out the fields
- Account Subdomain
- API Key ID
- API Secret
If the account linking is successful, you will see the newly linked account in your Accounts page.