---
title: "Configuration"
manual: "Plesk Widget"
version: "5.0"
permalink: "https://docs.typo3.org/permalink/stefanfroemken/plesk-widget:configuration@5.0"
source: "Configuration.rst"
rendered: "2026-12-05T01:46:04+00:00"
---

# Configuration {#configuration}

## Configuring Plesk server access {#configuration-plesk-server}

The `plesk_widget` extension uses dedicated records to store Plesk server
access information. This allows you to configure multiple Plesk servers and
select them individually for your dashboard widgets.

To configure a Plesk server:

1.  Navigate to the TYPO3 backend module **Records** to manage your
    records.
    These records (type `Plesk Server`) can only be created on the root page
    (PID 0) and are therefore only manageable by a TYPO3 administrator.
1.  Create a new record of type **Plesk Server**.
1.  Fill in the following fields:

    -   **title**

        -   *Type:* string
        -   *Required:* true

        A descriptive title for this Plesk server configuration. This title
        will be displayed when selecting the server in dashboard widgets.

        **Example**: My Main Plesk Server

    -   **host**

        -   *Type:* string
        -   *Required:* true

        Hostname or IP address where this extension can access the Plesk
        system. If you do not know it, try your website domain name (without
        scheme, path, and port).

        **Example**: plesk.example.com or 192.168.1.100

    -   **port**

        -   *Type:* int
        -   *Default:* 8443
        -   *Required:* true

        Enter the port of your Plesk system.

        **Example**: 8443

    -   **verify_ssl**

        -   *Type:* bool
        -   *Default:* true
        -   *Required:* false

        Enables TLS certificate verification for Plesk REST API requests.
        Disable this option only when connecting to a Plesk server that uses
        a self-signed certificate.

    -   **username**

        -   *Type:* string
        -   *Required:* false

        Non-persistent field (`renderType => 'pleskCredentialInput'`). When both
        `username` and `password` are provided on save, `DataHandlerHook`
        connects to the Plesk server, requests a Secret Key via the Plesk REST
        API (`POST /api/v2/auth/keys`), and stores it encrypted in `token`.
        Neither `username` nor `password` is stored in the database. If both
        fields are left empty, a manually entered or existing `token` is
        preserved.

        **Example**: plesk-user

    -   **password**

        -   *Type:* string
        -   *Required:* false

        Non-persistent password field (`renderType => 'pleskCredentialInput'`).
        Used once together with `username` to request a Plesk API Secret Key
        (`token`) when saving the record, and never stored in the database. If
        left empty, a manually entered or existing `token` is preserved.

    -   **token**

        -   *Type:* string
        -   *Required:* false

        The Plesk API Secret Key used for authentication. Automatically
        generated when `username` and `password` are provided on save, or
        entered manually (maximum 64 characters). The value is encrypted using
        TYPO3's `CipherService` (XChaCha20-Poly1305) before database storage.

        > [!NOTE]
        > Plesk binds a generated Secret Key to the outgoing IP address of
        > the server that created it. Sharing a token across servers or
        > reusing a production server's token on a development or DDEV
        > system might not work if the outgoing IP address differs.

    -   **domain**

        -   *Type:* string
        -   *Required:* false

        The exact domain name registered in your Plesk customer account. This
        setting is used by `Plesk PHP Settings`, `Plesk SSL Certificate`, and
        `Plesk Domain Error Logs`.

        **Example**: 124.example.com

## Configuring dashboard widgets {#configuration-widgets}

When adding or editing `Plesk Webspace`, `Plesk Server Information`,
`Plesk PHP Settings`, `Plesk Subscription Limits`, `Plesk SSL Certificate`, or
`Plesk Domain Error Logs`, select one of your configured `Plesk Server` records
in the `pleskServer` setting. `Plesk Database` requires no `pleskServer`
setting because it reads metrics directly from the active TYPO3 database.

For `Plesk Webspace`, you can specify the display format in the widget's
settings:

-   **Unit** (`unit`): Choose whether to display disk usage in percentage
    (`%`), MegaByte (`mb`), or GigaByte (`gb`). This setting is specific to each
    widget.

    **Example**: `mb`
