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

# PromptLayer - How do I link my account?

## Overview

To authenticate with PromptLayer, you need:

1. **API Key** — a PromptLayer API key for your workspace.

This guide will show you how to get it.

### Prerequisites

* A PromptLayer account. You can [sign up here](https://dashboard.promptlayer.com/create-account).

### Step 1: Generate an API key

1. Sign in to the [PromptLayer dashboard](https://dashboard.promptlayer.com) and select the workspace you want to connect. Each workspace has its own API keys.
2. Click **Settings** in the left sidebar, then under **Workspace**, open **PromptLayer API Keys**.

![PromptLayer settings sidebar with PromptLayer API Keys under Workspace](https://mintcdn.com/nango/_q3PHutkHncuJ-yH/api-integrations/promptlayer/settings_api_keys_nav.png?fit=max\&auto=format\&n=_q3PHutkHncuJ-yH\&q=85\&s=e82dbe61c61c75249d1a0a33b7f5d457)

3. Click **Generate New API Key**, optionally enter a name for the key, and click **Continue**.

![PromptLayer API Keys page with the Generate New API Key button](https://mintcdn.com/nango/_q3PHutkHncuJ-yH/api-integrations/promptlayer/generate_api_key.png?fit=max\&auto=format\&n=_q3PHutkHncuJ-yH\&q=85\&s=b40cfdd73fc972b56f9b52133ce4b9e8)

4. Copy the API key and click **Finish**. The key is shown only once.

![PromptLayer dialog showing the new API key with its copy button](https://mintcdn.com/nango/_q3PHutkHncuJ-yH/api-integrations/promptlayer/api_key_created.png?fit=max\&auto=format\&n=_q3PHutkHncuJ-yH\&q=85\&s=f7b86bd84f002ccab1469b6dd87f7c1f)

### Step 2: Enter your API key in the Connect UI

1. Open the form where you need to authenticate with PromptLayer.
2. Enter your **API Key** in the designated field.
3. Submit the form, and you should be successfully authenticated.

![PromptLayer connection form in the Nango Connect UI](https://mintcdn.com/nango/_q3PHutkHncuJ-yH/api-integrations/promptlayer/form.png?fit=max\&auto=format\&n=_q3PHutkHncuJ-yH\&q=85\&s=74b82553353e9f367330a2a46c3e6ed8)

You are now connected to PromptLayer.


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