---
title: "Connect Claude as your assistant"
description: "On Studio, connect Claude to your litetile site, ask it to draft a page, check its preview, publish the page yourself and undo the changes you do not want."
url: "https://www.litetile.io/docs/tutorials/connect-claude"
lang: "en"
---

At the end of this tutorial Claude has drafted a new page for Rue Verte Cycles, you have checked and corrected it, and you have published it yourself.

Note

Studio. Connecting your own assistant is on the Studio plan. See [Plans and billing](https://www.litetile.io/docs/account-and-billing/plans-and-billing).

You need a Claude account that can add custom connectors. The reference for everything below is [Connect your own AI assistant](https://www.litetile.io/docs/ai/connect-your-own-assistant).

## 1\. Create a token

1. In your site's dashboard, open **Settings**, then the **Integrations** tab.
2. Under **AI access**, choose **New token**.
3. Type the **Token name** "Claude on my laptop".
4. Leave **Allow custom code and embeds** off. This page needs no custom code.
5. Create the token.

![Settings: new token dialog.](https://media.litetile.app/media/6eee3550-99b4-4494-8fc5-d588d1e67e1e/a037fa4e-4cda-4539-a503-ef3716dfe23b.png)

The screen says "Copy this token now. It is shown only once." Keep it open for the next step: you need the **Token**, the **Server URL** and the **Request header**, each with its own copy button.

Warning

Treat the token like a password. Anyone who has it can edit your site's drafts.

## 2\. Add the connector in Claude

1. In Claude, open **Settings**, then **Connectors**.
2. Add a custom connector.
3. Paste the **Server URL**, https://app.litetile.io/api/mcp.
4. Add the request header: Authorization: Bearer followed by your token. The **Copy the request header** button copies it whole.
5. Save the connector and turn it on in a new conversation.

To use Claude Code instead, see the **Claude Code** tab of [Connect your own AI assistant](https://www.litetile.io/docs/ai/connect-your-own-assistant).

## 3\. Ask Claude to look first

Start with a request that changes nothing, so you can see that the connection works:

```text
Read my litetile site and tell me which pages it has and what my brand colours are.
```

Claude lists the pages and the brand. It can read; it cannot change the brand, the header and footer, languages, domains, billing or settings.

## 4\. Ask for a draft

```text
Draft a new page called Winter servicing. Start with a hero, then explain what the
winter service includes, the price of 45 EUR, and three common questions. Use photos
of bicycle workshops from the free stock library, with image descriptions.
```

Claude creates the page, adds blocks (the sections of a page) from your site's own catalog, imports photos and writes their descriptions. When it finishes, it shows you a preview and can run the publish checks, so it can tell you what would block a publish.

Every change is a draft. Nothing reaches your live site.

## 5\. Review the page in the editor

1. In the dashboard, open **Pages**. "Winter servicing" is listed with the status **Not live**.
2. Choose it to open the editor. A banner reads "Edited by your AI assistant on" and the date, with **Undo AI changes**.
3. Read every block. Correct prices, opening hours and anything else Claude could not know.
4. Change what you like, as on any page. Your edits save as you go.

![The editor on a page with the AI assistant banner area.](https://media.litetile.app/media/6eee3550-99b4-4494-8fc5-d588d1e67e1e/bc7d3c2f-3cc5-4a07-a2aa-767cca61bffa.png)

Tip

You can keep working with Claude while the editor is open: "Make the hero title shorter" or "Move the questions above the prices". Reload the editor to see its latest changes.

## 6\. Publish it yourself

1. In the editor, choose **Publish**.
2. In the **Publish this page** dialog, fix anything listed under "Fix these before publishing this page."
3. Choose **Publish**.

![Publishing: page dialog.](https://media.litetile.app/media/6eee3550-99b4-4494-8fc5-d588d1e67e1e/33cd1ea2-d126-48b8-8603-7c9c49f7567a.png)

To add the page to the header menu, open **Header & footer**, add a menu item that links to it, choose **Save**, then publish **Header & footer** from the **Overview**. See [Header and footer](https://www.litetile.io/docs/header-and-footer).

## Undo what you do not want

Before you publish, **Undo AI changes** on the banner puts the page's content back as it was before the assistant's first edit. The dialog lists what it keeps: "Title and SEO changes, new pages and translations, imported files, alt text and custom code stay as they are." It also discards edits anyone made to the page after the assistant's first edit.

Undo does not remove a page the assistant created. To get rid of one, open its actions menu on the **Pages** screen and choose **Move to trash**.

## When you are done

Each site allows up to 5 tokens and 60 assistant calls a minute. To disconnect Claude, open **Settings**, **Integrations**, **AI access** and choose **Revoke** next to the token. Claude loses access at once.
