Skip to main content
On this page

Kater CLI Set up init

kater init ai-key

Opens AI settings in the portal with Add key open, where you add your organisation's API key, and waits until the organisation has a key.

The key runs in-app chat, Slack questions and scheduled workflows, so the Ask panel of the portal then answers questions with an Anthropic key. This is the Add an AI key step of kater init. The step is optional.

Examples

Terminal window
# Open Add key on AI settings and wait for the key
kater init ai-key

Options

It also takes the global options anywhere on the line, and --help.

Where you add the key

  • You add the key on AI settings, the page where you manage every key of the organisation later: replace it, remove it, or select the features that use it. Anthropic checks the key before it is stored, and the page shows the stored key in its list.
  • The key goes from your browser to Kater. An agent that runs the command never sees it, and the key never goes into a command.
  • The command waits 10 minutes at most for the step to be done, then answers with the name of the organisation’s first key and the features that use it. Any key completes the step, an OpenAI key too. When the organisation already has a key, the command opens nothing and answers with that key at once.
  • When no browser opens, as on a machine you reach over SSH, the command gives the page’s address. Open it on any computer and add the key there.

When the step is done

The step is done while the organisation has a key, however you added it: on AI settings, from Get started, or with this command or kater init, which both open AI settings. When you remove the organisation’s last key, the step is pending again. To leave the step out, run kater init skip ai_key. It needs the settings:manage permission.

See also