> For the complete documentation index, see [llms.txt](https://docs.skyone.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.skyone.cloud/english/skyone-studio/artificial-intelligence/agents/ai-agent-publication-channels/how-to-set-up-public-chat-in-skyone-studio.md).

# How to set up Public Chat in Skyone Studio

### Introduction

The Public Chat is a **Skyone Studio** feature that allows direct interactions between users and AI agents without requiring authentication. This makes interaction with the agent easier and more accessible, especially in scenarios where simplicity and fast access are essential. With this feature, you can create a chat interface that is available to any user, without the need for email or password, making it ideal for more open or public integrations.

Like the Private Chat, the Public Chat also offers embedding options, allowing you to integrate the chat directly into external websites through toolkits or iframes. This enables a more seamless and personalized interaction for your website visitors.

***

#### How to Navigate and Use the Public Chat

**Step by Step: How to Create and Publish a Public Chat**

1. **Access Studio**: Click on **“Publish”** in the side menu.
2. **Create a New Public Chat**:
   * Select the **“Publish”** option.
   * Choose **“Public Chat”**.
   * Select the account for your creation.

<figure><img src="https://2493694111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQPcfIOA6Tl2Bmk6CdV2O%2Fuploads%2FLeQh2Z5H6piJuB1T5Dse%2Fchrome_DvoB1jKEmL.gif?alt=media&amp;token=15ecdaec-d017-4533-8535-6aadddea3ee6" alt=""><figcaption></figcaption></figure>

3. **Enable embedding button**: This button allows you to insert the chat directly into external pages, enabling users to interact with the assistant without leaving your website.
4. **Add origins**: Define where your embedding will be published.

<figure><img src="https://2493694111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQPcfIOA6Tl2Bmk6CdV2O%2Fuploads%2FuHgDNXHjVHvv0FpXMm3M%2Fimage.png?alt=media&amp;token=4e533e42-93b3-4c24-8a42-850f9285510e" alt=""><figcaption></figcaption></figure>

5. **Share the link**: After publishing, a direct link to the public chat will be generated. Users can access this link without authentication.

<figure><img src="https://2493694111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQPcfIOA6Tl2Bmk6CdV2O%2Fuploads%2FiOCBJP9dIX4jLhJsKCLN%2F1F9N8T5V5I.png?alt=media&amp;token=76ae8e25-9221-4071-b45e-c2a4e12c1744" alt=""><figcaption></figcaption></figure>

6. **Chat access**: When clicking the link, users are taken directly to the chat interface, without being redirected to a login screen.

<figure><img src="https://2493694111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQPcfIOA6Tl2Bmk6CdV2O%2Fuploads%2FAj7EI3vjEhCHFdyA54kj%2FWU53jJiCVR.png?alt=media&amp;token=1c304b69-865a-4ff0-a2d2-fb27a9bf1548" alt=""><figcaption></figcaption></figure>

***

#### Embedding Functionality

**Choose the Embedding Method**

* **Toolkit**: A floating icon (chat bubble) on the corner of the website that opens the chat when clicked. The icon remains visible even after closing the chat.
* **Iframe**: The chat interface is embedded directly into a specific area of the website. You can control the iframe size to better fit your layout.

**Code Configuration**

* The platform provides an HTML code that can be copied and pasted directly into your website.
* After copying the code, paste it into the desired section of your site’s HTML. This applies to both Toolkit and Iframe methods.

<figure><img src="https://2493694111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQPcfIOA6Tl2Bmk6CdV2O%2Fuploads%2F2zW4XARTM5PPb0eNYQrh%2Fchrome_yZ6hWKsqsd.gif?alt=media&amp;token=81659991-0427-461e-aa5b-51f45faaf180" alt=""><figcaption></figcaption></figure>

***

#### Important Restriction

* Only **one Public Chat** can be published at a time. Multiple public chats cannot be active simultaneously.
* The Public Chat does not require user permission settings, unlike the Private Chat, which requires defining who can access it.

### Chat features

In addition to standard interaction features, public and private chats include the following:

* **Export table:** If a response contains a table, hover over it and click **Download as Excel**.
* **Copy code:** When you copy code generated by the Agent, the original indentation is preserved, so you can paste it directly into a code editor.
* **Copy by line:** When a response is organized into separate lines, you can copy each line individually using the copy icon at the end of the line, or copy all the content using the main copy button.

***

#### FAQ – Frequently Asked Questions

<details>

<summary><strong>What is the difference between Public Chat and Private Chat?</strong></summary>

The Public Chat does not require authentication, allowing direct access for any user. The Private Chat requires login credentials and allows specific user configuration.

</details>

<details>

<summary><strong>How many public chats can I publish at the same time?</strong></summary>

Only one Public Chat can be published at a time.

</details>

<details>

<summary><strong>How does chat embedding work on a website?</strong></summary>

You can embed the chat using a Toolkit (floating icon) or an Iframe (embedded window) by copying the provided HTML code and pasting it into your website.

</details>

<details>

<summary><strong>Do I need to configure access permissions for a Public Chat?</strong></summary>

No. The Public Chat is accessible to all users and does not require permission settings.

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.skyone.cloud/english/skyone-studio/artificial-intelligence/agents/ai-agent-publication-channels/how-to-set-up-public-chat-in-skyone-studio.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
