# Chat Widget Pop-Up

There are two options for the chat widget to automatically pop open on the website after a certain amount of seconds.&#x20;

### Chat Widget Pop-Up

The chat widget window will automatically open fully after a certain amount of seconds. This is a larger interface to get user's attention to engage with the bot.&#x20;

### How to Enable

In the Update section of any AI agent you can open the dropdown under 'Select Popup Type' and select the option you want to enable.

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

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

### Alternative Option - Initial Messages Pop-Up

The initial messages are shown to the user as being "from" the AI agent in the chat widget interface and in this case as a way to get user's attention to engage with the bot.&#x20;


---

# 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.stammer.ai/stammer.ai-docs/chat-ai-agents/ai-chat-widget/chat-widget-pop-up.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.
