> For the complete documentation index, see [llms.txt](https://replai-1.gitbook.io/replai-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://replai-1.gitbook.io/replai-docs/getting-started/5-minute-setup.md).

# 5-minute setup

## 5-minute setup

You can launch a first assistant in minutes.

The fastest path is one clean source, one active assistant, and one widget install.

{% hint style="info" %}
New workspaces start with a 7-day trial.
{% endhint %}

### How do you launch a first assistant?

{% stepper %}
{% step %}

### Connect a source

Choose **GitBook**, **Website crawler**, or **Q\&A snippets**.

Connect the source at the workspace level.

Then attach that source to your assistant.
{% endstep %}

{% step %}

### Configure the assistant

Choose **Answer**, **Agent**, or **Live**.

Set the assistant name, greeting, and source selection.

Save a Claude API key on the assistant.

Then enable the widget and keep the assistant active.
{% endstep %}

{% step %}

### Embed the widget

Copy the async script tag from Replai.

Paste it into the site or app where you want the assistant to appear.

Then test citations, suggested questions, and the fallback path.
{% endstep %}
{% endstepper %}

### What should you check before launch?

Check these items before you publish:

* The source scope is clean
* The assistant is active
* The widget is enabled
* Allowed domains are correct
* The saved provider key is valid

{% hint style="warning" %}
An assistant cannot answer until the source, assistant, widget, and saved provider key are all ready.
{% endhint %}

### Related links

* [How it works](/replai-docs/getting-started/how-it-works.md)
* [The widget](/replai-docs/features-by-tier/the-widget.md)
* [Sources overview](/replai-docs/connectors-sources/sources-overview.md)
* [Plans overview](/replai-docs/pricing-and-billing/pricing-overview.md)


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://replai-1.gitbook.io/replai-docs/getting-started/5-minute-setup.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
