# Adding Affiliate Product from Backend

Extension facilitates to select product type as affiliate while adding from Magento 2 backend. Simply go to **Product à Catalog** and select **Add Product** drop down and add product type as affiliate.

<figure><img src="/files/VE8Q0WXWerO5POyEe6FX" alt=""><figcaption></figcaption></figure>

Select Affiliate Product Link section where you can find settings to add external link URL for the products, add link text and open it in same or new tab options.

* **Enable Affiliation Link:** Enable or disable affiliation links for this product.
* **Link URL:** Set external product link URL.
* **Link Text:** Set button text to replace add to cart with.
* **Open In:** Select whether you want to open affiliate product on the new window or same window.

<figure><img src="/files/u6I8rcumGayQFeu1xvzm" alt=""><figcaption></figcaption></figure>


---

# 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.magecomp.com/magento-2-affiliate-extension/adding-affiliate-product-from-backend.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.
