# 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 
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.optty.com/platforms/magento-2/install-optty-module.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
