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

# Ahrefs

> Connect Ahrefs to analyze SEO performance and backlinks

Connect Adapt to Ahrefs to analyze your SEO performance, track rankings, and monitor backlinks.

## Setup

**1. Get your Ahrefs API key**

1. Go to your [Ahrefs Account Settings](https://app.ahrefs.com/account/my-account)
2. Navigate to **API** section
3. Copy your API key

> [!NOTE]
>
> API access requires an Ahrefs subscription with API access.

**2. Go to Settings**

Navigate to **Settings > Integrations** in Adapt

**3. Add the secret**

Add the following secret:

| Secret Name | Value |
| - | - |
| `AHREFS_API` | Your Ahrefs API key |

**4. Test the connection**

Ask Adapt about your domain's SEO metrics

## Capabilities

Adapt can query your Ahrefs data. Analyze SEO performance, track rankings, and
monitor backlinks.

### Examples

Domain analysis:

```
What's our domain rating?
```

Keyword tracking:

```
What keywords are we ranking for?
```

Backlink analysis:

```
Show me new backlinks from this week
```

Competitive analysis:

```
Compare our domain rating to [competitor]
```


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