# Test and deploy

### Demo chat

Once you click save at any step of agent configuration, a chat widget will appear at the bottom right corner. Use it to instantly check out your AI and make changes on the go.&#x20;

<div><figure><img src="/files/txvYUzuFEEj4F6KNftFg" alt=""><figcaption></figcaption></figure> <figure><img src="/files/jQVEP4DLPlas71Ky9e8u" alt="" width="375"><figcaption></figcaption></figure></div>

### Deployment

If you save your agent at least once, you will see a button to deploy it. There are two options you can choose from. Public deployment makes the agent visible on [ARCH AI](https://thearch.ai), and every user can start a chat with your agent from this section. Private deployment makes the agent visible only to you. However, for both cases you can configure [Telegram integration](/archai/create-your-own-ai/telegram-integration.md) and share your AI-powered telegram bot with anyone.&#x20;

<div><figure><img src="/files/iLqiImnzbvjJDDBtM9sx" alt="" width="563"><figcaption></figcaption></figure> <figure><img src="/files/BVtD6gwKrwDFfg4tZJ7E" alt="" width="563"><figcaption></figcaption></figure></div>


---

# 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://archai.gitbook.io/archai/create-your-own-ai/test-and-deploy.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.
