# Install Optty Module

## **Step 1 Module Installation**

{% hint style="info" %}
If you do not currently have an Optty merchant account, sign up with Optty & receive your login credentials [here](https://www.optty.com/merchant-account?utm_source=Magento\&utm_medium=web\&utm_campaign=magento_platform).
{% endhint %}

### Install the Optty extension via Magento official Marketplace

```
https://marketplace.magento.com/optty-magento2-module-payment.html 
```

OR

### Install it manually by loading the Optty files into your server.&#x20;

{% hint style="info" %}
Please reach out to <mark style="color:blue;"><support@optty.com></mark> to get the extension file for manual install.
{% endhint %}

1. Unzip the Optty Module and copy the files to your Magento directory `(Magento_Dir)/app/code/`

<div align="left"><img src="https://lh5.googleusercontent.com/4oRCBvJsHum0V_A--xTKQUqTQ2TjDSsfDBfdXUFi9JQ6a15671sibLDVc9sViXw6yxgJo3Igb8JsSJzY1SwK3YSQZwmRJweIH-jy6LdCT9AsK1hHFbRI1PalXxozlaxTRvm0dcY" alt=""></div>

2\. Execute Magento setup upgrade:

```
bin/magento setup:upgrade
```

3\. Clean the cache and generated code:

```
bin/magento cache:clean

rm -rf var/generation/*
```

4\. Run magento compiler to generate auto-generated classes (this will take some time ...) :

```
bin/magento setup:di:compile 
```
