> For the complete documentation index, see [llms.txt](https://docs.andrezzz.pt/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.andrezzz.pt/whmcs/addons/link-discord/client-area.md).

# Addon - Client Area

Ever imagined your clients being able to manage their WHMCS account directly from Discord? Now they can do with the Client Area module!

<figure><img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2FE7j3za18VNMCxDZNMW9y%2FAndrezzzLinkDiscord_-_Logo__1_-removebg-preview%20(1).png?alt=media&amp;token=08092633-8e27-4b28-931a-ccb4613be35a" alt="" width="250"><figcaption><p>Fig. 1 - Link Discord</p></figcaption></figure>

{% hint style="info" %}
Discord and related names, marks, emblems and images are registered trademarks of their respective owners.
{% endhint %}

## Screenshots

<div data-full-width="true"><figure><img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2FWpDHwGQYABOqRWilaIHd%2FSnipaste_2025-05-06_16-58-40.png?alt=media&amp;token=3c937bfb-0ac3-428b-91e5-3f0f7f86086b" alt=""><figcaption><p>Fig. 2 - Example Service with Actions</p></figcaption></figure> <figure><img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2FaOTZuoEGMQFruPX6TyN3%2FSnipaste_2025-05-06_18-17-38.png?alt=media&amp;token=dc529880-b0f8-43bf-befe-3eaaab92cd7c" alt=""><figcaption><p>Fig. 3 - Change Password Modal</p></figcaption></figure> <figure><img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2F2VUcGReBCimLvhdsEg04%2FSnipaste_2025-05-06_18-04-36.png?alt=media&amp;token=4e774251-ae7f-4c35-ab63-ae3e9e1394a7" alt=""><figcaption><p>Fig. 4 - Example VPS Service</p></figcaption></figure></div>

<div data-full-width="true"><figure><img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2Fs77D4q9eeYycNVJnjbjI%2FSnipaste_2025-05-06_18-19-57.png?alt=media&amp;token=d62911b7-51e8-484a-b18b-be37501244d4" alt="" width="375"><figcaption><p>Fig. 5 - Example Domain</p></figcaption></figure> <figure><img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2F7UokrMD3bJieoxDYMifK%2FSnipaste_2025-05-06_18-20-37.png?alt=media&amp;token=9b60f8b0-2afa-454d-81dd-939b8f837349" alt="" width="188"><figcaption><p>Fig. 6 - Edit Nameservers Modal</p></figcaption></figure> <figure><img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2F0gQreKbC6HltZS9kFqG0%2FSnipaste_2025-05-06_18-21-23.png?alt=media&amp;token=a922da2b-1cc5-4012-bd24-0cb84d9ba89a" alt="" width="375"><figcaption><p>Fig. 7 - Example Ticket</p></figcaption></figure></div>

<div><figure><img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2F2BPWxhHMaFk2kwzZU4NJ%2FSnipaste_2025-05-06_18-21-40.png?alt=media&amp;token=f90f3d22-f513-41ca-9dcc-0d7deff4a49f" alt="" width="375"><figcaption><p>Fig. 8 - Reply  Ticket Modal</p></figcaption></figure> <figure><img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2FG4pWrFf2BcBnKLh4U5Cu%2FSnipaste_2025-05-06_18-22-34.png?alt=media&amp;token=1294bde2-4900-4b97-9839-f48159fbb830" alt="" width="375"><figcaption><p>Fig. 9 - Example Invoice</p></figcaption></figure></div>

## Installation

1. Download the release from the latest email you've received;

### WHMCS

1. Upload the `includes` folder to your WHMCS root folder;

   <figure><img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2FsIbIqsAmAM1gsD3fyVrX%2F3jRBJKnj1f.gif?alt=media&amp;token=db9be2ce-01d4-4097-b501-097dcff26cf0" alt=""><figcaption></figcaption></figure>
2. Go to `Setup -> System Settings -> API Credentials`  and create one role according to the following screenshots;

   <div data-full-width="true"><figure><img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2FEMYSs3ehP73MX1hoPtqj%2FSnipaste_2025-05-06_19-02-15.png?alt=media&amp;token=e180af93-bc7d-4ec7-b55a-d2458fcd14c3" alt=""><figcaption></figcaption></figure> <figure><img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2Fy6jvEvE70F4MMvLz4tvm%2FSnipaste_2025-05-06_19-05-34.png?alt=media&amp;token=5d0450b5-0986-4fff-8903-cecfc8eb7809" alt=""><figcaption></figcaption></figure></div>

   <div data-full-width="true"><figure><img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2FU63V83Mrgv6uBLQBdmZr%2FSnipaste_2025-05-06_10-38-57.png?alt=media&amp;token=5bbdc4e7-6e13-4ec6-ad5d-d0c08be90a26" alt=""><figcaption></figcaption></figure> <figure><img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2FBdgOXtU3heFhToZqTU8l%2FSnipaste_2025-05-06_10-39-08.png?alt=media&amp;token=b2b549ec-db8a-4e1c-b674-ca8f2e90826f" alt=""><figcaption></figcaption></figure> <figure><img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2FddGQ9R2e6bGnj02zQlzl%2FSnipaste_2025-05-06_10-39-19.png?alt=media&amp;token=94a62920-8a40-44a3-b86c-d8830fe11887" alt=""><figcaption></figcaption></figure></div>

   <div><figure><img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2FPpT15KXRS0GouyYwTb5E%2FSnipaste_2025-05-06_10-39-35.png?alt=media&amp;token=06a3d1ab-0c0a-49a8-9ba9-986a35fce93c" alt=""><figcaption></figcaption></figure> <figure><img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2FHbmdHpyJcgt655Hsi8IE%2FSnipaste_2025-05-06_10-40-21.png?alt=media&amp;token=ed4ff1f0-ab16-4270-be2d-89f230d6f098" alt=""><figcaption></figcaption></figure> <figure><img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2FYOtqiE14VGs8KyEYcyAQ%2FSnipaste_2025-05-06_10-40-34.png?alt=media&amp;token=32057f4a-7568-4a0b-a988-5ea1360a2e6d" alt=""><figcaption></figcaption></figure></div>

   <div><figure><img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2FkCOTyOZrq2NrKKcF7fiu%2FSnipaste_2025-05-06_10-40-51.png?alt=media&amp;token=af817cec-987e-4004-8301-0a6b5b1a95e6" alt=""><figcaption></figcaption></figure> <figure><img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2FAoonUippdoPL1e63ruYS%2FSnipaste_2025-05-06_10-40-56.png?alt=media&amp;token=a0adee9e-adaf-4890-bd7e-12d5129f57a5" alt=""><figcaption></figcaption></figure></div>
3. Generate a new API credential (the selected admin will be used to record the actions in the logs) and save the Identifier and Secret for future use during the Backend installation;

   <div><figure><img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2FE4kDEUoQTJ1PGNdz462f%2FSnipaste_2025-05-06_19-29-34.png?alt=media&amp;token=197600b7-9898-4dfe-bdc3-122a389b962a" alt=""><figcaption></figcaption></figure> <figure><img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2FTBLbGHYOqID0N9KfVdZW%2FSnipaste_2025-05-06_19-30-15.png?alt=media&amp;token=a373d8ef-4393-477b-9091-24c46ae4e733" alt=""><figcaption></figcaption></figure></div>
4. Go to `Setup -> System Settings -> General Settings -> Security` and add the Backend IP to the "API IP Access Restriction".

   <figure><img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2FZgZnIsGQZW36MxDS0rJa%2FSnipaste_2025-05-06_19-39-48.png?alt=media&amp;token=ef4e529b-0a7d-4466-88a9-4179253958db" alt=""><figcaption></figcaption></figure>

### Backend

{% tabs %}
{% tab title="cPanel" %}
{% hint style="success" %}
This is the best solution if you use cPanel on shared web hosting.
{% endhint %}

1. Upload the `BACKEND` folder to `/AndrezzzLinkDiscord` (normally, when you open FTP/File Manager, it opens the `public_html` folder, you need to go back);

   <figure><img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2F5KWMQdspIRFAQAWEfrHP%2Fezgif-3-886890f870.gif?alt=media&amp;token=32b41ed0-b162-4ed6-8928-ea32d78d4632" alt=""><figcaption></figcaption></figure>
2. Edit the `addons/config.json` file using the information previously collected from the [WHMCS Installation](#whmcs). Update the URL field with your WHMCS URL, not removing the termination `includes/api.php` , and change the Image field with any image URL of your choice (this will be displayed as a Thumbnail;)

   <figure><img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2FXL8mLsDfEjKo48swcBkA%2FSnipaste_2025-05-06_19-41-21.png?alt=media&amp;token=a5c291e3-1e8a-4b11-bb93-18782439bcb9" alt=""><figcaption></figcaption></figure>
3. Edit the `addons/ClientArea/config.json` file according to your preferences.<img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2FD2fwiaOo094nWV3bCngi%2Fimage.png?alt=media&amp;token=7d5f2c3b-c618-4705-bcc9-c10b5df33076" alt="" data-size="original">
   {% endtab %}

{% tab title="Pterodactyl" %}

1. Wait until the server is created and upload the files using FTP or the File Manager (if you use the File Manager, please ZIP the `BACKEND` folder contents first, then `Unarchive`);

   <figure><img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2Fo06CiYfUgEBZlw9IP4fp%2Fimage.png?alt=media&amp;token=d38e57cc-f04a-4379-a35e-a11d0fb6fc19" alt=""><figcaption></figcaption></figure>

   <figure><img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2FOL0l3dJJG8nq92lQa2zu%2Fimage.png?alt=media&amp;token=25099538-1268-4d8a-b7e9-48ac430696f9" alt=""><figcaption></figcaption></figure>
2. Edit the `addons/config.json` file using the information previously collected from the [WHMCS Installation](#whmcs). Update the URL field with your WHMCS URL, not removing the termination `includes/api.php` , and change the Image field with any image URL of your choice (this will be displayed as a Thumbnail;)

   <figure><img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2FXL8mLsDfEjKo48swcBkA%2FSnipaste_2025-05-06_19-41-21.png?alt=media&amp;token=a5c291e3-1e8a-4b11-bb93-18782439bcb9" alt=""><figcaption></figcaption></figure>
3. Edit the `addons/ClientArea/config.json` file according to your preferences.<img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2FD2fwiaOo094nWV3bCngi%2Fimage.png?alt=media&amp;token=7d5f2c3b-c618-4705-bcc9-c10b5df33076" alt="" data-size="original">
   {% endtab %}

{% tab title="Self Hosted (SSH)" %}

1. Upload the `BACKEND` folder to the one you've just created, `/opt/AndrezzzLinkDiscord` (normally, when you open FTP, it opens the user folder, you need to go to the desired folder);

   <figure><img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2F5KWMQdspIRFAQAWEfrHP%2Fezgif-3-886890f870.gif?alt=media&amp;token=32b41ed0-b162-4ed6-8928-ea32d78d4632" alt=""><figcaption></figcaption></figure>
2. Edit the `addons/config.json` file using the information previously collected from the [WHMCS Installation](#whmcs). Update the URL field with your WHMCS URL, not removing the termination `includes/api.php` , and change the Image field with any image URL of your choice (this will be displayed as a Thumbnail;)

   <figure><img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2FXL8mLsDfEjKo48swcBkA%2FSnipaste_2025-05-06_19-41-21.png?alt=media&amp;token=a5c291e3-1e8a-4b11-bb93-18782439bcb9" alt=""><figcaption></figcaption></figure>
3. Edit the `addons/ClientArea/config.json` file according to your preferences.<img src="https://3928726770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxfYHqiCz3LmpD7lBUylH%2Fuploads%2FD2fwiaOo094nWV3bCngi%2Fimage.png?alt=media&amp;token=7d5f2c3b-c618-4705-bcc9-c10b5df33076" alt="" data-size="original">
   {% endtab %}
   {% endtabs %}

{% hint style="success" %}
You're pretty to go. Have a good use of the module, and thank you once again 😊!
{% endhint %}
