# Connect your ChatGPT plan

> Sign in with your ChatGPT account so Ask Onsite answers with your ChatGPT plan instead of your Onsite credits.

Connect your ChatGPT plan once, and Ask Onsite answers your whole team's questions with it. It takes about two minutes: you switch on one setting in ChatGPT, then sign in with a code Onsite gives you.

## Before you start

- You're an **owner or admin** of your Onsite team.
- You have a **ChatGPT Plus or Pro** plan, or a seat in a Business, Enterprise or Edu workspace. See [which plans work](/guides/ai-accounts#which-plans-work).
- On a Business, Enterprise or Edu workspace, a workspace admin has to allow device code sign-in first. If you're not sure, try the steps below: step 2 tells you if it's blocked.

## Connect ChatGPT

<Steps>
  <Step title="Open AI connections">
    In Onsite, go to **Settings › AI connections**, or open [onsite.so/settings/ai-connections](https://onsite.so/settings/ai-connections).

    Choose **Connect** beside **ChatGPT**. Onsite opens three short steps under the row and gives you a one-time code.

    <Frame caption="The steps Onsite shows after you choose Connect">
      <img className="block dark:hidden" src="/images/ai-accounts/chatgpt-1-connect.png" alt="The ChatGPT row in Settings › AI connections, open with three numbered steps and a one-time code" />
      <img className="hidden dark:block" src="/images/ai-accounts/chatgpt-1-connect-dark.png" alt="The ChatGPT row in Settings › AI connections, open with three numbered steps and a one-time code" />
    </Frame>
  </Step>
  <Step title="Turn on device code sign-in in ChatGPT">
    Choose **Open ChatGPT security settings**, or in ChatGPT click your name, choose **Settings**, then open **Security**.

    Under **App security**, switch on **Enable device code sign-in for Codex, Excel, PowerPoint, and Word**. You only need to do this once.

    <Frame caption="The setting in ChatGPT, under Settings › Security › App security">
      <img src="/images/ai-accounts/chatgpt-2-device-setting.png" alt="ChatGPT's App security settings with Enable device code sign-in for Codex, Excel, PowerPoint, and Word switched on" />
    </Frame>

    If the switch is missing or greyed out, your workspace admin hasn't allowed it yet. Ask them to, then come back to this step.
  </Step>
  <Step title="Sign in on OpenAI's page">
    Back in Onsite, choose **Open sign-in page**. Sign in with the ChatGPT account whose plan you want to use.

    If your login belongs to more than one workspace, OpenAI asks which one to use. Pick the one with the plan.
  </Step>
  <Step title="Enter the code">
    Choose **Copy code** in Onsite, paste the code on OpenAI's page, and approve.

    OpenAI's page may name one of its own apps. That's expected. Only enter a code you started in Onsite yourself.

    The code works for 15 minutes. If it runs out, choose **Connect** again for a new one.
  </Step>
  <Step title="Come back to Onsite">
    You don't need to do anything else. Within a few seconds the ChatGPT row shows **Connected**, with the account's email and plan.
  </Step>
</Steps>

## Check it worked

The ChatGPT row in **Settings › AI connections** shows **Connected**, the email you signed in with, and your plan.

<Frame caption="ChatGPT connected">
  <img className="block dark:hidden" src="/images/ai-accounts/chatgpt-3-connected.png" alt="Settings › AI connections with ChatGPT connected, showing the account's email and Plus plan" />
  <img className="hidden dark:block" src="/images/ai-accounts/chatgpt-3-connected-dark.png" alt="Settings › AI connections with ChatGPT connected, showing the account's email and Plus plan" />
</Frame>

Now open **Ask Onsite** (top right, or **⌘J**) and ask a question about one of your sites. A model name appears beside the send button. That's how you know your ChatGPT plan is answering.

## Choose the model

Owners and admins can pick which ChatGPT model answers for the team. In Ask Onsite, choose the model name beside the send button and pick one:

| Model | Best for |
|---|---|
| GPT-6.2 Sol | Everyday questions. A good default. |
| GPT-6.2 Astra | The hardest work, like long reports and tricky comparisons. |
| GPT-6.1 Terra | Fast answers. |
| GPT-6 Luna | The lightest model, for quick questions. |

<Frame caption="The model picker beside the send button in Ask Onsite">
  <img className="block dark:hidden" src="/images/ai-accounts/chatgpt-4-model.png" alt="The Ask Onsite message box with its model menu open, listing four ChatGPT models" />
  <img className="hidden dark:block" src="/images/ai-accounts/chatgpt-4-model-dark.png" alt="The Ask Onsite message box with its model menu open, listing four ChatGPT models" />
</Frame>

The choice applies to everyone on your team. Larger models can reach your plan's usage limit sooner.

## Switch to another ChatGPT account

1. In **Settings › AI connections**, choose **Connected** on the ChatGPT row, then **Disconnect**.
2. Choose **Connect** and follow the steps again. On OpenAI's page, make sure you're signed in to the account you want. If it signs you in to the old one, sign out of ChatGPT in that browser first.

## Disconnect ChatGPT

In **Settings › AI connections**, choose **Connected** on the ChatGPT row to see what Onsite can do with your plan, then choose **Disconnect**.

<Frame caption="Disconnect is under the Connected button">
  <img className="block dark:hidden" src="/images/ai-accounts/chatgpt-5-disconnect.png" alt="The ChatGPT row opened, listing what Onsite can do with the plan, with a Disconnect button" />
  <img className="hidden dark:block" src="/images/ai-accounts/chatgpt-5-disconnect-dark.png" alt="The ChatGPT row opened, listing what Onsite can do with the plan, with a Disconnect button" />
</Frame>

Ask Onsite goes straight back to Onsite's own models and your credits. Nothing else changes: your chats, notes and settings stay as they are.

<Tip>
You can also turn off device code sign-in in ChatGPT afterwards. It doesn't affect anything in Onsite once you've disconnected.
</Tip>

## If something goes wrong

<AccordionGroup>
  <Accordion title="The code ran out">
    Codes work for 15 minutes. Choose **Connect** again to get a new one, and enter it on OpenAI's page straight away.
  </Accordion>
  <Accordion title="I can't find the device code switch in ChatGPT">
    On a Business, Enterprise or Edu workspace, a workspace admin has to allow device code sign-in before you can turn it on. Ask them, or connect a personal Plus or Pro account instead.
  </Accordion>
  <Accordion title="It connected the wrong workspace or plan">
    The ChatGPT row shows the plan it connected. If it's the wrong one, disconnect, connect again, and pick the workspace with the plan when OpenAI asks.
  </Accordion>
  <Accordion title="Onsite says ChatGPT signed this connection out">
    Your ChatGPT sign-in has ended, for example because you changed your password or signed out everywhere. Choose **Connect** on the ChatGPT row and sign in again. Until you do, Ask Onsite answers on credits.
  </Accordion>
</AccordionGroup>

More fixes, including plan limits, are in [Fix a ChatGPT or Claude connection](/guides/ai-accounts/troubleshooting).

## Related

<CardGroup cols={2}>
  <Card title="Connect Claude" icon="message-square" href="/guides/ai-accounts/claude">
    Use a Claude plan instead, or as well.
  </Card>
  <Card title="Fix a connection" icon="wrench" href="/guides/ai-accounts/troubleshooting">
    Every message you might see, and what to do.
  </Card>
  <Card title="Use Onsite in ChatGPT" icon="plug" href="/mcp/chatgpt">
    Ask about your sites from inside ChatGPT.
  </Card>
  <Card title="Billing and credits" icon="credit-card" href="/guides/billing-and-credits">
    What uses credits, and how many you get each month.
  </Card>
</CardGroup>
