# (Optional) Activate Delpha Licenses purchased via Heroku Marketplace

{% hint style="warning" %}
If you purchased Delpha through the **Heroku Marketplace**, follow these steps to activate your licenses. If you’re a direct customer, you can skip this section.
{% endhint %}

## Set up a Heroku app with the Delpha Data Quality add-on to activate the licences.

### Prerequisites

* You have access to an **Enterprise Account**, directly setup with the Heroku Team.

{% hint style="warning" %}
This Enterprise Account is set at Heroku contract signature. The Tenant Owner receives an email from Heroku to activate the account. If you think that you did not receive this email, liaise with your Heroku account manager.&#x20;
{% endhint %}

* If you are activating Delpha Licenses on a **Personal Account**, the process is the same. Make sure that **billing** information is set up (required for paid add-on).

### Step-by-step

#### **1 - Log in your Heroku Account**

* Go to <https://dashboard.heroku.com/> and sign in.
* **Switch to your Enterprise Account**\
  If the top-left account switcher, displays **Personal**, click on it and select a **Team** within your **Enterprise Account**&#x20;

{% hint style="warning" %}
If it is the first time you log in your Heroku Enterprise Account, you may have no team created under your Enterprise Account. You should create one for easier access management to the Delpha resources on Heroku.
{% endhint %}

#### **2 - Create a new app**

* Go to the tab **Apps** and click **Create new app**.
  * **App name**: use something meaningful, e.g. `your-companyname-delpha-heroku-licence` (must be globally unique).
  * **App Owner**: select your **Team**.
  * **Location**: choose the closest (e.g., Europe or United States).
  * Leave “Pipeline” inactive.
  * Click **Create app**.

#### **3 - Add the Delpha add-on to the newly created App**

> Case 1: you are on a **Custom Plan**

* Using Heroku CLI, copy paste the command from your Custom Plan email. It will add Delpha Data Quality add-on to the app you just created and associate it with the Custom Plan.&#x20;

```
heroku addons:create delpha-data-quality:CUSTOM_PLAN_NAME --app YOUR_APP_NAME_HERE
```

{% hint style="warning" %}
If Delpha has created a **Custom plan** for your company, you received an email titled **Heroku - You have been invited to install delpha-data-quality:*****NameOfTheCustomPlan*** sent by **<addons@heroku.com>** with this command line.&#x20;

*<mark style="color:orange;">If you did not receive this email or if you do not know what to do with it... add Delpha Support with email address <support@delpha.io> to your Heroku Team so we can manage the Custom plan activation for you.</mark>* &#x20;

To add a Team Member on Heroku, just follow these steps: in your Heroku account: Select your Team / go to the Access tab / click 'Invite User'.&#x20;

Make sure that the Delpha Support team member has add-on provisioning rights.
{% endhint %}

> Case 2: you are on the **Standard plans**

* Open your new app and go to the **Resources** tab.
* In **Add-on Services** section, search **Delpha Data Quality** and select it.
  * **Plan Name**: choose **Pro**.
  * Click **Submit Order Form** to provision the add-on.

#### **Final check**

You should now see the Service **Delpha Data Quality** under **Add-on Services** section with a Plan selected.&#x20;

{% hint style="success" %}
Licences are now active for this Heroku app. You can start using Delpha.
{% endhint %}
