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

# HestiaCP

> Follow this guide to connect HestiaCP with Spartan

## Configuring HestiaCP.

<Steps>
  <Step title="Log in to HestiaCP">
    Log in to your HestiaCP admin panel using your administrator credentials.
  </Step>

  <Step title="Open the API settings">
    Go to **Server → Settings** in the HestiaCP admin panel and find the API settings section.
  </Step>

  <Step title="Enable API access">
    Enable the API functionality if it is not already enabled, then note your HestiaCP URL (usually `https://your-hestia-domain.com`).
  </Step>
</Steps>

## Whitelist Spartan IP Address

To allow DezerX to connect to your HestiaCP instance, you need to whitelist the DezerX Spartan's server's IP address:

<Steps>
  <Step title="Find the Spartan server IP address">
    Check your server's public IP address. DezerX will use this address to make API calls to HestiaCP.
  </Step>

  <Step title="Add the IP address to the whitelist">
    In the HestiaCP admin panel, go to **Server → Configuration**, add your DezerX server's IP address to the allowed list, and ensure it is permitted for API access.
  </Step>
</Steps>

## Configure the HestiaCP Module

<Steps>
  <Step title="Open the HestiaCP module">
    Go to **Admin → Modules → HestiaCP** and enter the required connection details.

    <img src="https://mintcdn.com/dezerx/y8vFoAhtdIIxWI9B/public/services/hestiacp/step-1.png?fit=max&auto=format&n=y8vFoAhtdIIxWI9B&q=85&s=02ea1c109e803e3aa806868ba5b2fd1e" alt="HestiaCP Configuration Panel" width="1866" height="911" data-path="public/services/hestiacp/step-1.png" />
  </Step>
</Steps>
