> ## 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 Leexi with API Key – StackOne Hub

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

Select Actions to adjust the guideSome actions may require additional configuration in the provider to be accessible. Choose the actions you need and the guide will be updated.

Select all
Clear

ActionScope(s)

Loading actions...No actions match your search.

Dynamic Guide URL

Copy URL

Scopes Selected

<pre role="textbox" aria-readonly="true" tabIndex="0" />

Separator

Copy scopes

## Create the API key

The public API is included from the Leexi AI Meeting plan; a company on Starter cannot use it. Create the key as a Super admin, or as a System admin when the company has the Governance add-on.

**1. Add the key**

Sign in to [Leexi](https://app.leexi.ai), then go to **Settings** > **Advanced** > **API Keys**.

<ul>
  <li>Click **Add**.</li>
</ul>

**2. Copy the key ID and secret**

Leexi generates a key ID and a secret. Copy each one by clicking its field. Leexi shows the secret only at creation.

<ul>
  <li>Copy the **API Key ID** across.</li>
  <li>Copy the **API Key Secret** across.</li>
</ul>

**3. Name the key**

Name and describe the key so you can find and revoke it later.

<ul>
  <li>**Name**: a name that tells you which tool uses the key</li>
  <li>**Description**: what the key is used for</li>
</ul>

**4. Choose the permissions**

Enables actions: Create Call, Create Meeting Event, Create Team, Create User, Deactivate User, Delete Call Note, Delete Meeting Event, Delete Team, Get Call, Get Call Note, Get Meeting Event, Get Team, Get Unified Group, Get Unified Role, Get Unified User, Get User, Launch Meeting Assistant, List Call Notes, List Calls, List Meeting Events, List Teams, List Unified Groups, List Unified Roles, List Unified Users, List Users, Request Recording Upload URL, Update Call Note, Update Team, Update User

Each scope listed is named after a Leexi permission, so `write_users` is **Write users**. Any **Access rules** mode works for users and teams, because access rules only limit which calls the key can see. Leexi lets you grant **Write users** or **Write teams** only if you are allowed to create and edit users or teams yourself.

<ul>
  <li>Check **Read users**.</li>
  <li>Check **Read teams**.</li>
  <li>Check the permission for each other scope listed.</li>
  <li>Save the key.</li>
</ul>

<ul>
  <li>
    read\_users
  </li>

  <li>
    read\_teams
  </li>

  <li>
    write\_users
  </li>

  <li>
    write\_teams
  </li>

  <li>
    read\_calls
  </li>

  <li>
    write\_calls
  </li>

  <li>
    read\_meeting\_events
  </li>

  <li>
    write\_meeting\_events
  </li>
</ul>

## Link the Account

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

**2. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).


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