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

# How to Sell CyberPanel Hosting

> Configure and sell CyberPanel hosting products with Upmind.

[CyberPanel](https://cyberpanel.net/) is an open-source web hosting control panel powered by the OpenLiteSpeed web server.

<Note>
  Before setting up CyberPanel in Upmind, please keep the following in mind:

  * Ensure API access is enabled in your CyberPanel account and that you have administrator access.
  * **One account is created per website.** Upmind creates a dedicated CyberPanel account for each website, and we currently do not support creating an account with a larger website limit.
  * **Do not use an existing CyberPanel account.** The `username` field should only be used for the account created for the setup. If you use an existing account that already hosts multiple websites, terminating the setup will delete the entire account and all websites associated with it.
  * **Termination deletes the account and website.** The `terminate` function removes both the website and its associated CyberPanel account. Therefore, using an account that contains other websites can result in those websites being deleted as well.
</Note>

## Enabling API access

1. Log in to CyberPanel as an admin and open **Users** in the **Main** section of the sidebar.
   <Frame caption="Log in to CyberPanel">
     <img src="https://mintlify.s3.us-west-1.amazonaws.com/upmind/images/Log-in-CyberPanel-as-Admin.png" alt="Log In Cyber Panel As Admin" />
   </Frame>
2. In the **Users** menu, click **API Access**.
   <Frame caption="Click API Access">
     <img src="https://mintlify.s3.us-west-1.amazonaws.com/upmind/images/CyberPanel-User-Menu.png" alt="Cyber Panel User Menu" />
   </Frame>
3. Under **Select User Account**:
   * Choose the **account with administrator access to use for the API**.
   * Select **Enable API Access**
   * Click **Save Changes**.
   * The **API Access Status** should then show **Currently Enabled**.

<Frame caption="Enabled API Access">
  <img src="https://mintlify.s3.us-west-1.amazonaws.com/upmind/images/Enabled-API-Access-CyberPanel.png" alt="Enabled API Access Cyber Panel" />
</Frame>

## Configuring CyberPanel provisioning in Upmind

1. In Upmind, go to **Settings** > **Provision Configurations**.

<Frame caption="Settings > Provision configurations">
  <img src="https://mintcdn.com/upmind/92wYnpdR_k6AjH3x/images/fb/545d2769c80c048d.png?fit=max&auto=format&n=92wYnpdR_k6AjH3x&q=85&s=8703bcea53a7e2c3a0c23c1e8bc2882f" alt="Settings > Provision configurations" data-og-width="1354" width="1354" data-og-height="586" height="586" data-path="images/fb/545d2769c80c048d.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/upmind/92wYnpdR_k6AjH3x/images/fb/545d2769c80c048d.png?w=280&fit=max&auto=format&n=92wYnpdR_k6AjH3x&q=85&s=90d06da1bace940a17dbbdf995042efb 280w, https://mintcdn.com/upmind/92wYnpdR_k6AjH3x/images/fb/545d2769c80c048d.png?w=560&fit=max&auto=format&n=92wYnpdR_k6AjH3x&q=85&s=e16ff90f46ecd9e320c7bc5c32613a8e 560w, https://mintcdn.com/upmind/92wYnpdR_k6AjH3x/images/fb/545d2769c80c048d.png?w=840&fit=max&auto=format&n=92wYnpdR_k6AjH3x&q=85&s=520205bbef56310e3d36d0ad2428cd22 840w, https://mintcdn.com/upmind/92wYnpdR_k6AjH3x/images/fb/545d2769c80c048d.png?w=1100&fit=max&auto=format&n=92wYnpdR_k6AjH3x&q=85&s=0292ed8683f8b609fe3569364fc8258b 1100w, https://mintcdn.com/upmind/92wYnpdR_k6AjH3x/images/fb/545d2769c80c048d.png?w=1650&fit=max&auto=format&n=92wYnpdR_k6AjH3x&q=85&s=497d421104c5ccc73a235dbaa16d1530 1650w, https://mintcdn.com/upmind/92wYnpdR_k6AjH3x/images/fb/545d2769c80c048d.png?w=2500&fit=max&auto=format&n=92wYnpdR_k6AjH3x&q=85&s=aeb9cd4fe4af22af30ff40736658b468 2500w" />
</Frame>

2. Click on **Add New Configuration**.

<Frame caption="Add new configuration">
  <img src="https://mintcdn.com/upmind/h8h5zREaX7k8Y-3x/images/fb/1209409db83cf81e.png?fit=max&auto=format&n=h8h5zREaX7k8Y-3x&q=85&s=69f76fa983cbde0fbb8ec5a965d1d088" alt="Add new configuration" width="1468" height="212" data-path="images/fb/1209409db83cf81e.png" />
</Frame>

3. Provide a **Name** (e.g., CyberPanel Hosting Provision).
4. Select **Web Hosting** as the product type.
5. Choose **CyberPanel** as the provisioning provider.
   <Frame caption="Choose CyberPanel">
     <img src="https://mintlify.s3.us-west-1.amazonaws.com/upmind/images/Provision-Configurations.png" alt="Provision Configurations" title="Provision Configurations" lightAlt="Provision Configurations" darkAlt="Choose CyberPanel" />
   </Frame>
6. Complete the following details:

* Your server’s **Hostname**: Hostname of the CyberPanel server, e.g. [cp.example.com](http://cp.example.com)
* Your **Port**: Port the panel listens on. CyberPanel uses `8090` by default. If left empty, requests go to `https://<hostname>/` with no port
* Your **Username**: Username of the CyberPanel admin account used for API requests
* Your **Password**: Password of that admin account
* **SSL Verify**: Whether to verify the server's SSL certificate (by default: off)

7. Click **Create**.

<Frame caption="Enter provision configurations">
  <img src="https://mintlify.s3.us-west-1.amazonaws.com/upmind/images/Enter-Provision-Configurations.png" alt="Enter provision configurations" lightAlt="Enter provision configurations" darkAlt="Enter provision configurations" className="dark:hidden" />

  <img src="https://mintlify.s3.us-west-1.amazonaws.com/upmind/images/Enter-Provision-Configurations-1.png" alt="Enter provision configurations" lightAlt="Enter provision configurations" darkAlt="Enter provision configurations" className="hidden dark:block" />
</Frame>

## Setting up CyberPanel Packages

Every hosting account in CyberPanel is created with a package, which sets its resource limits.

1. Create your packages in CyberPanel before provisioning accounts. See [<u>CyberPanel Package Management</u>](https://cyberpanel.net/KnowledgeBase/home/cyberpanel-package-management/) for how to create one.
2. When you create an account or change its package, the package name given to the provider must match a package name in CyberPanel **exactly**, including upper and lower case.

<Frame caption="Package Name">
  <img src="https://mintlify.s3.us-west-1.amazonaws.com/upmind/images/Package-Name-in-CyberPanel.png" alt="Package Name In Cyber Panel" />
</Frame>

<Warning>
  The provider checks the name against CyberPanel's package list first, and fails with `The requested package does not exist on the server` if there is no match.
</Warning>

3. In Upmind, when creating a product, paste this value (for example, admin\_General) as the Package Identifier in the provisioning settings to match the CyberPanel package you created.

## Creating CyberPanel hosting products in Upmind

1. Go to **Host Control** > **Web Hosting** in Upmind.

<Frame caption="Host control > Web hosting">
  <img src="https://mintcdn.com/upmind/c5sDUwEs8YpzGbjA/images/fb/96ed2eb73b9d16ae.png?fit=max&auto=format&n=c5sDUwEs8YpzGbjA&q=85&s=a4f767d06b879577425208070e49c5df" alt="Host control > Web hosting" data-og-width="522" width="522" data-og-height="346" height="346" data-path="images/fb/96ed2eb73b9d16ae.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/upmind/c5sDUwEs8YpzGbjA/images/fb/96ed2eb73b9d16ae.png?w=280&fit=max&auto=format&n=c5sDUwEs8YpzGbjA&q=85&s=9f40a156041936cda64ce7b080eb9012 280w, https://mintcdn.com/upmind/c5sDUwEs8YpzGbjA/images/fb/96ed2eb73b9d16ae.png?w=560&fit=max&auto=format&n=c5sDUwEs8YpzGbjA&q=85&s=63c40bc5d5b18b08dbe8b89bf9000056 560w, https://mintcdn.com/upmind/c5sDUwEs8YpzGbjA/images/fb/96ed2eb73b9d16ae.png?w=840&fit=max&auto=format&n=c5sDUwEs8YpzGbjA&q=85&s=e9c424b8aca57a38ea8af8fbbee213e8 840w, https://mintcdn.com/upmind/c5sDUwEs8YpzGbjA/images/fb/96ed2eb73b9d16ae.png?w=1100&fit=max&auto=format&n=c5sDUwEs8YpzGbjA&q=85&s=d1320ea8b58a64cbc8dccc1e4ef1ce29 1100w, https://mintcdn.com/upmind/c5sDUwEs8YpzGbjA/images/fb/96ed2eb73b9d16ae.png?w=1650&fit=max&auto=format&n=c5sDUwEs8YpzGbjA&q=85&s=acc9ef746b6ee80a41b21c86546604a1 1650w, https://mintcdn.com/upmind/c5sDUwEs8YpzGbjA/images/fb/96ed2eb73b9d16ae.png?w=2500&fit=max&auto=format&n=c5sDUwEs8YpzGbjA&q=85&s=8fbccd4fb3d57e22e1d46dd53f78dac3 2500w" />
</Frame>

2. Click **Add New**.

<Frame caption="Add new">
  <img src="https://mintcdn.com/upmind/JUoAg6onJmXk_-rR/images/fb/dea5aff1bc61b24b.png?fit=max&auto=format&n=JUoAg6onJmXk_-rR&q=85&s=042e9b3ca3c2ed172df06ad5ee223848" alt="Add new" width="1672" height="242" data-path="images/fb/dea5aff1bc61b24b.png" />
</Frame>

3. Choose a category and fill in the details. Then click **Create**.

<Frame caption="Fill in product details">
  <img src="https://mintcdn.com/upmind/1xguIfYUrfespmVI/images/fb/7d6c86aa497c620c.png?fit=max&auto=format&n=1xguIfYUrfespmVI&q=85&s=cd3552b370f059281689ebb3c63eebce" alt="Fill in product details" width="1112" height="842" data-path="images/fb/7d6c86aa497c620c.png" />
</Frame>

4. On **Provisioning**, set the **Provision Provider** to **CyberPanel**.
5. Choose the **Configuration Mode** and **Provider Configuration**.

<Frame caption="Set provision provider">
  <img src="https://mintlify.s3.us-west-1.amazonaws.com/upmind/images/Set-Provision-Provider.png" alt="Set provision provider" lightAlt="Set provision provider" darkAlt="Set provision provider" className="dark:hidden" />

  <img src="https://mintlify.s3.us-west-1.amazonaws.com/upmind/images/Set-Provision-Provider-1.png" alt="Set provision provider" lightAlt="Set provision provider" darkAlt="Set provision provider" className="hidden dark:block" />
</Frame>

6. Enter the **Package Identifier** exactly as it appears in **CyberPanel** (matching the package name).
7. Complete other product details like name, pricing, billing cycle, and permissions.

<Frame caption="Complete other product details">
  <img src="https://mintcdn.com/upmind/bPO2bBzOxYQR4tYr/images/fb/fdb109a246b37367.png?fit=max&auto=format&n=bPO2bBzOxYQR4tYr&q=85&s=d61a02c004ff6c0b9698ba19e3f36005" alt="Complete other product details" width="1022" height="844" data-path="images/fb/fdb109a246b37367.png" />
</Frame>

<Frame caption="Enter package identifier">
  <img src="https://mintcdn.com/upmind/pcUdSuxUJ6LgBXnd/images/fb/a105d1c6bd0b0a6d.png?fit=max&auto=format&n=pcUdSuxUJ6LgBXnd&q=85&s=ef9a5fb86e54442a0e1c95e685a2a892" alt="Enter package identifier" width="1080" height="362" data-path="images/fb/a105d1c6bd0b0a6d.png" />
</Frame>

8. **Save** the product.

<Card title="When the customer logs in:" type="note">
  Customers with two-factor authentication enabled in CyberPanel cannot use the "Login to Control Panel" button in the Upmind Client Area. They must log in to CyberPanel manually instead.
</Card>


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