AI Agents

API Keys and Permissions

Create a key for your AI agent, choose exactly what it may do, roll or delete it, and disconnect apps you connected by signing in.

An API key is one way an AI agent signs in to Contito.

Each key has its own name and its own list of permissions, called scopes.

Apps you connect by signing in, like Claude or ChatGPT, need no key. They're listed in the same place, under Connected apps.

API keys need a paid plan: Starter, Pro or Ultimate.

Open Connections

Click the Contito logo to open the app menu, and choose Connections.

The list at the top shows your keys, when each was created and when it was last used.

The Connections dialog with the API keys, Create Key, the MCP URL and a connected app numbered

#What it does
1A key. Click it to edit, roll or delete it.
2Create Key: makes a new key.
3The MCP URL, for apps that connect by signing in. The button copies it.
4A connected app. See Connected apps below.

Create a key

Click Create Key.

The Create API key dialog with Name, the scope chips and Create marked

#What it does
1Name: a label you'll recognize later, such as "Claude Code on my laptop".
2Scopes: click a chip to give the key that permission. ALL selects every scope.
3Create: makes the key and shows it.

What each scope allows

ScopeLets the agent
project:readList your sites and read their settings, list the built-in themes
project:writeCreate sites and change their settings (name, navigation, logo, theme style)
content:readRead contents, collections, tags and images
content:writePublish, change and delete contents, collections and tags, upload images, run a sync
theme:readRead the theme guide, export a theme's source, look up fonts and icons
theme:writeBuild and preview your custom theme, save versions, and switch the theme your site uses

Pick the scopes for the job:

ToSelect
Write contentproject:read, content:read, content:write
Design a themethe three above, plus theme:read and theme:write
Do anything you can doALL

A key never does more than its owner can. A key made by a member who can't delete a site can't delete one either, whatever its scopes say.

Copy the key

The key appears once, right after you create it.

Copy it now — for security it won't be shown again.

The new key, hidden here, with the Choose what to copy menu open

#What it does
1Choose what to copy: picks what the box below shows.
2The key, or the setup command with the key already in it. Click Copy below it.

The menu offers:

OptionWhat you get
API keyThe key on its own
Claude CodeA command that adds Contito to Claude Code
mcp.jsonA config file for Cursor and other agents that use one
CodexA command that adds Contito to Codex
Gemini CLIA command that adds Contito to Gemini CLI
VS CodeA command that adds Contito to VS Code

Paste the command into your terminal, or follow Connect Your Agent .

Lost the key before you copied it? Contito can't show it again.

Roll the key to get a new one.

Change, roll or delete a key

Click a key in the list to open it.

The Edit API key dialog with Delete key, Roll and Save numbered

#What it does
1Delete key: revokes the key for good. Anything using it stops working immediately.
2Roll: gives you a new secret to copy once, and the old one stops working immediately. Roll a key that has leaked.
3Save: keeps your changes to the name and scopes. The agent doesn't need to reconnect.

Both Roll and Delete key ask you to confirm first.

After a roll, set the new key up in your agent again.

Connected apps

Apps you connected by signing in are listed under Connected apps.

Connect Your Agent shows how to connect one.

Under each app's name:

DetailMeans
On this computerA program on your own computer, such as Claude Code, rather than a chat website
Sites, Sites and content or Sites, content and themesWhat you allowed it to do
Connected and Last usedWhen you allowed it, and when it last worked on your sites
Approved fromThe region and country where you clicked Allow

To change what an app may do, disconnect it and connect it again.

Disconnect an app

Click Disconnect next to the app, then Disconnect again to confirm.

It loses access at once, including anything it's in the middle of.

To use it again, connect it from the app and click Allow in Contito.

A connection ends on its own 180 days after you allowed it.