> ## Documentation Index
> Fetch the complete documentation index at: https://sitegpt.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Create your first chatbot, train it on your website, test it, and add it to your site.

In this tutorial, you create a chatbot, train it on your website, test it, and add it to your website. At the end, the chatbot answers questions on your own site.

You need:

* An email address.
* The address of your website, for example `https://example.com`.
* Access to your website's HTML, or to a place in your website builder where you can add a script.

<Steps>
  <Step title="Sign in">
    Go to [sitegpt.ai/login](https://sitegpt.ai/login) and enter your email address. SiteGPT sends you an email with a sign-in link. Open the link. There is no password.

    If you do not have an account yet, the link creates one. You see the **Chatbots** page.

    You need an active plan to train a chatbot and let it answer visitors. If you do not have a plan yet, choose one at [sitegpt.ai/pricing](https://sitegpt.ai/pricing). You can start with a free trial. A credit card is required at checkout, and you can cancel before the trial ends.
  </Step>

  <Step title="Create a chatbot">
    On the **Chatbots** page, select **Create New Chatbot**. In **Chatbot Name**, enter a name that your team will recognize, for example "Website assistant". Select **Create Chatbot**.

    SiteGPT creates the chatbot and opens it. The menu on the left now shows the pages for this chatbot. You can change the name and the look later.
  </Step>

  <Step title="Add your website">
    In the menu, select **Website Links** > **Scrape Website**. Fill in the form:

    * **Website URL**: the address of your home page, for example `https://example.com`.
    * **Recursion Depth**: enter `2`. This sets how many levels of links SiteGPT follows from your home page.
    * **Max Pages to Scrape**: enter `50`. The help text under the field shows how many pages you have left in your plan. If that number is lower than 50, enter that number.

    Keep the other fields as they are. Select **Add Links**.

    SiteGPT starts to read your website. You see the **Links List** with your pages.

    <Tip>
      If your website has a sitemap, you can use **Add from Sitemap** instead. For all the options, see [Add your website](/docs/guides/content/add-website).
    </Tip>
  </Step>

  <Step title="Wait for training">
    SiteGPT reads and indexes each page in the background. The cards at the top of the **Links List** show how many pages are **Trained**, **Pending**, and **Failed**. The list updates on its own. You can leave the page while it works.

    The time depends on how many pages your website has. Wait until most pages show as trained.

    If some pages fail, you can continue. You can fix them later. See [Add your website](/docs/guides/content/add-website).
  </Step>

  <Step title="Test your chatbot">
    In the menu, select **Dashboard**. The status message says "Your chatbot is live and ready to go!" when training is done.

    Select **Chat with your chatbot**. Your chatbot opens on its own chat page. Ask three or four questions that your visitors often ask. For example, ask about your prices, your opening hours, or how to contact you.

    Each answer comes from your website. Under an answer, the chatbot can show links to the pages it found. If you ask about something that is not on your website, the chatbot usually replies that it does not have enough information.

    Do not fix answers yet. You do that in [Your first week](/docs/get-started/first-week).
  </Step>

  <Step title="Add the chatbot to your website">
    In the menu, select **Installation**. Under **JavaScript Embed**, copy the code. It looks like this, with your own chatbot ID:

    ```html theme={null}
    <script type="text/javascript">window.$sitegpt=[];(function(){d=document;s=d.createElement("script");s.src="https://sitegpt.ai/widget/YOUR_CHATBOT_ID.js";s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})();</script>
    ```

    Paste the code into the HTML of your website, inside the `<head>` section of every page. Publish the change.

    If you use WordPress, Shopify, Wix, Squarespace, or Webflow, follow the steps for your platform in [Add the chatbot to your website](/docs/guides/install/add-to-website).
  </Step>

  <Step title="Check your website">
    Open your website in a new browser window. After a short delay, a chat button appears in the bottom corner of the page. Open it and ask one of your test questions again.

    The chatbot answers on your website. Your chatbot is live.

    If the chat button does not appear, see [Troubleshooting](/docs/guides/troubleshooting).
  </Step>
</Steps>

## Next steps

<CardGroup cols={2}>
  <Card title="Your first week" icon="calendar-check" href="/docs/get-started/first-week">
    Review real conversations and fix the answers that are wrong.
  </Card>

  <Card title="How answers work" icon="brain" href="/docs/concepts/how-answers-work">
    Learn where answers come from and why an answer can be wrong.
  </Card>

  <Card title="Appearance" icon="palette" href="/docs/guides/widget/appearance">
    Change the colors, icon, and welcome message of the chat widget.
  </Card>

  <Card title="Set up human support" icon="user-headset" href="/docs/guides/human-support/set-up-human-support">
    Let visitors reach a person on your team.
  </Card>
</CardGroup>
