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

# How to Get Your API Key

> To use the Offline Protocol SDK and access authenticated APIs, you'll need a personal API key.

Follow the steps below to generate and manage your API key from the developer dashboard.

## 1. Visit the Developer Portal

Go to the official developer dashboard: [https://dev.offlineprotocol.com](https://dev.offlineprotocol.com)

<img src="https://mintcdn.com/offlineprotocol/Q1-AWjiPKXNyD3Nz/images/api-key/home.png?fit=max&auto=format&n=Q1-AWjiPKXNyD3Nz&q=85&s=7443a6db31448749787c1115671563a6" alt="home" width="2880" height="1638" data-path="images/api-key/home.png" />

## 2. Sign In or Create an Account

* Click **Start Building** and register with your email.

## 3. Create Your Team

* After signing in for the first time, a popup will appear prompting you to create a team.
* Enter your team details:
  * **Team Name**
  * **Description** (optional)
* Click **Create Team** to continue.

<img src="https://mintcdn.com/offlineprotocol/_s8GLMvNLgP2b-Cq/images/api-key/new-team.png?fit=max&auto=format&n=_s8GLMvNLgP2b-Cq&q=85&s=1654ebcfa39e26860c7cd270ade7b5db" alt="home" width="2850" height="1616" data-path="images/api-key/new-team.png" />

## 4. Create Your First Project

* Once your team is created, another popup will appear for project creation.
* Enter your project details:
  * **Project Name**
  * **Description**
* Click **Create Project**.

<img src="https://mintcdn.com/offlineprotocol/_s8GLMvNLgP2b-Cq/images/api-key/new-project.png?fit=max&auto=format&n=_s8GLMvNLgP2b-Cq&q=85&s=4aa879d2b08d300e9e1818321ad941b0" alt="home" width="1448" height="756" data-path="images/api-key/new-project.png" />

* A project with a unique **Project ID** will be created automatically.

<img src="https://mintcdn.com/offlineprotocol/_s8GLMvNLgP2b-Cq/images/api-key/project-details.png?fit=max&auto=format&n=_s8GLMvNLgP2b-Cq&q=85&s=7c031e49b813a12fe9f1f9eef61bd26b" alt="Project Details" width="2854" height="1612" data-path="images/api-key/project-details.png" />

## 5. Generate a New API Key

1. Go to the **API Keys** tab.
2. Click **Create New API Key**.
3. Fill in the details:
   * **Alias** (e.g., "Staging App", "Production")
   * **Project** (auto-selected)
4. Click **Create**.

Your new API key will now be listed under the **API Keys** tab.

<img src="https://mintlify.s3.us-west-1.amazonaws.com/offlineprotocol/images/api-key/new-api-key.png" alt="Create Key" />

## 6. Use the API Key Securely

<div class="warning-box">
  ⚠️ **Security Warning**: Your API key should **NEVER** be exposed in
  client-side code or committed to version control.
</div>

* **Use API keys only in backend/server-side code** where they can be kept secure.
* Store your API key in environment variables or secure secret management systems.
* Never include your API key in:
  * Frontend JavaScript code
  * Mobile app source code
  * Public repositories
  * Client-side SDK initialization

## Managing Teams and Projects

* You can create additional teams from the dashboard settings.
* Every project belongs to a team.
* Anyone you invite to the team will have access to all of its projects, with the permissions you assign.

<img src="https://mintcdn.com/offlineprotocol/_s8GLMvNLgP2b-Cq/images/api-key/create-project.png?fit=max&auto=format&n=_s8GLMvNLgP2b-Cq&q=85&s=36a4f54a23a1b4b85cd0b8587de8fffc" alt="Create Project" width="2848" height="1606" data-path="images/api-key/create-project.png" />
