How to give an AI access to just one site
An AI in a project often needs one task, not the whole project: update prices on one site, export form submissions to a CRM, publish a build from CI. In Tuqo an API key and a Claude or ChatGPT connection can get exactly that — sections (what it can do) and sites (where).
What you can limit
- Sections: create sites, delete sites and change addresses, code and publishing, content, form submissions, visitors of gated sites, domains and addresses, analytics. Levels are “none”, “read” and an edit level: “publish” for code, “edit and publish” for content, “process” for submissions, “manage” for visitors and domains. Analytics is read only; create and delete are “yes” or “no”.
- Sites: all project sites (including future ones) or only selected ones. A key limited to selected sites sees only them in lists, and a site it creates joins its list.
Presets save you from setting sections by hand:
| Preset | For |
|---|---|
| Full access | everything, including deletion, on all sites — essentially an administrator |
| Developer | create sites, publish code and content, domains, analytics, gated access (password, address lists, site members) — no submissions, no deletion |
| Content manager | only texts, prices and lists on the site — edit and publish |
| Submissions (CRM) | only reading form submissions — for amoCRM, Bitrix24, a spreadsheet or your own AI |
| Read-only without people’s data | statistics and monitoring: everything except submissions and visitors |
Any preset can be adjusted by section, and then it becomes a custom setup.
A key for one site
- Panel → project → AI & API → API keys → Create key.
- Under “What the key can do” pick a preset, for example Content manager.
- Under “On which sites” choose Only selected and tick the site.
- Optionally set an expiry and create the key. It is shown once: give it to the AI or
put it in a secret (
Authorization: Bearer tqk_…).
Change the permissions later with the key’s Permissions button: the token stays the same, and the new permissions apply from the next request.
Connecting Claude or ChatGPT over OAuth
No key to paste: add the https://mcp.tuqo.ru/mcp connector and sign in to Tuqo — the
connection screen has the same permissions form. The connection appears under AI & API →
Apps, where its permissions change and it is revoked.
A project member (not the owner) can connect their own AI too: for example, a content manager with the Content permission on one site gets a Claude that edits only that site. Such a connection is never wider than the member’s own rights and narrows along with them; settings, code and domains stay with the owner and admins.
What the AI sees
whoamireturns the key’s permissions in theaccessfield: preset, sections and sites.- When something is missing, the
403response names the missing permission (“this key lacks the Form submissions: read permission”) or the site outside the list. A well-behaved agent does not look for a workaround; it tells you what to add. - Publishing content into a version that waits for a decision is also a decision about the new layout, so it needs the Code and publishing permission.
Ready-made recipes
- A studio client edits their site — Content manager on that site.
- Exporting submissions to a CRM — Submissions (CRM) on the sites you need; the key reads submissions and form settings, sees no code and changes nothing on the sites.
- Deploying from CI — a custom setup with Code and publishing: publish on one site (CI guide).
- Monitoring and reports — Read-only without people’s data.
No key and no connection can issue keys, change project members, payment or plan, or delete or transfer the project — only a person in the panel does that.
The permission each path needs is listed in the API reference.