> ## 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 add VirtFusion products

> Configure VirtFusion products and automate provisioning and basic management of virtual servers

<Frame caption="Customer Server Configuration View">
  <img src="https://mintcdn.com/upmind/wRuKrNY12tQZY8Rr/images/fb/350d3e027bcb5ebd.png?fit=max&auto=format&n=wRuKrNY12tQZY8Rr&q=85&s=09777d7b0a1f7c00b12287fef6b301dd" alt="Customer Server Configuration View" width="4096" height="2428" data-path="images/fb/350d3e027bcb5ebd.png" />
</Frame>

<Frame caption="Customer Server Management View">
  <img src="https://mintcdn.com/upmind/Lh8hC132BWHpvRbz/images/fb/458482200dd37ee7.png?fit=max&auto=format&n=Lh8hC132BWHpvRbz&q=85&s=301bae393f02daccdef3929c2c503034" alt="Customer Server Management View" width="4096" height="2240" data-path="images/fb/458482200dd37ee7.png" />
</Frame>

This guide explains how to configure VirtFusion server products on Upmind.

## Create a Provision Configuration

First, you should create a Provision Configuration in your Upmind settings. You will need to create an API/access token in your VirtFusion dashboard to do this.

### Create an API Token in VirtFusion

1. Log in to VirtFusion.
2. Navigate to **System → API**.
3. Click **Create Token**.
4. Fill in the **Name** and click **Create**.

<Frame caption="Create API Token">
  <img src="https://mintcdn.com/upmind/JUoAg6onJmXk_-rR/images/fb/e3200313fa75ab4f.png?fit=max&auto=format&n=JUoAg6onJmXk_-rR&q=85&s=c33f43a6f2c3debde4a03fde203382c4" alt="Create API Token" width="2560" height="1278" data-path="images/fb/e3200313fa75ab4f.png" />
</Frame>

5. Return to the **API List** and make note of your `API Token`

### Create a Provision Configuration in Upmind

1. Go to **Settings → Provision configurations**
2. Click to **Add new configuration** with the following options:
   1. Name of your choice
   2. Provision Category: **Servers**
   3. Provider: **VirtFusion**
   4. Hostname: **Your VirtFusion hostname**
   5. API Token: **(Paste your API Token)**
3. Click **Create** and now you're ready to create VirtFusion products in Upmind

<Frame caption="Create provision configuration">
  <img src="https://mintcdn.com/upmind/c5sDUwEs8YpzGbjA/images/fb/9be4697c4c0f617c.png?fit=max&auto=format&n=c5sDUwEs8YpzGbjA&q=85&s=feb2d69c5940848732a6430e138f05e8" alt="Create provision configuration" width="1280" height="1576" data-path="images/fb/9be4697c4c0f617c.png" />
</Frame>

## Create a Product

This guide will cover how to configure the Provisioning section on your Upmind Products to automate the provisioning of VirtFusion servers. For more information on configuring Products in general, please refer to [How to Create Products](/using-upmind/product-management/how-to-create-products).

1. Go to **Settings → Product catalogue**
2. **Add new or edit an existing Product**
3. Go to the Provisioning section and select the following options:
   1. Provision Blueprint: **Servers**
   2. Provision Provider:
      1. Any Provider: No
      2. Select **VirtFusion**
      3. Provider Configuration: (Select the provision configuration you created earlier)
4. Click **Save**
5. Scroll down to **Provision fields and configure the Server Location, Server Image & Server Size** (explained below)

### Provision Fields

You may wish to create [Product Options](/using-upmind/product-management/how-to-add-product-options) or [Product Attributes](/using-upmind/product-management/how-to-add-product-attributes) to allow customers to select the Location and Image of their server so you only need one main product for each Size (VirtFusion type) you want to sell. Refer to the sections below for what to type for [Server Location](#server-location), [Server Image](#server-image) and [Server Size](#server-size).

<Frame caption="Dynamic Product Provision Fields (Using Product Attributes)">
  <img src="https://mintcdn.com/upmind/2ooSxDpt6PiIGMr-/images/fb/001e736516be45d6.png?fit=max&auto=format&n=2ooSxDpt6PiIGMr-&q=85&s=c02ebe051390fdeee7b6e6e4fc36ea2f" alt="Dynamic Product Provision Fields (Using Product Attributes)" width="2363" height="1328" data-path="images/fb/001e736516be45d6.png" />
</Frame>

#### Server Location

This is the ID of the desired hypervisor group for new servers to be allocated to in VirtFusion - go to **Compute Resources → Hypervisor Groups**.

<img src="https://mintcdn.com/upmind/A-RwNPXmK_xnEEqe/images/fb/769aeb06477ade1a.png?fit=max&auto=format&n=A-RwNPXmK_xnEEqe&q=85&s=46f02bc4f394d1c5bf51a143ce85732f" alt="" width="2560" height="1271" data-path="images/fb/769aeb06477ade1a.png" />

#### Server Image

This can be the Name or ID of the OS image template from VirtFusion - go to **Media → Templates**.

<img src="https://mintcdn.com/upmind/kAlrCUxI2nwYz4_i/images/fb/1d80a7b4afdde26a.png?fit=max&auto=format&n=kAlrCUxI2nwYz4_i&q=85&s=28c9188806269399aa72ac6f06bb04e4" alt="" width="2560" height="1276" data-path="images/fb/1d80a7b4afdde26a.png" />

#### Server Size

This can be the Name or ID of a server package in VirtFusion - go to **Server → Packages**.

<img src="https://mintcdn.com/upmind/VnCXiz5rboywDnvn/images/fb/d76f7abb28c0ab03.png?fit=max&auto=format&n=VnCXiz5rboywDnvn&q=85&s=db73dbcd7f9d7c81540e2da05a4bd9f4" alt="" width="2558" height="1270" data-path="images/fb/d76f7abb28c0ab03.png" />
