> For the complete documentation index, see [llms.txt](https://docs.crobox.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.crobox.com/how-to-guides/sagent/setup.md).

# Setup

Configure Sagent's core experience and optional shopper tools.

The **Setup** section defines Sagent’s core shopper experience. Its settings control how Sagent responds, what shoppers see, and how the experience appears on your website.

Configure these areas before publishing so the experience reflects your brand and supports your product-discovery journey.

Setup opens on **Behavior**. Use the pages below to configure Sagent's core experience.

### Rename Sagent

Sagent's name identifies it internally, in the Sagent list and at the top of its page. It helps teammates find the correct Sagent.

To rename Sagent, click the pencil icon next to its name at the top of the page and enter the new name.

The name does not control the shopper-facing chat title. Set that in **Content → General → Chat Title**.

### Test the data connection

Before configuring other tabs, start a conversation in the preview next to the settings. Confirm Sagent can access the intended product data.

If product data is not available yet, first review:

* [Setting up a Product Feed](https://docs.crobox.com/how-to-guides/product-data/setting-up-a-product-feed.md)
* [Manage and Transform Product Properties](https://docs.crobox.com/how-to-guides/product-data/manage-and-transform-product-properties.md)
* [AI Enricher Properties (text-based)](https://docs.crobox.com/how-to-guides/product-data/ai-enricher-properties-text-based.md)

{% hint style="info" %}
Next, configure the catalog in [Products](https://docs.crobox.com/how-to-guides/sagent/data/products.md). Review [Knowledge](https://docs.crobox.com/how-to-guides/sagent/data/knowledge.md) after syncing.
{% endhint %}

### Preview Sagent

Besides the preview next to the settings, the preview button at the top of the page offers three ways to see Sagent before you publish it:

| Option                 | What it does                                                                                  |
| ---------------------- | --------------------------------------------------------------------------------------------- |
| **Preview in app**     | Opens Sagent in a full-window preview, where you can try each presentation.                   |
| **Preview on website** | Opens your own website in a new tab, with this Sagent shown in preview mode.                  |
| **Share this chat**    | Creates links you can send to people who don't use the App, such as stakeholders or a client. |

#### Preview on website

Use **Preview on website** to check Sagent on your real pages, with your own styling and content around it. Only you see the preview; shoppers don't.

It's available once your container has a website URL and a published website integration. The preview opened this way expires after an hour, so open it again from the App when you need it.

#### Share a preview link

{% stepper %}
{% step %}

#### Open the dialog

Select **Share this chat** from the preview button. The **Shareable preview link** dialog opens.
{% endstep %}

{% step %}

#### Choose the presentation

Under **Presentation**, choose how Sagent appears when the link opens: **Full page**, **Chat widget** (the default), **Inline chat**, or **Floating chat**.
{% endstep %}

{% step %}

#### Copy a link

* **Guided flow** opens the general flow, where Sagent guides the visitor.
* **Product flow** opens Sagent about one product. Pick the product first to generate its link.
  {% endstep %}
  {% endstepper %}

The links are valid for 21 days, and anyone with a link can open it without logging in. The link opens Sagent on a picture of your website, so recipients see it in context. They can switch the **Presentation** and **Language** at the top of the page.

{% hint style="warning" %}
Share preview links carefully. To revoke a link before it expires, go to **Organization › Preview links**.
{% endhint %}

### Conversations

Shoppers can hold more than one conversation with Sagent. Past conversations are listed in a switcher on the chat title, newest activity first, alongside an option to start a new conversation. The switcher only appears once a shopper has more than one conversation to choose from.

Which conversation reopens depends on where the shopper is. A product page resumes the conversation about that product. A listing page or other general page resumes the shopper's general conversation. Conversations tied to a product stay separate from the general one, even for the same shopper.

{% hint style="info" %}
Reopening an older conversation without sending a new message doesn't change what resumes next time. Sagent still resumes by most recent activity, not by what was last opened.
{% endhint %}

This is not configurable per container.

### Frequently asked questions

<details>

<summary>Does Sagent's name change the shopper-facing title?</summary>

No. The name identifies Sagent internally. Set the shopper-facing title in **Content → General → Chat Title**.

</details>

<details>

<summary>Why is Preview on website greyed out?</summary>

Your container needs a website URL and a published website integration. Check both in your website integration settings.

</details>

<details>

<summary>Do people need an account to open a shared preview link?</summary>

No. Anyone with the link can open it until it expires after 21 days, or until you revoke it in **Organization › Preview links**.

</details>

<details>

<summary>Can shoppers see their past conversations?</summary>

Yes. A switcher on the chat title lists a shopper's past conversations once they have more than one. They can reopen any of them or start a new one.

</details>

<details>

<summary>Which conversation does Sagent resume if the shopper has multiple conversations?</summary>

It depends on page context. Product pages resume the conversation about that product. Other pages resume the shopper's general conversation.

</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.crobox.com/how-to-guides/sagent/setup.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.
