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

# SiteGPT

> Connect SiteGPT so your agents can work on your AI support chatbot, and learn how the sign-in, the tools, and disconnecting work.

[SiteGPT](https://sitegpt.ai/?via=mchq) is an AI support chatbot trained on your website content. Connect it, and your agents can work on your chatbots, visitor conversations, and training content.

SiteGPT is in the **Recommended** section of the catalog. It does not use the app sign-in that other apps use. You approve Squad inside your SiteGPT account, or you paste a SiteGPT API key.

## What agents can do in SiteGPT

Agents get 3 SiteGPT tools. One finds SiteGPT API endpoints, one makes read-only calls, and one creates or updates resources.

| Tool                    | What it does                                                                                 |
| ----------------------- | -------------------------------------------------------------------------------------------- |
| `sitegpt_search`        | Finds SiteGPT API v2 endpoints.                                                              |
| `sitegpt_execute_read`  | Makes read-only calls, for example to chatbots, visitor conversations, and training content. |
| `sitegpt_execute_write` | Creates or updates resources.                                                                |

Squad does not block any SiteGPT tool. SiteGPT has no access levels in Squad, and there is no **Per-agent access** setting for it.

The tools appear within a couple of minutes after you connect. Until then, agents cannot see them.

## Connect SiteGPT

Before you start:

* You need a SiteGPT account. You can create one at [sitegpt.ai](https://sitegpt.ai/?via=mchq).
* Your Squad subscription must be active.

<Steps>
  <Step title="Open Integrations">
    Open **Settings** > **Integrations**.
  </Step>

  <Step title="Add an integration">
    On the **Connected apps** tab, click **+ Add integration**.
  </Step>

  <Step title="Choose SiteGPT">
    Under **Recommended**, click **SiteGPT**. The **Connect SiteGPT** window opens.
  </Step>

  <Step title="Sign in with SiteGPT">
    Click **Sign in with SiteGPT**. The SiteGPT approval page opens in a new tab.
  </Step>

  <Step title="Enter the code if asked">
    If the approval page asks for a code, enter the code that the Squad window shows.
  </Step>

  <Step title="Approve in SiteGPT">
    Approve the request in SiteGPT.
  </Step>

  <Step title="Go back to Squad">
    Go back to the Squad tab. Keep the **Connect SiteGPT** window open until it closes by itself.
  </Step>
</Steps>

If the new tab does not open, click **Open the approval page →** in the Squad window.

The sign-in gives Squad a SiteGPT token with every self-service permission that your SiteGPT role can grant. Squad requests a token that lasts 365 days.

### Connect with an API key instead

<Steps>
  <Step title="Choose the API key option">
    In the **Connect SiteGPT** window, click **Paste an API key instead**.
  </Step>

  <Step title="Copy your SiteGPT API key">
    In SiteGPT, create a chatbot if you have none. Then copy your API key from your account settings.
  </Step>

  <Step title="Paste the key">
    Paste the key in the **API key** field.
  </Step>

  <Step title="Click Connect SiteGPT">
    Click **Connect SiteGPT**.
  </Step>
</Steps>

Check that it works: the window shows "Connected. Your agents can use SiteGPT." when you open it again, and SiteGPT shows under **YOUR CONNECTIONS**.

## Replace the credential

* To sign in again, open the account menu (⋯) on the SiteGPT row and click **Sign in again**. Then click **Sign in again to replace the credential** and approve in SiteGPT.
* To use a new API key, open the account menu (⋯) and click **Replace key**. Paste the key and click **Save new key**.

Squad stores one SiteGPT credential for your workspace. A new sign-in or a new key replaces the old one. You cannot connect a second SiteGPT account.

## Disconnect SiteGPT

Open the account menu (⋯) on the SiteGPT row and click **Disconnect**. Squad deletes the stored credential from your workspace computer.

<Warning>**Disconnect** in the account menu acts at once. In the **Manage SiteGPT** window, **Disconnect** asks you to click **Really disconnect?** first.</Warning>

## Costs

SiteGPT tools do not use Squad credits. Connected apps never use credits. For what does use credits, see [What Squad costs](/docs/costs).

## Common questions

<AccordionGroup>
  <Accordion title="Do I need a SiteGPT account first?">
    Yes. You approve the connection while you are signed in to SiteGPT, so you need a SiteGPT account first.
  </Accordion>

  <Accordion title="What can agents do in SiteGPT?">
    Agents get 3 SiteGPT tools. One finds SiteGPT API endpoints, one makes read-only calls, and one creates or updates resources.
  </Accordion>

  <Accordion title="How do I disconnect SiteGPT?">
    Open the account menu (⋯) on the SiteGPT row and click **Disconnect**. Squad deletes the stored credential from your workspace computer.
  </Accordion>
</AccordionGroup>

## Related pages

<CardGroup cols={2}>
  <Card title="Connect apps" icon="plug" href="/docs/integrations" />

  <Card title="Add an MCP server or an API key" icon="server" href="/docs/custom-integrations" />
</CardGroup>
