# Setup Connection Validity

**GoAffPro** provides you with the option to set up the customer-affiliate connection validity.

To set up the customer-affiliate connection validity, go to the **Extras** section in the **Settings** tab of the GoAffPro admin panel.

<figure><img src="/files/IHZtLm3TKGfROiXF1FN9" alt=""><figcaption><p>Settings > Extras</p></figcaption></figure>

Here, go to the Customer-Affiliate Connect section.

<figure><img src="/files/lX5O4czJEltvcq2WXejQ" alt=""><figcaption><p>Customer-Affiliate Connect</p></figcaption></figure>

Now, enable the "**Set connection expiration (in days)?**" option.&#x20;

<figure><img src="/files/Nd6f9pV1b1eQC4zCwWTV" alt=""><figcaption><p>Enable the "Set connection expiration (in days)?" option</p></figcaption></figure>

Next, set the connection validity.

{% hint style="info" %}
Leaving the "Connection expires after" field empty will set the connection validity to lifetime.
{% endhint %}

<figure><img src="/files/Wmc12DJQlzCLzVdPIFVy" alt=""><figcaption><p>Set the validity</p></figcaption></figure>

You also have the option to refresh the expiration time with the next order.&#x20;

<figure><img src="/files/r4r9K3xGZGevnUmFjYt9" alt=""><figcaption><p>Refresh expiration time with next order</p></figcaption></figure>

Finally, click on **Submit**.

<figure><img src="/files/7n2Duq1qHwSWIAJrZX3H" alt=""><figcaption><p>Click on Submit</p></figcaption></figure>

After this, the connections will automatically expire once the validity period ends.

<figure><img src="/files/39b2Meyv0td8hSTDsJ1L" alt=""><figcaption></figcaption></figure>

{% embed url="<https://youtu.be/a2x5tPG7MJA>" %}
Setup Connection Validity
{% endembed %}


---

# 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.goaffpro.com/affiliate-commissions/advanced-settings/commission-for-recurring-payments/setup-connection-validity.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.
