> ## 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.

# NextDNS - How do I link my account?

## Overview

To authenticate with NextDNS, you need:

1. **API Key** — the API key of your NextDNS account.

This guide will show you how to get it.

### Prerequisites

* A NextDNS account. If you don't have one, [sign up](https://my.nextdns.io/signup). The API is available on the Free plan.

### Step 1: Generate your API key

1. Sign in to [NextDNS](https://my.nextdns.io/login). Click your email address in the top-right corner, then click **Account**.

![NextDNS dashboard with the account menu open and the Account item highlighted](https://mintcdn.com/nango/c67tAOkIOCvA3Pbg/api-integrations/nextdns/open_account_menu.png?fit=max\&auto=format\&n=c67tAOkIOCvA3Pbg\&q=85\&s=1fb0e9b97f5e5fd73847e829349cf54f)

2. On the **Account** page, scroll to the **API** section at the bottom and click **Generate API key**.

![NextDNS Account page with the Generate API key button in the API section](https://mintcdn.com/nango/c67tAOkIOCvA3Pbg/api-integrations/nextdns/generate_api_key.png?fit=max\&auto=format\&n=c67tAOkIOCvA3Pbg\&q=85\&s=819e632955ea502a62647e66c7b28064)

3. Copy the API key with the copy button.

![NextDNS Account page showing the generated API key and its copy button](https://mintcdn.com/nango/c67tAOkIOCvA3Pbg/api-integrations/nextdns/copy_api_key.png?fit=max\&auto=format\&n=c67tAOkIOCvA3Pbg\&q=85\&s=99ab0c1bc61b02777505808436f4c8fc)

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

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

![NextDNS Connect UI form with the API Key field](https://mintcdn.com/nango/c67tAOkIOCvA3Pbg/api-integrations/nextdns/form.png?fit=max\&auto=format\&n=c67tAOkIOCvA3Pbg\&q=85\&s=46110c37b48b016385abb30a7925b3c2)

You are now connected to NextDNS.


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