# Hive

> Source: https://truto.one/docs/integration-guides/hive/

Hive connects with an API key, your user ID and your workspace ID.

## Install the Hive integration

Install Hive from [Available integrations](https://app.truto.one/integrations/available/6cf986b3-898d-4418-aa18-e88b7b4d26ae) in each environment you connect accounts from.

## Generate an API key

1. Sign in to Hive. Open the main menu in the top right and select **Edit profile**.
2. Open the **API info** tab and generate a key.
   ![Edit profile](https://docs-assets.truto.one/hive-details-1.png)
   ![API info](https://docs-assets.truto.one/hive-details-2.png)
   ![Generate a key](https://docs-assets.truto.one/hive-details-3.png)
3. Copy the key.

## Connect a Hive account

1. Click **Connect Account**.
   ![Click Connect Account](https://docs-assets.truto.one/truto-connect-account.png)
2. Enter a Tenant ID. This can be any ID you choose. Click **Get connection link**.
   ![Get connection link](https://docs-assets.truto.one/truto-connect-account-modal.png)
3. Open the generated link. You can also share it with your customer so they connect their own Hive account.
   ![Share connection link](https://docs-assets.truto.one/truto-connect-account-link.png)
4. Select **Hive**.
5. Fill in the form and click **Connect**:

   | Field | Required | What to enter |
   |---|---|---|
   | **API Key** | Yes | Your Hive API key. |
   | **User ID** | Yes | Your Hive user ID. |
   | **Workspace ID** | Yes | The ID of the Hive workspace to connect. |
6. Close the tab when you see the connection successful message. The new account appears under **Integrated Accounts**. Click its Account ID to see its details and make API calls.
