# Configuration

Once the extension is installed successfully, go to **Stores > Configuration** to configure the extension for use.

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

**Coupon Code URL –** Enable or Disable extension from here.

**Select Cart Price Rule:** Admin can select cart price from here. The dropdown menu displays both auto-generated coupon codes and specific coupon codes.

**Generated URL:** Get the coupon code-generated URL from here. Click copy URL to copy the generated URL.

**Note –** Admin can also get Coupon Code URL from backend grid.

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

**Set Success Message:** Admin can set a custom success message to display after applying the coupon code.

**Set Error Message:** Admin can set a custom error message to display if the applied coupon code is incorrect.


---

# 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-coupon-code-link-extension/configuration.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.
