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

# Authentication

> Generate your API key to begin using the Habit Dash API.

To start using the Habit Dash API, you’ll first need to generate your unique API key. This key allows you to securely access your data and make authenticated requests to our endpoints.

<img src="https://mintcdn.com/habitdash/K21sIUjNHST7_7c6/images/data-access-page.png?fit=max&auto=format&n=K21sIUjNHST7_7c6&q=85&s=961561eedc50c90f54d8e6030368f502" alt="Data Access Page" width="2474" height="1428" data-path="images/data-access-page.png" />

### What is an API Key?

An API key is a unique identifier used to authenticate your application with Habit Dash. Think of it as your personal access pass — keep it secret and secure.

### How to Get Your API Key

1. Go to the [Developer API](https://habitdash.com/developer/) tab under Data Access .
2. Click **Create Key**.
3. Your API key will be generated and displayed. Make sure to copy and store it safely.

<Warning>
  Your key will only be shown once. If you lose it, you’ll need to generate a new one.
</Warning>

### Security

For added security, associate your API key with a fixed IP address.

* If provided, the key will only work from that IP.
* If left blank, the key will be valid from any IP address.

<Tip>
  All API keys expire after 60 days, unless locked to an IP.
</Tip>
