---
title: "Connect your own AI assistant"
description: "On Studio, connect an AI assistant such as Claude to your litetile site. It can read, draft and check pages; you publish."
url: "https://www.litetile.io/docs/ai/connect-your-own-assistant"
lang: "en"
---

At the end of this guide your AI assistant can read your site, draft pages and sections, add images and run the publish checks. It never publishes: you do.

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).

## What your assistant can and cannot do

What your assistant can and cannot do

- It can
- It cannot

- Read your site, pages, brand, header and footer Publish anything
- Create pages and add, change, move or remove blocks Change your brand, header and footer, languages or domains
- Make a translation copy of a page Delete pages or move them to the trash
- Search free stock photos, import images, add SVG drawings and set image descriptions Change a page's address or parent
- Show a preview and run the publish checks Change billing or settings
- Change custom code, only if you allow it on the token

Every change it makes waits as a draft until you publish. After an assistant edit, the editor shows "Edited by your AI assistant on" a date, with **Undo AI changes**, which puts the page back as it was before the assistant started. The undo is available until you publish the page.

## 1\. Create a token

1. In your site's dashboard, open **Settings**, then **Integrations**.
2. Under **AI access**, choose **New token**.
3. Give it a **Token name** you will recognise, such as "Claude on my laptop".
4. Leave **Allow custom code and embeds** off unless you want the assistant to edit 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 token is shown once: "Copy this token now. It is shown only once." Copy the **Server URL** and the **Request header** too.

Warning

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

## 2\. Add the connector to your assistant

### Claude (desktop or web)

Open Settings, then Connectors, and add a custom connector. Paste the server URL, and add the request header Authorization: Bearer followed by your token.

### Claude Code

Add an HTTP MCP server with the server URL and the same header (claude mcp add --transport http litetile \<server URL> --header "Authorization: Bearer \<token>").

### Other assistants

Any assistant that supports remote MCP servers over HTTP with a custom header works the same way: the server URL plus the Authorization header.

The server URL looks like:

```text
https://app.litetile.io/api/mcp
```

## 3\. Ask it to draft

Try something small first: "Read my site and suggest a better title and description for the Services page." Then something larger: "Add a page called Pricing with plan cards for my three packages: ..." The assistant shows you a preview link to check its work before you publish.

Each site allows up to 5 tokens and 60 assistant calls a minute.

## 4\. Review and publish

Open the page in the editor. Read it, change what you like, then publish as usual. If you do not like the assistant's changes, choose **Undo AI changes** on the banner.

![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)

## Revoke a token

In **Settings**, **Integrations**, **AI access**, choose **Revoke** next to the token. The assistant loses access at once. This cannot be undone; create a new token to connect again.
