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

# Drupal - How do I link my account?

# Overview

To authenticate with Drupal, you need:

1. **Base Url** - The base URL to your Drupal instance.
2. **Client ID** - A unique identifier for your client.
3. **Client Secret** - A confidential key used to authenticate the identity of the client.
4. **User Name** - The unique user name you use to log in to your Drupal account.

This guide will walk you through obtaining these credentials within Drupal.

### Prerequisites:

* You must have an account with Drupal.

### Instructions:

#### Step 1: Finding Your Drupal Base url

1. Login to your **Drupal** dashboard account. On you address bar, The URL will be similar to: `https://playground.miniorange.com/9d7e509/web/`. Your base url is the text after `https://`, which in this case would be `playground.miniorange.com/9d7e509/web`.

#### Step 2: Finding Your Drupal User name

1. Login to your **Drupal** dashboard account. Your **User name** will be displayed at the top next to the user icon.

<img src="https://mintcdn.com/nango/jNxmsZ4pW0gKOBN-/integrations/all/drupal/username.png?fit=max&auto=format&n=jNxmsZ4pW0gKOBN-&q=85&s=e746a9646af69a02ad5e4d802431f269" width="3024" height="456" data-path="integrations/all/drupal/username.png" />

#### Step 3: Generating Your Drupal Client Credentials

1. Log in to your Drupal instance.
2. Go to **Configuration ‣ API Authentication ‣ Configure API Authentication**.
3. Click on the **OAuth/Access Token** radio button.

<img src="https://mintcdn.com/nango/jNxmsZ4pW0gKOBN-/integrations/all/drupal/api_settings.png?fit=max&auto=format&n=jNxmsZ4pW0gKOBN-&q=85&s=2066364c7cbce73208feca3b20359ee5" width="3024" height="1570" data-path="integrations/all/drupal/api_settings.png" />

4. Click on **Generate a new Client ID and Secret** button.

<img src="https://mintcdn.com/nango/jNxmsZ4pW0gKOBN-/integrations/all/drupal/generate_credentials.png?fit=max&auto=format&n=jNxmsZ4pW0gKOBN-&q=85&s=c17babfee55a995f827389761e8e7bbf" width="3024" height="1570" data-path="integrations/all/drupal/generate_credentials.png" />

5. Click on **Save Settings** button to properly propagate your changes.

#### Step 3: Enter credentials in the Connect UI

Once you have your **Base Url**, **Client ID**, **Client Secret** and **User Name**:

1. Open the form where you need to authenticate with Drupal.
2. Enter your **Base Url**, **Client ID**, **Client Secret** and **User Name** in their designated fields.
3. Submit the form, and you should be successfully authenticated.

<img src="https://mintcdn.com/nango/jNxmsZ4pW0gKOBN-/integrations/all/drupal/form.png?fit=max&auto=format&n=jNxmsZ4pW0gKOBN-&q=85&s=79b261f6d60b9f392c74acd3fcf0c5bb" style={{maxWidth: "450px" }} width="998" height="1396" data-path="integrations/all/drupal/form.png" />

You are now connected to Drupal.
