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

# Connect Lightfield with API Key – StackOne Hub

> Link a Lightfield account in the StackOne Hub using API Key. End-user guide to authorize the integration and start using Lightfield actions.

> [!WARNING]
>
> Only Lightfield admins can create API keys.

## Create a Lightfield API key

Generate an API key in the Lightfield dashboard and paste it into StackOne.

**1. Open API key settings**

Sign in to Lightfield as an admin and go to Settings > API keys ([https://crm.lightfield.app/crm/settings/api-keys](https://crm.lightfield.app/crm/settings/api-keys)).

**2. Create the key and choose scopes**

Create a new key and select the scopes the integration needs, for example accounts:read, contacts:read, opportunities:read, notes:read and members:read, plus the create, update, delete and restore scopes for write actions.

**3. Copy the key**

Copy the key (it starts with sk\_lf\_). It is shown only once.

## Linking the Account from the Hub

**1. Navigate to the Hub**

Use one of the three [Linking Account Methods](/connect/managing-connectors/linking-accounts) to access the Hub.

**2. Fill out the fields**

Fill out the following fields using details from your provider:

<ul>
  <li>**API Key**</li>
</ul>

**3. Connect**

<ul>
  <li>Click **Connect**</li>
  <li>If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider's authorization flow.</li>
  <li>Once authorization is successful, you will see a confirmation popup</li>
</ul>

If the account linking is successful, you will see the newly linked account in your [Accounts](/gateway/concepts/linked-accounts) page.


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