# 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="/files/ngmDrnS0PokCMCVvANIu" 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="/files/OKG0TWaoy51BqgISgu87" 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="/files/2uuaHMWaxIoFJWuDx8sK" 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="/files/UQynAwVPCf6N3VjsTfVK" 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="/files/zMSBUUmHgmhuP66jRQZh" 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.

***

#### 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: 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.skyone.cloud/english/skyone-studio/artificial-intelligence/agents/ai-agent-publication-channels/how-to-set-up-public-chat-in-skyone-studio.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.
