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

# Build with Claude

> Build and run your SuperIntern website with Claude Code, Codex or the Claude app: connect once, then Claude creates the site, edits its code, checks it and publishes when you say so.

You can build your website on your own computer with **Claude Code** or **Codex**, or ask the **Claude app** to look after it. Claude connects to SuperIntern, works on your website's code, and uses your CRM for its content. You stay in control: nothing goes online until you say *publish*.

## Connect Claude to SuperIntern

The easiest way is from your dashboard: **Website → New website → Build it on your computer with Claude Code or Codex**. Choose **Sign in with Claude** and click **Build with Claude Code**: Claude's desktop app opens a new Claude Code chat with the prompt typed in. Press Enter. Claude connects SuperIntern for you (your browser opens: sign in and choose your business), then builds the website with you. The prompt is copied too, for pasting into Claude Code yourself. With Codex, choose **Codex** first.

You don't need to add SuperIntern to Claude first. If you'd rather, the same window has **Or add SuperIntern to Claude yourself first**: on claude.ai the name and address are filled in for you; in Claude's app, press **Add → Add custom connector** and paste them.

Prefer a website key? Choose **With a website key**, press **Make a new key** if you don't have one on this computer, run `sites login` in a terminal and paste the key there (never into the chat), then copy the prompt.

To set it up yourself:

> [tab] Claude Code
>
> ```bash theme={null}
> claude mcp add --transport http --scope user superintern https://api.superintern.ai/mcp
> ```
>
> Then sign in with `claude mcp login superintern`, or type `/mcp` in Claude Code, choose **superintern** and **Authenticate**.

> [tab] Claude app
>
> In Claude (web, desktop or phone), open **Customize → Connectors → Add → Add custom connector**. Name it `SuperIntern`, enter `https://api.superintern.ai/mcp` and connect. On a Team or Enterprise plan, an owner adds it under **Organization settings → Connectors**.

> [tab] Codex
>
> ```bash theme={null}
> codex mcp add superintern --url https://api.superintern.ai/mcp
> codex mcp login superintern
> ```

When you sign in, SuperIntern asks **which business** Claude may work on and **what it can do**: read or change your CRM, and look at or change your websites. Only the business owner or a team admin can let Claude change websites.

> [!TIP]
>
> Building on a server or in CI? Make a key under **Website → Keys → Make a key**. Choose what it can do on your websites (**Can change websites** or **Can only look**) and, under **And the CRM?**, whether it may also read the CRM, change items (such as products and prices) or **manage the CRM** (tables, columns and what is public, which a shop or a sign-in needs). Pass it as a header: `--header "Authorization: Bearer sk_live_…"`. The key is shown once.

## What to ask

Once connected, talk to Claude as you would to a web designer:

```
Make a website for my bakery, based on our current site at example.com. Keep our colours.
```

```
Add a Menu page from our Dishes table, grouped by course, with photos and prices.
```

```
Add a shop with our products and an Add to cart button.
```

```
How many visitors did we get last week, and which page do people leave from?
```

```
Publish it.
```

## How Claude works on your site

1. **It finds your sites** and their state.
2. **It gets the code.** Every website is a git repository. A new website's repository starts as a single commit, *Started from the SuperIntern template*, and its history begins there. Claude gets a one-time sign-in code, so you never handle a password, then clones the site, edits it and pushes its changes.
3. **Every push is built and checked**, which takes about a minute. If something fails, Claude is told why and fixes it. A push never changes what visitors see.
4. **It publishes only when you ask.** Your live site changes when you say *publish*, and you can go back to an earlier version at any time from the **Versions** tab.

For a new website, Claude can read your current one and suggest three design directions before it starts, just like the dashboard does.

## What Claude can do

| Tool | What it does |
| - | - |
| `site_list` | Lists your websites, their addresses and how many more you can make |
| `site_read` | One website's state, versions and builds; waits for a build to finish |
| `site_table_list` | What your CRM lets the website show and sell, and whether payments and customer sign-in are on |
| `site_git_access` | The site's git address, the template's address (read only) and a one-time sign-in code |
| `site_brief_read` / `site_brief_save` | Reads your current website for a new design; saves corrected facts to your knowledge |
| `site_create` | Makes a new website |
| `site_publish` / `site_unpublish` | Puts a version online / takes the site offline |
| `site_restore` | Goes back to an earlier live version |
| `site_history_read` / `site_history_restore` | The site's change history back to where it started from the template, and going back in it |
| `site_update` | Turns updating from the CRM on or off, makes pages [private](https://docs.superintern.ai/websites/private-pages.md) (a password or signed-in customers), and switches **customer accounts** on or off (with passwords, Google or Microsoft) |
| `site_remove` | Removes a website (you confirm by its address) |
| `site_analytics_read`, `site_journeys_read`, `site_traffic_read`, `site_search_read`, `site_company_list` | Visits, goals, journeys, Google Analytics, Search Console, and companies that visited |

The same connection includes your [CRM tools](https://docs.superintern.ai/integrations/claude.md#crm-tools), so Claude can add the products or events your website shows.

## Customer accounts

Ask Claude to let your customers sign in, with a password if you like, and it switches **customer accounts** on for you (with `site_update`, or with a website key `sites accounts <your website> --sign-in on --passwords on`). The website's **Sign in** and **My account** pages then appear by themselves. You can see and change the same switches in your website's **Settings** tab. See [Customer accounts](https://docs.superintern.ai/websites/customer-accounts.md).

## What stays with you

Some steps are always yours, and Claude tells you where to find them:

* connecting **Stripe** (Business → Payments);
* making CRM tables, columns and items **public**;
* connecting a **domain**, Google Search Console and Analytics;
* adding **tracking tags**.

## Working on it yourself

Everything Claude does, you can do too. Install the `sites` command with `npm install -g @superintern/sites`, sign in with a website key using `sites login`, and use `sites clone`, `sites status --wait`, `sites accounts` and `sites publish`. The rules every site follows are in the [Builder Reference](https://docs.superintern.ai/websites/builder-reference.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.