Copy for your agent
If no key exists, follow Agent signup first.
Merge this into ~/.config/opencode/opencode.json:
OpenCode adds the first prism/ as its local provider ID and sends the bare
model ID to Prism.
Connect
Start OpenCode and run /connect. Select Other, enter prism as the
provider ID, then enter your Prism API key. OpenCode stores the credential in
its native auth store.
Do not inspect the auth store or run opencode debug config, which can print
resolved secrets.
Verify
Last modified on September 16, 2026