# Opt-in QR code generation

It is possible to generate an opt-in QR code, which can be used to easily distribute and share access to the chatbot, allowing users to quickly start a conversation.

* When the **Save** button is clicked, the QR code image is automatically updated.
* Users can click on the QR code image to download it as a file for further use.
* It is possible to generate a **dynamic QR code**.\
  The QR image never changes because it encodes a **fixed URL**.\
  That URL performs a redirect to the opt-in flow.
* Once the dynamic QR code is generated, the encoded URL remains valid and continues to work for opt-in **as long as the bot or the account exists**.\
  If the bot or the account is deleted, the URL stops working.

<figure><img src="/files/6H2hSA6c2Qlh174vrdD9" 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.xenioo.com/basic-concepts/publishing/channels/rcs/opt-in-qrcode.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.
