# Customer Support Link

In the case of losing access to the MFA authenticators, the end-user can recover their account by using the emergency Recovery Codes. However they may have lost the codes and need customer support.

## Set customer support link

You can add a customer support link in the Portal.

1. Go to **UI Settings** in the Portal
2. Fill in the **Customer Support Link** in the **Link Settings** section
3. **Save** the settings.

The value will be used as the `href` of `<a>` HTML tag. It can be a URL or a `mailto:` link.

![Contact customer support in the 2-step verification screen](/files/-MdQWWnpkO4CrXdS13-W)

## Customize the label

You can also modify the text shown to the end-users by including two special translation keys in `translation.json`.

```javascript
{
    "enter-recovery-code-instead-v1": "Having Trouble? <button class=\"btn secondary-btn\" type=\"submit\">Use recovery code</button>",
    "enter-recovery-code-instead-with-customer-support-v1": "Having Trouble? <button class=\"btn secondary-btn\" type=\"submit\">Use recovery code</button> or <a class=\"link\" target=\"_blank\" href={customerSupportLink}>contact customer support</a>",
}
```


---

# 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.authgear.com/customization/built-in-ui/customer-support-link.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.
