# Billing RP

### **Backup the current version artifacts**

* Take a back up of the  Admin extension, Tenant extension and RP API web.config files
  * Admin Extension - C:\inetpub\AzureStack-BillingAdminExtension\Web.config
  * Tenant Extension - C:\inetpub\AzureStack-BillingTenantExtension\Web.config
  * RP API - C:\inetpub\AzureStack-BillingRP\Web.config

### Install the new build

#### Admin Extension

* In the command prompt, change the directory to the AdminExtension folder
* Run the command “CloudAssert.AzureStack.Billing.Extension.Admin.deploy.cmd /y”
* Refer to the previous version of the config file and change the current web.config app settings values

**Tenant Extension**

* In the command prompt, change the directory to the TenantExtension folder
* Run the command “CloudAssert.AzureStack.Billing.Extension.Tenant.deploy.cmd /y”
* Refer to the previous version of the config file and change the current web.config app settings values

#### Billing RP

* In the command prompt, change the directory to the RP folder
* Run the command “CloudAssert.MAS.Billing.RP.Web.deploy.cmd /y”
* Refer to the previous version of the config file and change the current web.config app settings values
