> 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-private-chat-in-skyone-studio.md).

# How to set up Private Chat in Skyone Studio

**Private Chat** is a conversational automation tool inspired by chatbots, designed to execute agent workflows in a fully independent environment from **Skyone Studio**, with its own users and exclusive URLs.

It was created to meet specific needs where access to **Skyone Studio** is not possible, allowing users to test and interact with agent workflows quickly and conveniently.

* **New users**: Can access Private Chat as soon as the workflow is published.
* **Existing users**: Require an administrator to publish the workflow and share the URL or QR Code.

### **Benefits**

* Uses the same core elements for building an AI agent: agent workflows, interactive components (messages, buttons, etc.), and AI agents.
* Flexible usage, allowing access via a generated URL, similar to a traditional chatbot.
* Integrations with Slack and WhatsApp, as well as independent access through a browser or QR Code.
* Ideal for workflow testing when **Skyone Studio** is not accessible.
* Enables quick validation of interactions before final publication.
* Supports demonstrations with stakeholders or external teams.

### **Key Terms (Glossary)**

* **Agent Workflow**: Sequence of actions and interactions that define the agent’s behavior.
* **Interactive Components**: Elements such as messages, buttons, and input fields that enable user interaction.
* **AI Agent**: An entity configured to execute an agent workflow based on interactions.
* **Private Chat**: Isolated environment for testing and using agent workflows without relying on **Skyone Studio**.

### **Configuration Steps**

Publishing a workflow in **Private Chat** is done in simple steps, involving the creation of the workflow, agent configuration, and defining the users who will have access.\
Each step ensures that the chat is functional, secure, and ready for use.

**Steps:**

* [**\[ Step 01 \] How to publish a workflow in Private Chat**](#how-to-publish-a-workflow-in-private-chat): Publishing a workflow in Private Chat makes the agent available for testing and access via URL or QR Code.

***

### **How to Publish a Workflow in Private Chat**

Follow the step-by-step instructions below to publish an agent workflow:

1. [Create the agent workflow](https://docs.skyone.cloud/english/skyone-studio/integrations/flows/flow-management/flow-options.md).

<figure><img src="https://2493694111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQPcfIOA6Tl2Bmk6CdV2O%2Fuploads%2FPC8EFRTPhJsHeEFL2LxG%2Fa2QndbzOmP.png?alt=media&amp;token=9b1f3ce6-dd8f-4d12-8a15-8fba228655f5" alt=""><figcaption></figcaption></figure>

2. (Optional) [Create a Skill](https://docs.skyone.cloud/english/skyone-studio/artificial-intelligence/skills.md)
3. (Optional) [Create an agent and link the Skill](https://docs.skyone.cloud/english/skyone-studio/artificial-intelligence/agents.md)
4. Associate a model with the agent
5. Click **Publish**

<figure><img src="https://2493694111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQPcfIOA6Tl2Bmk6CdV2O%2Fuploads%2F3tFAnSPdhLYoUItWa7n1%2FIt34LLm9vQ.png?alt=media&amp;token=12f91c09-61a7-4460-8bbf-ae56caf031ae" alt=""><figcaption></figcaption></figure>

6. Select the **Private Chat** option

<figure><img src="https://2493694111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQPcfIOA6Tl2Bmk6CdV2O%2Fuploads%2FLNFOC6A5bZ5ImAh0U6S7%2Fchrome_ok8tDkLVwH.gif?alt=media&amp;token=42b652c7-ece2-47c8-9cf2-eb66883ac02b" alt=""><figcaption></figcaption></figure>

7. Choose the desired agent workflow

<figure><img src="https://2493694111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQPcfIOA6Tl2Bmk6CdV2O%2Fuploads%2F0B0eRoRXdWMv9Yxlozfo%2FXuJX9UlmhC.png?alt=media&amp;token=102a54d5-3d82-4328-a3f5-d284f39d86a3" alt=""><figcaption></figcaption></figure>

8. Select the account where it will be published

<figure><img src="https://2493694111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQPcfIOA6Tl2Bmk6CdV2O%2Fuploads%2FwUme6Z6hZpaDwRn5PSIs%2FMfNe0KeJ4K.png?alt=media&amp;token=ed3242db-0bc5-4dcd-83f3-7377d43e7ca5" alt=""><figcaption></figcaption></figure>

9. Manage the users and groups that will have access permissions

<figure><img src="https://2493694111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQPcfIOA6Tl2Bmk6CdV2O%2Fuploads%2F3ePngV137NKxEE0bdq6h%2Fchrome_nmOCKnJ7GN.png?alt=media&amp;token=c4887984-7afa-4202-9ab1-8f6eb9ebe9ca" alt=""><figcaption></figcaption></figure>

10. Click **Save**

***

### After Saving:

* A QR Code and a URL will be generated
* You can access the chat directly via browser or mobile

<figure><img src="https://2493694111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQPcfIOA6Tl2Bmk6CdV2O%2Fuploads%2FSgIhNsJFRuF3KwmS548e%2F58E260F6-0C70-4A52-8813-F721C63423EE.png?alt=media&amp;token=2b2e93be-8b0e-4152-a3eb-7372b2639256" alt=""><figcaption></figcaption></figure>

The interface will display all your publications and their associated agent workflows

### Test

On the **Test** tab, you can access the publication in two ways:

* **QR code:** Scan the code with your phone to access and test the publication.
* **Link:** Copy the address shown in the link field. Use the copy icon to copy it or the external link icon to open it in a new tab.

When you open the link, you go directly to the selected chat without having to select it again.

#### Embeddable

The **Embeddable** tab is displayed when the **Enable embedding** option is turned on in the publication's account. This tab contains the code snippets for embedding the chat in your website:

* **Toolkit:** Displays a floating icon in a corner of your website that opens the chat when clicked.
* **IFrame:** Embeds the chat interface in a specific area of your website, with a size you can adjust to fit the page layout.

To copy a code snippet, click the copy icon in the upper-right corner of the block, and then paste it into your website's HTML.

#### 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.

***

### **Demonstration Video**

To make the process easier to understand, watch the video below for a practical demonstration of all the steps covered in this documentation. The video shows each screen, click, and configuration required to complete the Private Chat integration in Skyone Studio.

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQPcfIOA6Tl2Bmk6CdV2O%2Fuploads%2FAvr8O07yRk32LeBBdB3t%2FChat%20privado%20-%20EN%20%20(1).mp4?alt=media&token=328d0b29-3e6f-4e72-a978-c6dc9722564e>" %}

***

### FAQ – Private Chat Configuration

<details>

<summary>Can I use Private Chat without access to Skyone Studio?</summary>

Yes, as long as someone with permissions publishes the workflow and shares the URL or QR Code.

</details>

<details>

<summary>Do I need to create a Skill to use Private Chat?</summary>

No, creating a Skill is optional.

</details>

<details>

<summary>Can I control who accesses Private Chat?</summary>

Yes, it is possible to define authorized users and groups during publication.

</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-private-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.
