- 1Open Settings → API & MCP.
- 2Create a key and give it a name (“Claude Desktop”).
- 3Choose the access: Read only or Read and write, and an expiry.
- 4Copy the key (it starts with
chm_): it will never be shown again.
The Connect an assistant section explains how to set up Claude Desktop, Claude Code or the REST API.
Treat the key like a password. You can revoke it at any time.