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

# Ahrefs

> Let your agents analyze backlinks, keywords, competitors, rankings, and site audits in Ahrefs.

With the Ahrefs tool, your agents can analyze backlinks, organic keywords, competitors, rankings, and site audits, and read Search Console data and AI brand visibility. Ahrefs builds and maintains this MCP server: an admin connects it once, then anyone can add it to an agent.

## What your agent can do in Ahrefs

Ahrefs maintains the list of actions, and it can change at any time. See [Ahrefs' MCP server documentation](https://docs.ahrefs.com/en/mcp/docs/introduction) for the current list. The tools listed in **Spaces** > **Tools** > **Ahrefs** are the ones your agents can use.

## Before you start

* **In Dust:** you need to be an admin to connect Ahrefs.
* **In Ahrefs:** you need a paid Ahrefs plan, Lite or higher. Tool calls use API units from your monthly Ahrefs allowance.

## Connect Ahrefs

> [!NOTE]
>
> Only workspace admins can connect Ahrefs.

**1. Open the tools of your workspace**

Go to **Spaces** > **Tools** and click **Add tools**.

**2. Pick Ahrefs**

Select **Ahrefs**, then click **Next**.

**3. Sign in**

Keep **Personal accounts**, selected by default, or pick **Shared account**. Click **Setup connection**, then sign in with your Ahrefs account.

## Add Ahrefs to an agent

**1. Open your agent in the Agent Builder**

Create an agent, or open one you can edit.

**2. Add the tool**

In **Capabilities and knowledge**, click **Add capabilities** and select **Ahrefs**.

**3. Say what to analyze**

In the instructions, name the domains, competitors, or keywords the agent should analyze.

By default, all Ahrefs tools run without asking (**Never ask**). Admins can change the level of each tool in **Spaces** > **Tools** > **Ahrefs** > **Tools & stakes**:

* **High:** needs explicit user approval.
* **Low:** users can completely disable confirmations.
* **Never ask:** runs automatically.

Tools that Ahrefs adds later start at **High** until an admin changes them.

## Related

> [card] [Preconfigured MCP servers](https://docs.dust.tt/docs/user-documentation/agents/tools/preconfigured-mcp-servers.md)
>
> All the third-party MCP servers you can connect.

> [card] [Personal vs Shared Credentials](https://docs.dust.tt/docs/user-documentation/admins/tools-management/personal-vs-shared-credentials.md)
>
> How each connection type works for tools.

> [card] [Adding an MCP server](https://docs.dust.tt/docs/user-documentation/admins/tools-management/adding-an-mcp-server.md)
>
> Add tools to your workspace and choose who can use them.


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