API keys and credentials
An AI agent or script needs an API key to work on your site. Each key acts as its own user, so give each agent or person its own key.
- Click API, then Manage.
- Under Create new API key, type a name of up to 16 characters, such as
website-agent, and click Create. The name becomes theuserin the credentials.
The CMS shows the new key once:
- Click the download icon (the arrow) beside JSON. Your browser saves the file as
credentials.json. This is the file an AI agent needs; see Set up an AI agent. - Click Close.
The key is never shown again. If you close the dialog without saving it, regenerate the key (below) to get a new one. The copy icons copy the whole JSON, or one part of it, for pasting elsewhere.
Your keys are listed under API › Manage, with their status. Hover over a key's name for its buttons:
- Edit (pencil): rename the key.
- Disable (pause) and Enable (play): turn a key off and back on without losing it. A disabled key cannot make any requests.
- Regenerate key: make a new key for the same name, and show it once. The old key stops working immediately. Use this if a key is lost or may have leaked.
- Delete: remove the key for good.
API › Use is for copying content from another site on the CMS into this one: paste that site's credentials JSON, choose what to import, and preview it before it is brought in.