<!-- Source: https://docs.squirro.com/en/latest/getting/self-service/how-to/squirrogpt-web-guide.html -->
# Squirro Chat Web Quick-Start Guide

> **Feature status notice**
>
> The Squirro Self-Service platform (start.squirro.com) is still in development. As we continue to refine and improve it, you may encounter some inconsistencies or issues. Your feedback is really important to us in making this feature the best it can be. If you experience any problems or have suggestions for improvement, visit the [Squirro Support website](https://go.squirro.com/support) and submit a feedback request.

This guide provides an introduction to Squirro Chat Web and instructions on how to install and use the application. The application is available from [start.squirro.com](https://start.squirro.com).

Squirro Chat is offered in two version, Web and Data. This guide covers the Web version. For information on Squirro Chat Data, see [Squirro Chat Data Quick-Start Guide](squirrogpt-guide.md#how-install-gen-ai-v2).

## Introduction

Squirro Chat is a preconfigured Squirro application that allows you crawl your website and then query your data through an interface powered by Squirro’s information retrieval stack and a state-of-the-art large language model (LLM).

After installing the application and crawling your site, you’ll be presented with an intuitive digital assistant interface that allows you to interact with your data using natural language queries and embed a version of the digital assistant on your website.

[![Example Gen AI Squirro Chat Screenshot](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/gpt-new.png)](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/gpt-new.png)

## Who This Guide is Designed For

This quick-start guide is designed for end users who wish to try the Squirro Chat **Web** application found at [start.squirro.com](https://start.squirro.com).

## Process Overview

The following steps are needed to install and use Squirro Chat:

1. Register for a SquirroID.
2. Install the application in the Squirro cloud.
3. Crawl your website.
4. Ask Squirro Chat through the web application.
5. Embed a digital assistant on your website using a code snippet.

## Register for a SquirroID

To install a copy of Squirro Chat, you’ll first need a SquirroID.

If you don’t have one yet, see [How to Register for a Squirro ID](how-register-id.md#how-register-id) for instructions.

## Take Squirro Chat for a Test Drive

If you want to quickly see what Squirro Chat can do without installing the application as described in this guide, you can now _Test Drive_ a Squirro Chat application.

This allows you to safely and securely upload your own data or crawl your own website and see how Squirro Chat works.

[![Install or select a Test Drive screen](https://s3.amazonaws.com/download.squirro.net/docs/technical/getting/test-drive.png)](https://s3.amazonaws.com/download.squirro.net/docs/technical/getting/test-drive.png)

To learn more, see [How to Launch a Test Drive](how-test-drive.md#self-service-test-drive).

## Install the Application in the Squirro Cloud

To install your copy of Squirro Chat in the Squirro cloud, follow the steps below:

1. Navigate to [start.squirro.com](https://start.squirro.com/setup/app).
2. Click the tile for _Squirro Chat - Web_, as shown in the screenshot below:

[![Squirro Chat Data Application Tile](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/squirrogpt-web-tile.png)](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/squirrogpt-web-tile.png)

1. Click Install App.

[![Generative AI Install](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/app-setup.png)](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/app-setup.png)

1. Select the instance you’d like to install your application on, or scroll to the bottom and click Add a new instance to create a new instance the application will be added to.
2. Click Send Form to submit your information and install your new application.
3. When it’s done installing, you can click your new instance, which will open with your new Squirro Chat application.

> **Note**
>
> If you have any issues installing Squirro Chat, visit the [Squirro Support website](https://go.squirro.com/support) and submit a technical support request.

## Crawl Your Website(s)

To use Squirro Chat **Web**, you’ll need to start by crawling your website to ingest all of its data.

To do so, follow the steps below:

1. Log in and open your freshly installed Squirro Chat **Web** application. You should see the following welcome screen with a Connect Data button:

[![Squirro Chat Welcome Screen](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/gpt-data-welcome.png)](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/gpt-data-welcome.png)

1. Click Connect Data, which launches the following screen:

[![Squirro Chat Welcome Screen Data Connectors](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/welcome-connect.png)](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/welcome-connect.png)

1. Click Crawl a Website.
2. Enter your url starting with `https://`, for example `https://docs.squirro.com`. While it crawls, you will see messaging within the UI letting you know that the crawler is working, as shown in the example screenshot below:

[![Squirro Chat Crawler Working](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/crawler-working.png)](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/crawler-working.png)

Note: The crawler operates based on the primary `url` of the website. If you have multiple websites, you’ll need to add a new data source for each unique `url`.

> **Important**
>
> After crawling your website verify that your files have been uploaded properly by checking the Items display in the bottom-left corner of the UI. This section will show you how many pages are correctly indexed and alert you if there are any issues.

Reference: To learn about advanced web crawler options, see the [Crawler Connector](../../../technical/data-loading/connectors/built-in/crawler.md#data-loading-connectors-crawler) documentation.

## Understanding the Admin Interface

After opening your project, you’ll be presented with a digital assistant interface that allows you to interact with your data.

> **Note**
>
> This section deals with the administrative interface, not the interface that will be embedded on your website. For that, see Understanding the Digital Assistant UI.
>
>
>
> If you want to jump straight to embedding instructions, see Embedding the Digital Assistant.

The different parts of the Squirro Chat UI are labeled and explained below:

[![digital assistant UI](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/squirrogpt-ui-3.png)](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/squirrogpt-ui-3.png)

1. **Create a New Chat**: Start a fresh discussion with Squirro Chat.
2. **Chat Selection**: When multiple chats are present, select between them here. Hovering over the chat will display a menu that will allow you to rename or delete the chat.
3. **Indexed Items**: Displays the number of files you’ve indexed. If green, your documents have indexed correctly. If red, your documents have not indexed correctly. Click the server icon to view your connected data sources.
4. **Connect More Data Sources**: Crawl additional websites.
5. **Embed Chat**: Opens the modal window that provides customization and embedding options for the Squirro Chat digital assistant.
6. **Invite Users**: Opens the modal window that allows you to invite additional users to your project.
7. **Queries Remaining**: Number of queries remaining on your free trial or monthly subscription plan.
8. **Change Subscription Info**: Links to a Squirro contact form where you can request changes to your Squirro Chat subscription.
9. **Contact Squirro Support**: Open a Squirro support ticket directly from the UI.
10. **Additional Menu Items**: Click the three-dot menu to access additional menu items, including the ability to clear all chats and a link to this documentation.
11. **Chat Areas**: Your queries and responses from Squirro Chat will appear here.
12. **Answer Grounding**: When Squirro Chat generates an answer, it will display the grounding strictness used.
13. **Copy Answer and Provide Feedback**: Click the copy icon to copy the generated answer, or click the three dots to provide feedback on the quality of the response.
14. **Sources**: When the generated answer can be tied to a specific source (or sources), the source(s) will be displayed here. Click a source to open it.
15. **Grounding**: Select between levels of grounding strictness. See the explanation for this feature in the section below.
16. **Chat Input**: Type your chat query here, or click the Microphone icon to speak your query.

### Grounding

Squirro Chat allows you to choose one of three evidence-grounding options for each chat query submitted.

These options include the following:

- **With Project Data Strict**: Adheres as strongly as possible to the retrieved sources, limiting answers generated from the LLM’s internal knowledge.
- **With Project Data Lenient**: If it feels it needs to, supplements the information from the provided sources with its internal knowledge to provide a more comprehensive answer. This can be useful to fill in small information gaps in the retrieved documents. The risk in using this option is an elevated chance of hallucinations.
- **Without Project Data**: Forwards the user question (along with the current chat history) to the underlying LLM to retrieve an answer. This can be a useful tool to showcase what the answers would have been without Squirro’s source grounding.

## Understanding the Digital Assistant UI

The digital assistant interface is the interface that will be embedded on your website in one of the three following ways:

- As a floating action button (most popular)
- As an iFrame
- Within an existing target button

The screenshot below shows the digital assistant interface when embedded using a floating action button, with the different parts of the UI labeled and explained below:

> **Digital Assistant UI**

[![Embed Squirro Chat](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/da-ui.png)](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/da-ui.png)

1. **Digital Assistant Title**: This title is configurable within the Embed Appearance tab.
2. **Resize Icon**: Allows you to toggle between small and large chat sizes.
3. **Close Icon**: Closes the chat window (but retains the chat icon if you’ve embedded the chat as a button).
4. **User Query**: The user’s query.
5. **Chat Avater**: The avatar of the digital assistant. This is configurable within the Embed Appearance tab.
6. **Chat Name**: The name associated with the responses. This is configurable within the Embed Appearance tab.
7. **Copy Icon**: Click to copy the generated answer.
8. **Feedback Menu**: Click to provide feedback on the quality of the response.
9. **Response**: The generated response to the user query.
10. **Sources**: When the generated answer can be tied to a specific source (or sources), the source(s) will be displayed here.
11. **Chat Input**: Type your chat query here and push enter or click the send icon to submit your query.
12. **Digital Assistant Icon**: The icon that appears when you embed the digital assistant as a floating action button. This is configurable within the Embed Appearance tab.

## Embedding the Digital Assistant

Once you have crawled your website(s), you can embed a version of the digital assistant on your website (or wherever you’d like).

To do so, follow the steps below:

1. Log in to your Squirro project.
2. Navigate to your chat interface (via Dashboards.)
3. Click Embed Chat to launch the embed modal window, as shown in the screenshot below:

[![Embed Squirro Chat](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/embed-window.png)](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/embed-window.png)

1. Select your preferred option of the three, which will launch the customization and embedding configurations for your selected option.

> **Important**
>
> Before you publish the embedded digital assistant, review the disclaimer shown below the chat input field. That disclaimer is where you tell your visitors that they are interacting with an AI assistant. The disclaimer text and the surfaces it appears on are configured on the Chat widget of the dashboard you embed. For more information, including guidance on AI transparency, see the [Chat Widget](../../../technical/widgets/built-in/chat.md#widgets-bi-chat) page.

### Embed as Floating Action Button

This will embed Squirro Chat as a digital assistant in the corner of your website.

There are three tabs in the embed window, as shown in the screenshot below:

Appearance[![Target Button](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/button-embed-app.png)](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/button-embed-app.png)

In this tab, you can customize the chat title, name, avatar, and color scheme.

You can also choose the size and position of the digital assistant window that appears when the user clicks the button.

Lastly, you can select the chat icon that appears as well as its color.

Behavior[![Target Button](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/button-embed-beh.png)](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/button-embed-beh.png)

In this tab, you can set your welcome message, choose whether or not to show sources with answers using the toggle, and configure starter questions. For detailed information about starter questions, see the [Starter Questions](../../../technical/chat/starter-questions.md#starter-questions) page.

Setup / Installation[![Target Button](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/button-embed-code.png)](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/button-embed-code.png)

This tab contains the code snippet you’ll need to embed the digital assistant on your website.

Copy the code to your clipboard, then paste it in the `<head>` element of your site or web application.

### Embed iFrame

This will embed Squirro Chat as a digital assistant via iFrame.

There are three tabs in the embed window, as shown in the screenshot below:

Appearance[![Target Button](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/iframe-embed-app.png)](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/iframe-embed-app.png)

In this tab, you can customize the chat title, name, avatar, and color scheme.

Behavior[![Target Button](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/iframe-embed-beh.png)](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/iframe-embed-beh.png)

In this tab, you can set your welcome message, choose whether or not to show sources with answers using the toggle, and configure starter questions. For detailed information about starter questions, see the [Starter Questions](../../../technical/chat/starter-questions.md#starter-questions) page.

Setup / Installation[![Target Button](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/iframe-embed-code.png)](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/iframe-embed-code.png)

This tab contains the code snippet you’ll need to embed the digital assistant on your website. Here you can also specify the iFrame dimensions width and height.

Copy the code to your clipboard, then paste it in the `<head>` element of your site or web application.

### Embed in Target Button

This will embed Squirro Chat as a digital assistant that’s launched when a user clicks a pre-existing button on your website.

There are three tabs in the embed window, as shown in the screenshot below:

Appearance[![Target Button](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/embed-target-button.png)](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/embed-target-button.png)

In this tab, you can customize the chat title, name, avatar, and color scheme.

You can also choose the size and position of the digital assistant window that appears when the user clicks the button.

Behavior[![Target Button](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/emb-targ-beh.png)](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/emb-targ-beh.png)

In this tab, you can set your welcome message, choose whether or not to show sources with answers using the toggle, and configure starter questions. For detailed information about starter questions, see the [Starter Questions](../../../technical/chat/starter-questions.md#starter-questions) page.

Setup / Installation[![Target Button](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/emb-targ-code.png)](https://s3.amazonaws.com/download.squirro.net/docs/technical/gpt/emb-targ-code.png)

This tab contains the code snippets you’ll need to embed the digital assistant on your website. For this option, it’s a two-step process.

1. Copy the _Embed Chat Button_ code to your clipboard, then paste it in the `<head>` element of your site or web application.
2. After pasting the code in Step 1, copy the _Trigger Squirro Chat from a Target Button_ code to your clipboard, then locate your custom button in your website code and add the code snippet to the `onclick event`.

If you have any issues embedding Squirro Chat, visit the [Squirro Support website](https://go.squirro.com/support) and submit a technical support request.

## How to Use Squirro Chat

As an end user, getting started with Squirro Chat is easy. Simply type your query into the chat input field and start a conversation.

While using it is easy, getting the most out of the experience can sometimes require a knowledge of best practices.

> **Caution**
>
> Even with best practices, like all generative technology, Squirro Chat may produce inaccurate information about people, places, or facts. Please validate answers against the source material.

To learn more about how to get the most out of Squirro Chat, see [Improving Conversations](../../../products/squirrogpt.md#squirrogpt-maximize).

## Adding Users

> **Note**
>
> The term _instance_ and _server_ are used interchangeably. They refer to your root installation of the Squirro platform in the Squirro-managed cloud referred to as _Squirro Self-Service_.

Adding users is a two-step process:

1. Users must first register for a SquirroID at [start.squirro.com](https://start.squirro.com).
2. Once they have a SquirroID, you must add them to your instance.

### 1 - Registering for a SquirroID

Any users you wish to add to your project must first register for a SquirroID.

Reference: For instructions on obtaining a SquirroID, see [How to Register for a Squirro ID](how-register-id.md#how-register-id).

### 2 - Adding Users to Your Instance

Users are added to your server via the Cluster page, also known as the My Instances page.

To add users to your instance, follow the steps below:

1. Once logged in to Squirro with your SquirroID, navigate to the Cluster page by clicking the navigation menu in the top-right corner of the UI.

[![Squirro Spaces Menu](https://s3.amazonaws.com/download.squirro.net/docs/technical/ui/spaces-menu.png)](https://s3.amazonaws.com/download.squirro.net/docs/technical/ui/spaces-menu.png)

1. Hover over your instance, and click the three-dot menu that appears, as shown in the screenshot below:

   > [![Squirro Cluster Page Instance Hover Menu](https://s3.amazonaws.com/download.squirro.net/docs/technical/ui/dot-hover.png)](https://s3.amazonaws.com/download.squirro.net/docs/technical/ui/dot-hover.png)
2. Click Users.
3. Click Invite Users to add users by email address.
4. Enter the user’s email address and select the role of Admins and click Send.

Note: At the initial launch of Squirro Chat, the new users must be added as Admins.

> **Warning**
>
> Users may not be automatically notified that they have been added to the project. It is recommended to manually notify users after adding them to the project.

## Notes on Data Security

Note the following regarding data security:

- Squirro Chat runs on a single tenant utilizing Squirro’s public cloud infrastructure.
- On uploading, your data is indexed and enriched.
- Your data is encrypted both in transit and at rest.
- Squirro Chat combines an information retrieval stack with a large language model (LLM).
- During chat generation, portions of your data are exposed to said LLM but are not transferred or stored in the LLM.

## Limitations

### Free Trial Limitations

Squirro Chat is available as a free trial application subject to the following fair usage policy.

Users may:

- Perform up to a maximum of 1000 trial interactions.
- Upload up to a maximum of 1000 documents (web pages) per application, with a maximum of 1GB of documents per user.
- Use the application free for up to a maximum of 14 days.
- Add up to a maximum of 10 trial users.

### Professional Limitations

Squirro Chat professional limitations are as follows:

- Up to 10,000 interactions per month (with a per interaction fee applying afterward).
- Crawl as many web pages as you’d like, as long as individual pages don’t exceed 50MB and the total storage does not exceed 5GB/month up to 50GB total.
- No limit to anonymous web users using embedded digital assistants (though usage is still limited by total interactions as per the first bullet point).

Reference: See [Squirro Chat Pricing](https://squirro.com/pricing/) for more information on available plans and pricing.

### Browser Limitations

The Speech to Text feature for the Global Search Bar and Search Widget only works for Google Chrome browsers.

## Troubleshooting

If you encounter any issues while using Squirro Chat, visit the [Squirro Support website](https://go.squirro.com/support) and submit a technical support request.
